Commit Graph

1737 Commits

Author SHA1 Message Date
Arne Morten Kvarving
0798ab4c8f added: weak scalar Laplacian to ResidualOps 2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
f6e08a4048 update indices for new block matrices 2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
586ca0a871 added: Advection to ResidualOps 2017-04-28 14:17:55 +02:00
Arne Morten Kvarving
906a89b0a7 added: support any number of scalar solutions in anasol
necessary for e.g. boussinesq where you have a velocity,
a pressure and a temperature field.
2017-04-25 13:04:18 +02:00
Knut Morten Okstad
762e35c5a4 Changed: The SIMgeneric::evalPoint method can optionally return
global node number as opposed to local patch-wise numbers, and
use SIMbase::getPatch in the SIMoutput::preprocessResPtGroup method.
2017-04-24 19:59:59 +02:00
Knut Morten Okstad
891798e639 Added: protected virtual method to renumber global node numbers in the model.
Applications that have private data depending on global node numbers
(e.g., nodal point load tables) need to overload this method.
2017-04-24 19:54:21 +02:00
Knut Morten Okstad
2f3f44ec63 Fixed: Must propagate the checkRHS flag through the SIMMultiPatchGen template too,
in case used for apps which had this option available (backward compatibility).
Also fixed a spell error in the doxy.
2017-04-22 16:54:14 +02:00
Arne Morten Kvarving
6e147607f0 fixed: mark constructor explicit to avoid unexpected implicit casts 2017-04-21 23:27:18 +02:00
Arne Morten Kvarving
c93bc6ac8d added: input option for enabling/disabling element norm output
needs to be utilized in the applications
2017-04-21 23:26:56 +02:00
Arne Morten Kvarving
45da47d91d add some missing doxy banners 2017-04-21 23:20:44 +02:00
Knut Morten Okstad
aed553a86a Updated README.md with info on restart support 2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
5fcd5fecae added: support restart tests
these are tests where the output from a restarted simulation
is tested against a stored reference.
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
3714bf7838 changed: remove unnecessary wrapper function
the opt member is public
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
e7413d0d26 changed: redo restarting support
store restart data separate from visualization data.
this has several advantages:
- no unusual striding in visualization files due to multistep methods
- we can store data which are not on a per-control-point basis
- simplify logic
2017-04-21 23:20:44 +02:00
Arne Morten Kvarving
0c582050c3 added: <restartstride> under <postprocessing>
use this to control the restart data output stride.
defaults to 0 (no restart data output).
2017-04-21 23:20:44 +02:00
Knut Morten Okstad
02ce95de8c Added: Error message when dynamics solver diverges 2017-03-31 07:19:23 +02:00
Arne Morten Kvarving
5bb5e5087d fixed: extract the entire patch vector for fields
if number of components differ, the fields classes now
takes care of extracting the required components from the
full patch vector.
2017-03-27 12:17:04 +02:00
Arne Morten Kvarving
2cdf34bfaa fixed: this is 3D so we have nGauss^3 integration points per element 2017-03-21 13:11:41 +01:00
Arne Morten Kvarving
e1f6f6d1af no need to copy C matrix
make evaluateBasis take const references to make this possible
2017-03-21 13:11:41 +01:00
Knut Morten Okstad
3e84d8a661 Added: An overloded writeGlvS method that writes a single scalar field.
Equvialent to writeGlvV, but output as fringe plot instead of vectors.
2017-03-20 13:13:14 +01:00
Knut Morten Okstad
6c689560bb Updated README.md on the dependent modules 2017-03-20 13:12:19 +01:00
timovanopstal
3298d3727b Merge pull request #121 from timovanopstal/matrix3d
functionality in utl:matrix3d
2017-03-16 07:43:55 +01:00
timovanopstal
08f4f1353f add: matrix3d read from/dump to stream plus test 2017-03-16 07:41:24 +01:00
Arne Morten Kvarving
bd14b9c0ee add getNoBasis to SIMSemi3D 2017-03-15 16:10:45 +01:00
timovanopstal
d19cb71f28 fix: array initialization for apple clang 2017-03-15 10:04:38 +01:00
Arne Morten Kvarving
2cc7c74163 fix heuneuler coefficients 2017-03-15 09:54:16 +01:00
Arne Morten Kvarving
aa2b126e4b fix bogacki-shampine coefficients 2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
9f07a512d9 add a simple adaptive time stepping loop to the SIMExplicitRKE template 2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
1827b028be changed: make the BDF extrapolation method a template
useful to be able to operate on either vectors or scalars
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
e3ff468b66 fixed: return correct order for theta method 2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
93d9b2274f fixed: the scalar laplacian residual operator
use nsd instead of cmp
2017-03-13 16:52:32 +01:00
Arne Morten Kvarving
7fd11f2184 added: support for vector spline fields with separate bases for each component
used for coupled simulation with div-compatible discretizations
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
ef1513d7c8 fixed: extract proper components from field vectors with more components in field classes
- a field can be now instanced for a given component of a vector field
- a field can now be instanced for a given basis of a vector field
- fields can now be instanced for a field vector holding extra
  components / bases.

