Commit Graph

507 Commits

Author SHA1 Message Date
kjetijo
61c68b7adb Added: more control for adaptive LR-spline refinement scheme (LR-splines r202)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1724 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kjetijo
172bc10bc9 Bug 349: precision set properly when dumping system matrix
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1723 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
6e4cc5f951 Changed: Invoke initElement instead of initElementBou from ForceBase::initElementBou
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1717 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
78cfe275f9 Changed: The primary solution is needed only when doing recovery
(or linearized buckling analysis) for linear/stationary problems.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1715 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
4af5ece7aa Regression test update: Removed total reaction force print when zero
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1714 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
d6501b1b2b Added: Ignore any homogeneous Neumann specifications.
Removed: The comp attribute is not needed on the <neumann> tag.
Neumann conditions always affect all components of the solution field.
Instead, use "direction" to indicate the direction of the traction.
Changed: Skip boundary integration when hasBoundaryTerms returns false.
Note that the number of integration points must be counted even when
redimBuffers is false - they might be used later.
Also fixed a cosmetic copy-paste error in SIMoptions::parseOutputTag.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1710 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
3d1af765fa Added: New base class ForceBase for integration of boundary forces.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1709 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:36 +02:00
kmo
bea68df465 Changed: Refactored the field dependency stuff into new class SIMdependency.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1707 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
dde954258a Bugzilla issue #349: Added XML-tags for dump of LHS matrices and RHS vectors
to specified file at specified steps. Implemented for DenseMatrix and
SparseMatrix (no PETScMatrix yet).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1706 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
rho
54fe36edb1 Changes to make mixed formulation work
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1703 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
akva
e29fb1b13f changed: some refactoring of the buildsystem
the flags are available as

IFEM_BUILD_CXX_FLAGS (for building the library)
IFEM_CXX_FLAGS for applications (only hold those used in IFEM headers)

this means that applications can only do FIND_PACKAGE(IFEM REQUIRED)
and everything will be available, no mocking around with dependency
libraries required

!NOTE! this changes the names of some of the cmake options !NOTE!
see cmake/Modules/IFEMOptions.cmake for the new names and default values

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1701 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
akva
8cbc65a416 changed: use system TinyXML when available
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1700 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
1a3d2964da Changed: Do not enforce Greville point projection when using LR-splines.
Now it has to be explicitly specified on the input file, if desired, for
LR-splines and also for tensorial splines with C1-continuity. The latter
is just a side-effect - not really intended, but does not matter either.
This closes issue #347 (if the reporter is happy about it).

Moreover, the outcome of commit r1683 and r1684 is removed again.
It turned out to be resulting from merge of an off-dated branch.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1699 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
rho
e855c297ea Changed default overlap to 1 and the test for when to use asm
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1697 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
9beab21e83 Added: 3D test models for Dirichlet conditions in local axes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1696 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
523e62ca8f Added: Option to indicate the desired local tangent direction when using
local axes for Dirichlet conditions in 3D.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1695 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
38a222148b Fixed: Account for interior zero knot-spans when tesselating
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1694 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
3ddb60ccd7 Dirichlet conditions in local axes for 3D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1693 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
45479a4b16 Added: Tensor(const Vec3&) constructor and convenience method define3Dtransform
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1692 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kmo
2614b527e6 Changed: Made ASMbase::getNodeIndex virtual with an extra bool argument,
indicating whether the extra nodes should be considered or not.
This fixes the output of fixation codes to VTF when local axes are in play.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1691 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
kjetijo
8257b68a54 Added: Option of doing linear independce testing of LR meshes
Added: More eps figures when dumping LR eps results

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1690 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
bfa1b1c570 fixed: move LR regression tests to a separate directory
we need to disable these tests if we are compiled with LR spline support

fixes issue #346

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1688 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
98c19574fb changed: generate a regtest.sh with the proper top dir instead of using eclipses
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1687 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
6f83bd0ca4 fixed: adaptive simulations without VTF output when specified from the command line
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1686 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
fbcd72d49c fixed: reference, don't copy, arguments
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1685 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
kjetijo
9665f8e2ac Linear elasticity: possible to use LR projection techniques with linear elasticity
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1683 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
kjetijo
15e28a6663 Added: possible to override VTFAPI to use older version of the VTF library (i.e. not VTFx)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1682 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
kmo
7baf6d4376 Changed: Use extractPatchSolution also in SIMbase::solutionNorms,
and use iterators to loop over property vector in the assembly loops.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1681 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
kmo
393050655c Some changes/fixes in the recently added named-fields stuff
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1672 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
7c9f9d3995 Changed: Replaced virtual method getNodalBasis by getNodeType and
mark all added nodes due to Dirichlet conditions in local axes by 'X'.
This is needed in order to get correct norm evaluations from SAM.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1671 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
67c86e4980 Fixed: The norm methods in SAM were buguous when nodeType was used.
This also affected some regression tests which are updated accordingly.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1670 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
7224b5d36b Added: Print of Projective error in adaptive simulation (request from Mukesh)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1669 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
6b24b47dfd Fixed: If more than nsd DOFs per node, these DOFs are assigned
a unity transformation on Dirichlet conditions in local axes.
Also avoid duplicated MPCs for corner nodes through a static map.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1667 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
22447c072c Changed: Include of <cstdlib> instead of <cmath> because we are doing
abs() of an int (not a float or double).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1665 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
30e58413e9 Removed NonLinSIM::initSystem and made calculation of reaction forces optional
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1664 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:33 +02:00
kmo
6aaf81040a Fixed: Account for added nodes due to Dirichlet conditions in local axes
when extracting nodal coordinates, scalar solution components, and
grid velocity in FSI simulations

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1660 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:32 +02:00
rho
243fafb37d Added dumpResultCoords. Made extractPatchSolution virtual. FinalizeAssembly for all matrices and vectors
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1654 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:32 +02:00
rho
81bb6f871f Made solutionNorms virtual and model protected
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1653 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:32 +02:00
rho
4e17e23d7e Added functions getNoMatrices and getNoVectors
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1652 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:32 +02:00
akva
37ef61e100 changed: promote some methods to SIMbase status
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1650 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:32 +02:00
akva
c0e5141960 changed: use the new named field coupling methods in the CFD classes
avoids all the duplicated assembleSystemMX methods

mixed formulations have not been tested, as they are broken for other
reasons

i would love to get rid of solutionNormsMX and getforceMX as well but
is not currently doable as "somebody" has elasticity-only related norms
in the general code ;P

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1644 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
akva
3e2e297175 added: ability to register named fields
this can be used to declare dependencies between SIMs/equations

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1643 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
akva
4045a40542 changed: add kongull ARPACK path for convenience until the module is fixed
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1642 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
akva
1a237aec4f changed: use std::abs for cmath
abs() is a C function and due to a header reshuffle in ubuntu 12.04,
math.h is not included at this point.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1641 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
4c2f740bae Added: Option to exclude edge/vertex nodes from topology sets.
Changed: Process the Dirichlet conditions in order of increasing dimension.
Hopefully, this closes issue #281.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1640 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
8389635a8c Added: Projection of Dirichlet boundary conditions for 3D models
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1639 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
3c82ea6876 Fixed: Dirichlet boundary conditions in local axes for multi-patch models
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1638 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
acbfc359c1 Fixed: Global less-than operator for TopItem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1637 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
c115c9b9bf Added: virtual method ASMbase::getOrder
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1636 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
kmo
c52a10a30f Added: Argument pflag in SIMbase::setVecProperty
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1635 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00