Commit Graph

2346 Commits

Author SHA1 Message Date
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
kmo
9a34254c7f Finite deformation plasticity solver added
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@864 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
324c863956 Separate the solid material representation form the integrand classes themselves, to better facilitate other material laws. Preparation to plasticity modeling.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@863 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
45850b859d Extra braces to avoid warning
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@862 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
c33e4b73fe Added argument newLHSmatrix for method finalizeAssembly, and argument pindex (optional) for method setProperty
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@861 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
rho
c945dc92a8 Made initForAssembly virtual
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@856 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
rho
adcd197a00 Fixed bug in assemble reactionforces
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@854 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
akva
b12e748f42 fixed: give dtol in LinSolParams a more sane default.
this is the criteria used by petsc to detect a divergent solution process,
i.e. the maximum relative increase in the residual before the process is
stopped. we now allow 3 orders of increase

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@852 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
6e3a676555 Modifications to get rid of warnings reveiled by -Wall
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@851 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
cf0c64a1c1 Moved linear elasticity simulator to Apps/LinearElasticity. Moved Doxyfile up from src-folder and renamed SplinedFEM.dox to IFEM.dox. Fixed some doxygen warnings from Utility and LinAlg.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@850 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
715a0cddb8 Avoid crash in PETScMatrix when user doesn't specify any linear solver parameters
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@849 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
2b8d092d3d Added copy constructors
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@848 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
akva
cb062d0f44 refactor: move PETSc assembly routine calls to SIMbase::finalizeAssembly().
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@845 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
akva
16eada7028 fixed: encapsulate LinSolParams
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@844 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
akva
0d96e7b80d added: option to set the error norm used for iteration error estimates
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@839 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
akva
d51768ca23 changed: move Stokes integrands to the Apps directory
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@836 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
akva
437619c6e7 fixed: use SIM::Formulation in all Stokes integrands/SIM/App classes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@835 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
rho
08296155cd Added inner-product
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@821 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:18 +02:00
rho
c15bbbd251 Added class for calculating boundary forces.
Changed stress and strain computations.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@817 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
kmo
5579c2571f Various cmake changes: SuperLU is not enabled by default and VTF-writer is always used, if present. Added option to enable SuperLU_MT instad of SuperLU, when both are present. Added target for linear elasticity App.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@816 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
kmo
7be12bd1c1 Removal of obsolete prototype code
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@815 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
a91f3b90c1 fixed: compile on afem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@814 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
189a1e34df changed: use a cmake based build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@804 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
9333737c50 refactor: move common problem parameters out of NonLinSIM to a class for reuse in other SIMclasses.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@802 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
akva
c2a225f2d1 fixed: mismatched delete / new[]
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@800 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
kmo
da2d5ad2ac Some modifications regarding analytical solution fields, we need to distingush between Tensor fields and Symmetric Tensor fields, mostly because the Function classes are template-based.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@798 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
akva
aedb74ee5e fixed: code would not compile using mkl due to variables named real,
which conflict with our define. workaround this by undef'ing the define
temporarily while including the mkl headers

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@794 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
akva
14de64c896 fixed: check pointer before dereferencing
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@788 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
akva
940d949764 changed: new class for analytic solutions (credit runar)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@786 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:42 +02:00
akva
c88a28533d Import of IFEM source files from the old CVS repository on afem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@769 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:41 +02:00