used for directly registering dependency fields from solution vectors
in coupled simulations (RANS, Boussinesq, Chorin, ..)
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
6f5a4a5637 fixed: multithreading issues in spline classes
this is really suboptimal and severely hampers the
parallelism but there is no way around it. needs a fix
in GoTools
2017-03-13 15:16:10 +01:00
Arne Morten Kvarving
251e5f4051 add tests for SplineFields 2017-03-13 15:16:10 +01:00
Knut Morten Okstad
115721990a Added: Option to store also the diverged solution on VTF before exit.
Added: Debug output of scalar quantities in AlgEqSystem::assemble.
2017-03-13 09:17:23 +01:00
Arne Morten Kvarving
d736371552 add multithreading for LR models 2017-03-10 12:50:32 +01:00
Knut Morten Okstad
00a70cc9f5 Added: On request, support for <discretization type="Triangular"/>
as well as the command-line option -triangle
2017-03-08 12:43:52 +01:00
Knut Morten Okstad
03cdfba35c Changed: Simplified potentially confusing NormBase::getNoFields logic.
Changed: Resize LocalIntegral::vec to have no empty vector at the end.
2017-03-08 12:43:52 +01:00
Arne Morten Kvarving
604ec44671 changed: allow specifying number of components in vector field
useful when writing vector fields derived from a scalar equation
2017-03-08 11:32:33 +01:00
Arne Morten Kvarving
cdf964810f update jenkins build scripts to use new, public repos 2017-03-07 12:36:01 +01:00
Arne Morten Kvarving
2539eda344 added: generate [Edge|Face]xPatches and InnerPatches topology sets
these contain the patches touching the relevant boundary
and those not touching any boundary respectively.
2017-03-01 14:19:26 +01:00
Knut Morten Okstad
b8ea67093e Added: New patch class for 2D triangular elements (currently linears only) 2017-02-28 16:00:51 +01:00
Knut Morten Okstad
c143947808 Added: Support for linear triangles in VTF export 2017-02-28 14:47:40 +01:00
Knut Morten Okstad
63b1a510a4 Fixed: Account for multithreading when assembling scalar quantities 2017-02-27 11:17:56 +01:00
Knut Morten Okstad
091c5a522e Fixed: SIMbase::getWorstDofs should also use the iteNorm flag 2017-02-27 11:17:56 +01:00
Knut Morten Okstad
81edcadbe8 Added: Assembly of scalar quantities together with the equation system.
Added: Debug print of extracted element solution vectors.
Changed: Default value of argument witRF in SIMbase::initSystem to false.
Changed: Removed three spaces in the summary print for scalar solutions.
Fixed: Index error in the second getCurrentReactions method.
2017-02-27 11:17:56 +01:00
Eivind Fonn
2250ca5d45 Added: Force scalar parsing of neumann condition if direction > nsd 2017-02-17 11:20:32 +01:00
Knut Morten Okstad
e894688ecf Added: Print analytic solution at the result points, when available.
Added: Utility method SIMbase::getReactionForces.
Use this in the apps instead of myEqSys->getReactions().
2017-02-16 10:47:03 +01:00
Arne Morten Kvarving
5a43bd6617 add extra braces around initializer list
clang will toss a warning otherwise
2017-02-15 12:09:05 +01:00