Commit Graph

1435 Commits

Author SHA1 Message Date
akva
2953e15131 changed: get rid of unused staggered iteration support in solver loop
should be implemented using a coupling template instead (see
SIMCoupled/SIMCoupledSemiImplicit)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3181 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
f3c76f8b5f added: poroelasticity application
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3180 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
991757abb5 fixed: do not try to use multithreading for mixed problems
currently not working properly due to duplicate element numbers
ending up in the groups

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3179 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
92b079c5d9 support for dirichlet conditions on basis 2 for mixed methods
use basis="#" on the dirichlet condition. 1-based indexing

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3178 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
kmo
bbe80ee2c5 Fixed: Missing integration point weights in the reduced integration detJxW.
Added: Argument nGauss in the virtual method Integrand:getReducedIntegration.
Added: Default implementations of methods reducedInt, getReducedIntegration
and getIntegrandType in class NormBase and rely on these whenever possible
in the sub-classes.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3173 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
kmo
3b776e4644 Changed: Let the SIMbase destructor take care of myInts when it can.
Invoke initIntegration and setIntegrationPrm also for the secondary integrands.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3172 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
kmo
367ad0b9bb Fixed: Wrong direction index when retrieving the element edge length.
The same bug was fixed for ASMs2D already in r1427.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3170 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
kmo
037903d56f Removed the use of std::array which did not compile with gcc 4.6.3
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3168 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
5ff64661b5 add darcy application
credit yared bekele

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3167 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
0fb4957a5e added: support supplying initial conditions as a function
you can specify for each basis/component separately

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3166 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
9b304db823 added: ability to specify which basis an initial condition is for
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3165 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:54 +01:00
akva
02ac4c0bf5 added: ability to specify number of fields on read patch
needed for initial condition injection with mixed

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3164 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
07c5629bb0 added: ability to injectNodeVec for a given basis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3163 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
8e112bf109 added: ability to evaluate() using a given basis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3162 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
fe01c40792 added: ability to grab greville points for a given basis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3161 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
8d41d69ef3 print to new output streams instead of std::cout
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3160 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
d8a0073d8d added: attach a log stream to the process administrator
you should use this to print information relating to equation solves

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3157 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
91e51af5e3 added: attach a logstream to the IFEM class
use this to print general information.
use the <logging> tag under postprocessing to control these streams
- use the output_pid attribute to control which pid prints to screen
- use the output_prefix attribute to log output to files

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3156 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
f021fc5442 add stream logging class
this is a wrapped std::ostream-like object.
- it can supress output on all but one parallel PID.
- it can log to additional stream (log files)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3155 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
akva
9dc09e8926 fix parallel issues introduced after semi3D FSI refactoring
- fix deadlock in result printing since process 0 never showed up
- syncronize after each fsi loop

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3154 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
4a6dfab733 Fixed: Allow that the mesh-mover solver is empty, meaning the grid is fixed.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3152 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
f0e1fa8dcd Added: Gravitation load for the Timoshenko beam element
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3150 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
8220865ea7 Fixed: Account for NURBS basis functions in 1D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3149 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
fb4aeb10b1 Fixed: The value pointer might be NULL legally for sub-classes.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3147 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
df91061575 Added: Evaluate the velocity BC's directly from the grid velocity field
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3146 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:53 +01:00
kmo
77f9a42142 Added: virtual method MultiStepSIM::initPrm that is used to pass the time
integration parameters down to the integrand. It has to be done before the
SIMbase::setMode call, in case the HHTSIM algorithm is used.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3143 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
4ee9add4f6 Fixed (cosmetic): Ensure the inhomogeneous BC's are processed in the order of increasing node numbers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3142 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
akva
1a71bd9248 fixed: ignore multiple calls at the same time level for a data exporter
this currently happens in semi3D FSI simulations due to the saveStep
calls for both the fluid and the mesh solver

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3141 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
0e6e3b921b Fixed: Enable eigenvalue solution with the Timoshenko beam element.
Essentially, be careful to not access the velocity and acceleration vectors
when they are not present.
Fixed: Dimension error in acv3db.f, similar as for str3db.f in r3126

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3138 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
e9cf6ba6b5 Added: static method SIMoptions::ignoreOldOptions and use that one instead of
parseOldOptions to avoid the dummy SIMoptions object in all the main programs.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3135 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
akva
962bcd0422 fixed: also set the number of patches with Adm is parallel with 1 member
fixes MeshUtils unit tests with a parallel IFEM

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3133 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
eddbdaf938 Fixed: Resize coefs1 to 2 in BDF::setOrder. Updated affected regression tests.
Changed: Let BDFD2 inherit class BDF to reuse some code + some cosmetics.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3131 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
d901f7d82b Fixed: EigenModeSIM::advanceStep must push solution stack too
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3130 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
4c9f3bfc7a Added: The -checkRHS option now also works for 2D problems.
The v-direction is reversed if the Jacobian is negative.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3129 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
e94e5c7b38 Added: Overloaded operators *= and /= and two methods utl::vector::relax
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3127 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
05052ff607 Fixed: Timoshenko beam element now works with -lagrange option
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3123 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
akva
28be61df13 added: support for storing cell aspect ratios and cell skewness in mesh mover
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3121 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
akva
004c81fc50 fixed: do not set a duplicate PROFILE_LEVEL define with IFEM as a submodule
regression in r3105

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3120 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
67e653bffb Added: Print beam node velocity in semi3D FSI simulation.
Changed: static method cyclicPermute is merged into transfromToBeam.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3119 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
e7268f990c Fixed: Potential bug in createDefaultModel if invoked on already existing model
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3117 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
ff139ffecc Added: Option to overrule the eigenfrequency of the mode shapes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3116 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:52 +01:00
kmo
e9d2d08249 Fixed: Forgot to check for zero-length knot spans when computing local coordinate systems.
Added: Regression tests for quadratic Timoshenko beam.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3112 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
f74078788a Added: Give error message when file not found.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3109 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
4f4f48a8c3 Changed: Flag divergence when the incremental solution norm is NaN.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3108 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
7081956fd1 Added: method SIMoptions::print to print simulation options.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3106 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
eb691c1092 Added: Missing profiling that went out the bath tub during earlier refactoring..
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3105 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
f3218e9748 Cosmetic fix: Removed trailing blank in terminal output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3102 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
kmo
4075aa4697 Added: Support for FSI boundary conditions on entire patches
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3100 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
akva
3702fabf13 fixed: allow running regression tests in multiple dirs simultanously
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3097 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
akva
d1176a7f9d fixed: GoTools flags not applied to in-tree builds
fixes 'make check' in subdirectories

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