Commit Graph

79 Commits

Author SHA1 Message Date
akva
3e8d8cec1d added: element norm functions in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1040 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
be79a13d26 added: getTraction in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1039 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
2542d495dc added: support VTFx aka VTF API v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1035 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
63d14d2ace fixed: HDF5Writer::readSIM now works with mixed SIMs as well
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1032 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
38c55a63bf added: readVector to hdf5 writer class
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1027 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
3e9662bfae added: flag the primary solution vector with type="restart"
this allows ignoring it during the conversion to VTF. i used type
"restart" since this vector will only be of interest when doing
restarted runs

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1026 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
992208fc38 changed: factor the reading of patches into a function
will be useful when reading from the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1025 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
48cf338752 added: readstring function to the HDF5 reader
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1024 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
2205096b27 changed: rename the 'patchfile' attribute to 'basis'
more describing since we do not refer to external files any longer

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1023 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
63ebd5f00a added: store spline bases inside the HDF5 files
this means less files and more contained datasets while at the same time
allowing for using internal refine/order raising without problems

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1022 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
04b04a20f3 added: allow sim classes to name themself
this will be useful when dumping several SIMs into one HDF5 file.
we then need to be able to distinguish the bases for the different
fields

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1021 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
feb5548931 added: ability to specify which patch to dump the basis for
will be useful when storing the geometry within the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1018 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
7c115ebb26 changed: reorganize PETScMatrix::assemPetsc(para) into one function
avoids a warnings about unused function when compiling with MPI

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1017 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
kmo
ca4b4899b5 Header file inclusion cleanup. Please avoid including 3rd party headers in our header files to avoid uneccesary dependencies. Rely on class forwarding instead.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1014 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
1e4050c8be Added svn keyword substitution (Id)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1011 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
6b0fce7288 Some core adjustments to support HDF5 export for mixed problems. Modified HDFtoVTF accordingly..
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1010 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
6c944f66b1 changed: put assemPETScPara under #ifdef PARALLEL_PETSC
quells warning that was emitted when compiling without parallel petsc
support

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1009 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
dcd55dc7de Added HDF5 to VTF conversion utility + assosiacted fixes in HDF5 output. This now works for linear/stationary problems and nonlinear/time-dependent problems. But not yet for fully-coupled mixed methods.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1007 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
rho
a974e8813b Changed Vec3 to Vec3& in arguments
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@993 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
kmo
b169a7efec Added option for element-specific debug output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@989 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
rho
b5857a1ae9 Representation of scalar field over spline geometry
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@950 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
rho
3dfd440da2 Added function getVolume
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@949 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
rho
1f5a9a32ea Added function getSurface
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@948 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:50 +02:00
kmo
ba4429b1d4 Adding HDF5 support (credit Arne Morten) + some modifications related to VTF output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@932 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
f06ee1b252 bugfixes in SymmTensor/scalar multiplication operator and in evaluation of basis2-fields in mixed splines framework
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@928 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
dc14168e2f added: a class for general string utilities
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@926 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
9d7a0b1c0a fixed: SIMbase::project() with multiple outputs (secondary fields)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@924 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
5a532e2c61 Added axisymmetric linear elasticity integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@921 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
c00aba37a7 bugfix: Corrected call to SplineVolume::gridEvaluator and fe.w assignment
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@918 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
74c7d26258 Corrected the von Mises stress calculation in 2D and plane strain in particular; must include the sigma_zz component also
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@917 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
67a0212aa4 bugfix: Corrected third call to getGridParameters
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@916 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
02e8e53b27 Finite deformation test model updates
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@914 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
70c071c48e Some corrections in iteration norm evaluation for mixed methods. Added output of total reaction forces and norm (R,u)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@913 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
fcaff5a760 Added path-integration of strain energy for nonlinear material
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@912 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
59d9fdc990 Added output of projected secondary solution variables to VTF
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@906 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
8e4aeca49f Ongoing work on plasticity solver: Think it now works also for mixed with continuous pressure/volume-change, yet to be verified against FENRIS/FEAP though. Added doxygen files for the Finite Deformation simulator.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@905 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
eda13b7381 Extended the mixed methods framework such that neigboring patches are properly connected when using the TOPOLOGY command, and such that output of nodal variables gives correct results
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@904 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:48 +02:00
kmo
400e895709 Added output of nodal reaction forces, and also for Lagrange grids
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@902 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:47 +02:00
kmo
a5eaefef22 Added evaluation for solution at user-defined points
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@900 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:52:00 +02:00
kmo
133153e045 Added methods to evaluate solution (both primary and secondary) at user-specified points
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@899 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:52:00 +02:00
akva
6d6ae100c5 change LinAlgInit to a refcounted singleton.
we need control over the destruction order since several destructors
do MPI calls. The LinAlgInit destructor calls MPI_Finalize() through
PetscFinalize() and thus programs may crash on exit.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@883 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
eaafe088a0 Cosmetic fixes after icc complaints
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@882 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
1b4e69e5db Modified the ASM-Integrand interface by introducing the class FiniteElement (with subclass MxFiniteElement for mixed problems) incapsulating the various finite element quantities evaluated at the integration point. The number of evalInt interface are thereby also reduced, making the code (hopefully) more readable, etc.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@880 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
087c8bce35 Cosmetic change of cout messages. Activate CBLAS calls also when USE_MKL is defined
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@879 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
be161ffc21 Various framework modifications related to finite deformation plasitcity. Added project method in SIMbase and NonLinSIM.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@871 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
f6dde60cb9 Various fixes related to the finite deformation plasticity solver. It now works for a single element, at least.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@870 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
98c89cc9b2 Added setting of initial condition
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@869 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
cbc130117a Added methods projectSolution and injectNodeVec
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@868 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
36148701c2 Added three more time-dependent functions: RampFunc (replacing LinearTinitFunc), DiracFunc and StepFunc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@867 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
379cbe00c5 Added method Linfnorm for system matrices (returns the largest abs-max row sum of the matrix)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@865 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00