Commit Graph

2766 Commits

Author SHA1 Message Date
Knut Morten Okstad
ff60831796 Fixed: Using direction-dependent Gauss quadrature on face integrals 2021-06-21 14:17:50 +02:00
Knut Morten Okstad
9421df2838 Changed: mixedMADOFs renamed to extraMADOFs and is now mutable.
Fixed: Use a separate MADOF array in extractPatchSolution()
when extraordinary nodes and/or monolithic coupled simulators.
2021-06-18 14:17:10 +02:00
Arne Morten Kvarving
59d2608b3d SIMCoupledSI: max iterations as a function of timestep 2021-06-18 13:57:59 +02:00
Arne Morten Kvarving
68e317a7dd SIMCoupledSI: add support for relaxation with optional aitken acceleration 2021-06-18 13:57:59 +02:00
Knut Morten Okstad
ee17cff565 Fixed: Account for small round-offs in start time for adaptive loop.
Changed: Ignore pre-refinement tags when mesh already is refined.
2021-06-11 10:35:54 +02:00
Knut Morten Okstad
1561294100 Added: Serialize the minimum element size for restart 2021-06-11 10:35:54 +02:00
Knut Morten Okstad
e860948ae9 Fixed: Restart files do not necessarily start with time level 0 2021-06-11 10:35:54 +02:00
Knut Morten Okstad
574b2974a4 Changed: Store basis on restart file only after each mesh refinement 2021-06-11 10:35:54 +02:00
Knut Morten Okstad
428ff24a95 Changed: Made SIMsolver::[s|deS]erialize() methods virtual.
Added: Optional log message when serializing simulator state.

