Commit Graph

1435 Commits

Author SHA1 Message Date
kmo
88aa5ea0c2 Fixed: Avoid the second dummy iteration when linear mesh-mover.
Bug caused by the commit r3067.

Also removed preprocess call from SIMGridMover setup method
(never invoked as a stand-alone simulator).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3095 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
001f0ad76e Changed: Flag divergence when the incremental solution norm is NaN.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3094 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
67c5232665 Fixed: Set the fixHomogeneousDirichlet flag in SIMbase::createFEMmodel.
This is no longer a global setting as a simulation setup might contain
some sub-step solvers which are run in parallel and others serial.
Also corrected getProcessAdm() to ProcessAdm() in HDF5Writer construction.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3093 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
akva
466a9c6128 fixed: writing of redundant vectors and bases in parallel
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3092 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
c8ef4aae21 Added: Regression tests for forced FSI-simulations.
Temporary fix: Take out akvas attempt to parallelize
the matrix-vector product in class SparseMatrix.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3091 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
e8bffab1ca Added: Subtract the initial time from the actual time to avoid
sharp transient in the first step if not started from t=0

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3090 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
3a794d93d2 Fixed: Call witeGlvStep from SIMGridMover::saveStep too, in case of grid-only.
It will do nothing if already called from the fluid solver on shared VTF-file.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3085 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
8b027588a5 fixed: parallel builds with HDF5
forgot to declare a variable and parallel autotests do not use hdf5 :/

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3084 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
2ccc56b873 Changed: Scale eigenvectors to have unit max amplitude, and
scale the eigenvalues back to angular frequency.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3083 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
eac1977c32 fixed: check pointer before dereferencing
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3080 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
19d62535e2 added: ability to pass a variables argument to vector expression functions
use this for common variable setup for all components

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3078 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
476c795e83 added: support for writing bases only in data exporter
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3076 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
ca9e8ea711 added: support for writing integer vectors in the dataexporter
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3075 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
e51f72c926 Added: class EigenModeSIM computing a time-history as a linear combination
of eigenmodes

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3072 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
4e9b49b1c3 Fixed: Avoid divergence exit when there is no external load
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3068 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
13ce32469d fixed: include the actual header needed, not a proxy
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3064 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
93bacdc159 added: dataoutput to a separate HDF5 for each plane for Semi3D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3063 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
6cda7688fd added: support for flagging fields as redundant in data exporter
use this to avoid storing the structure solution multiple times in FSI
in a better way.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3062 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
dd04bda0cb Fixed some regression test failures due to the later commits
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3061 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
f684b92489 Added: More informative error message
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3059 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
0ad2b4c08d changed: explicitly add gtest header dir to ifem includes
temporary(?) workaround for cmake version differences

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3058 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
5d7a1cd5f7 Fixed: Improved the exception handling for the expression functions,
such that we actually can see what error it is. Also, do not throw
exception when the exp() underflows and the result should be zero.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3057 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
a824fdfa41 Changed the value reference into a pointer and added another constructor
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3054 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
kmo
e4d1cb02e8 Added: Debug print of RHS and solution using RPRIN0 to ease comparison with FENRIS.
Added: Check that internal arrays HVc and qlc in GETimoshenkoBeam are big enough.
Fixed: HHT-scaling of the Dynamic stiffness matrix and tangent damping matrix.
Fixed: Missing damping matrix contributions in GETimoshenkoBeam::DynElmMats.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3050 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
kmo
a177ce4489 Added: New Hilber-Hughes-Taylor dynamic solution driver.
The new driver should be equivalent to ALG 13 in FENRIS.
The old driver can still be used through the option -oldHHT.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3047 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
4980679647 fixed: converting 1D data to VTF/VTU
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3046 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
fb8d54a31e support exponents in expr parser constant numbers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3045 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
kmo
a7791425a1 Added: Another assembleSystem method adding a scalar value into a RHS vector,
and moved some duplicated code into the (protected) method assembleRHS.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3044 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
11e13c6ac8 fixed: don't print reading patch unless it is actually used
quells extremely annoying log spam. 5 solvers, 128 processes, each
printing this stuff is tons of text which drowns the real information.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3043 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
937b1fa372 added: multithread matrix-vector product in SparseMatrix
useful when solving eigen problems (mesh consistency tests).
actual speedup will depend on matrix (fill level etc). higher
order splines should get a larger boost

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3040 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
kmo
c3e5cff55a Using default bi/tri-unit domain where possible instead of g2-file.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3031 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
2889f7906e fixed: force calculation in FSI
i pushed the wrong branch. never push on friday afternoon :(

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3028 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
28105cc3bf inject correct material during force calculations
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3023 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
9988fe4c84 added: support for force integrands operating on volumes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3022 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
e9e7c45790 changed: refactor force integrator
use a common integrate function

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3021 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
2dcc6a9601 fixed: properly protect thread-unsafe code
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3017 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
5915868059 added: ability to store element-wise fields to VTF
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3016 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
dded18b2fb added: ability to register and store knotspan-wise fields to hdf5
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3015 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
akva
34ac77f3e5 fixed: element wise vectors are already split on a per-patch level
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3014 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:49 +01:00
kmo
80401b9ec2 Changed: Method init renamed to initSol in MultiStepSIM and child classes,
and added a bool argument in NewmarkSIM::finalizeRHSvector indicating whether
we are in the predictor or corrector step.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3009 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
akva
09f04178f9 fixed: ignore fields on bases with wrong dimensionality
fixes 1D (beam) structure fields from FSI, for now by
skipping them.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3006 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
akva
656e535b7b fixed: add implicit linked fortran libraries when to IFEM_LIBRARIES
these are not automatically added by cmake since the executable may
no hold fortran code. fixes builds without use of IFEM_AS_SUBMODULE

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3005 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
cdc6de3421 Added: Options -outPrec and -ztol for DynamicEl + output of acceleration at result points
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3003 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
2b5cd01965 Fixed: Wrong reference to GETBeam library when built as sub-module
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3002 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
d158d1e237 Changed: Suppress number of GMRES iterations unless LinSolParams::msgLev > 1.
Also removed asmlu member in LinSolParams (not needed).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3001 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
5fdd83daf2 Added: Input file tag <convnorm> to specify which convergence check to use.
Removed unneccesary checks on whether the solution array is empty.
Simplified the check for tiny models when switching to dense equation solver.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2999 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
c3ef610077 Changed: Cosmetics, added more braces
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2997 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
akva
fd16cf1ef0 Bugfix: Neumann boundary conditions for 2D LR splines used wrong (u,v) points
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2996 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
akva
f4da3ea870 fixed: converting hdf5 with starting time
if the hdf5 held fields stored only once, the program
crashed due trying to read them from the start
level instead of level 0.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2995 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
7f4e7d8ca6 Added: Detailed description of the Newmark algorithm as doxygen comments,
+ some other minor doxygen corrections here and there...

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2994 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00