Fixed (temporarily): Subtract one from the restartStep argument
to HDF5Restart::readData(), to compensate for the change in the
previous commit. Consider undoing this later, and instead update
all restart regression tests specifying a restart time level.
2021-06-11 10:30:44 +02:00
Knut Morten Okstad
6f96812f0d Changed: Set time levels for restart files by incrementing a private
counter instead of calculating from time step number and stride.
The first time level will then be 0 (not 1) as for the visualization data.
Fixed: Always store geometry basis for the first time level saved.
Compare with last time step saved instead of mod'ing the time step counter
when deciding whether to save new data, in case not invoked every time step.
2021-06-11 10:30:44 +02:00
Knut Morten Okstad
d6e7caa46f Added: Serialization of reference norm for Newton iterations 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
78c5a5766e Added: SIMinput::[save|restore|restart]Basis and SIMbase::[set|get]Refined 2021-06-11 10:30:44 +02:00
Arne Morten Kvarving
6911ae08c7 Fixed: Use separate ProcessAdm object for restart output when parallel 2021-06-11 10:30:44 +02:00
Arne Morten Kvarving
845f469568 Fixed: Check for missing extension in restart file.
Added: Option to reading basis data instead of results on restart.
2021-06-11 10:30:44 +02:00
Knut Morten Okstad
8775b4ddd0 Added: getProcessAdm() in some simulator template classes 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
a577d895f4 Added: SIMbase::getExtEnerg() and SIMbase::theExtEnerg() for serialization 2021-06-11 10:30:44 +02:00
Arne Morten Kvarving
7f29f5a28b Fixed: Reset time step after deserialization 2021-06-11 10:30:44 +02:00
Knut Morten Okstad
a92cb3c51e Changed: Assume total rotations are in the solution vector if the
nodal rotation matrices have not been updated (linear analysis).
2021-06-10 14:38:58 +02:00
Knut Morten Okstad
27597c2d7e Fixed: Result points for spline-less unstructured Lagrange models 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
04d0ca77b8 Fixup for commit 7c2d6c4fad:
Also the loop range was incorrect.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
2c0f9c75ad Added: Support for explicit element set (TopItem::idim == 5) 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
fd08a9a141 Added: Explicit nodal constraints for 1D patches 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
5819a3366f Fixed: Also offset the global patch indices when merging sim-objects.
Changed: Process explicit nodal constraints with the vertex constraints.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
bc4dacb44d Added: Skip element if local integral pointer is NULL 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
810ea35205 Added: Superelement transformation 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
07d318ca8f Changed: Let the non-const getNodeSet method also return the set index.
Changed: Override getBoundaryNodes() to return an indexed node set.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
865b27a90d Fixup for commit 64164d22fa:
Only the first and last patch files need to be marked.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
a73c1b5a12 Added: Input of unstructured Lagrange mesh from xml-file 2021-06-10 13:48:45 +02:00
Knut Morten Okstad
cf3261fa12 Added: class ASMu1DLag for unstructured Lagrange 1D patches.
Changed: Moved the Matlab mesh input method to ASMutils.C file.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
e694fa091a Fixed: Avoid dereferencing curv pointer in initLocalElementAxes()
and generateTwistedFEModel(). Removed unused/obsolete refine method.
2021-06-10 13:48:45 +02:00
Knut Morten Okstad
99de45c279 Fixed: Expand solution vector for superelement patches on HDF5 2021-06-10 09:21:47 +02:00
Knut Morten Okstad
7f21078fe7 Added: Output of basis for ASMsupel as a lagrangian spider mesh 2021-06-10 09:21:47 +02:00
Knut Morten Okstad
6dc48a87d6 Changed: The projection method prefixes are now extracted directly
from the SIM object inside the HDF5Writer::writeSIM instead of
storing them in a class member - to ensure consistency.
Then we don't need the DataExporter::setNormPrefixes method.
2021-06-10 09:21:47 +02:00
Knut Morten Okstad
65d3e87754 Changed: Cleaned output of spline basis, node mapping, etc. 2021-06-10 09:21:47 +02:00
Arne Morten Kvarving
9a34722eb3 add option to use the h-mesh for projection with subgrid 2021-06-10 08:56:12 +02:00
Knut Morten Okstad
77ac8840bd Added: App-specific pre-refinement after reading the model input 2021-05-21 15:00:59 +02:00
Knut Morten Okstad
414de77184 Changed: Refinement based on mesh density function now on SIM-level 2021-05-21 15:00:59 +02:00
Knut Morten Okstad
77786ac474 Added: virtual method getElementCenter() in class ASMunstruct 2021-05-21 15:00:04 +02:00
Knut Morten Okstad
9fe3864a4d Added: virtual method evalPoint() in class ASMLRSpline 2021-05-21 14:50:49 +02:00
Knut Morten Okstad
06580f66c7 Changed: Set initial time level for restart runs from previous.
The methods getTimeLevel() and getWritersTimeLevel() are then
no longer needed and removed for the sake of clarity.
Also removed unused method realTimeLevel(), which is incorrect
if used in restart runs with changed data dump stride.
Added: Optional print message when dumping results.
2021-05-10 06:25:55 +02:00
Arne Morten Kvarving
e2fb65447a Simplification in DataExporter
- remove unused members
- use range-based for loops
- remove unnecessary if inside the writer loop
2021-05-08 10:32:48 +02:00
Knut Morten Okstad
ff9b50f033 Added: Alternative superelement file format 2021-04-27 14:34:58 +02:00
Knut Morten Okstad
491246b11c Fixed: Also set nel after refining the mesh.
Changed: LR::extendControlPoints returns -1 on error and 0 if empty.
2021-04-25 11:55:19 +02:00
Knut Morten Okstad
fd80d78c22 Fixed: Clear all (including shared) FE arrays after refinement 2021-04-24 20:23:26 +02:00
Arne Morten Kvarving
f4026d20d0 fixed: need to copy projBasis as well 2021-04-19 09:33:14 +02:00
Knut Morten Okstad
d7f6c8c637 Added: class ASMsupel representing a reduced-order superlement patch 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
cc7bb98879 Added: Coordinate check in the inter-sim point coupling 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
c6fa4730d6 Changed: Store the rigid master points in a map with coordinates 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
7c2d6c4fad Fixed: Wrong column index in getEndPoints() caused crash 2021-04-08 15:00:44 +02:00
Knut Morten Okstad
a88fd0ca40 Added: class SIMmultiCpl for monolithic coupled simulators 2021-04-08 15:00:44 +02:00