Commit Graph

131 Commits

Author SHA1 Message Date
kmo
2168fc0511 Corrected the mixed tangent matrix according to KMM + some updated material routines
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1088 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:34 +02:00
akva
64cf88a241 added: method to return the number of registered resultpoints
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1083 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
04b8c47749 added: flag to dumpresult to ditch formatted output
useful when we want to dump results to a file, e.g. for graphing the
data

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1082 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
8216f43a74 added: changes needed to compile on an intel-based (MKL) system
needed for kongull

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1081 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
405df8580f changed: use hdf5 convenience macro.
this way the code works fine with both 1.6.x and 1.8.x

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1080 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
e9b8208bdb added: spalart-allmaras turbulence model integrand and test application
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1076 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
kmo
0de9f510bf Kernel change: Added base class IntegrandBase with some generic functionality, Integrand is now just an abstract interface
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1074 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:56 +02:00
kmo
d652c21dad Avoid compile error when HAS_VTFAPI is undefined
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1073 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
f66b9486ea fixed: some issues with hdf5 + mpi
- use proper field name for dummy records
- don't try to open an empty filespace (newer hdf5 libraries considers
  this something to warn about)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1072 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
rho
07864919b8 Added options for hypre preconditioners
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1071 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
rho
5bb6bfec3b Corrected interpolation for rational splines (NURBS)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1070 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
rho
45bad7f88b Implementation of local coordinates for Lagrange elements
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1069 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
rho
fa2b1c15d8 Corrected bug in dot-product
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1068 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
5bd45cd116 fixed: store displacements as displacements
now that displacements and vectors are actually distinguished in .vtfx
files, this makes a difference

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1065 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
de87198108 added: -starttime and -endtime parameters to HDF5toVTx
allows specifying which timesteps to dump in terms of time positions

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1064 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
10cf1e7341 added: -start and -end params to HDF5toVTx
allows setting start and end time levels (to only convert parts of a
file)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1063 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
3241f08a43 added: -last option to HDF5toVTx. dumps only the last time step
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1062 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
92ac07a386 added: VTU output
renamed HDF5toVTF to reflect that it can now output vtu files as well

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1061 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
b5dc82285f added: store time step info in the XML
this allows for setting time in the HDF5toVTF converter.
note this currently only supports a fixed step size, variable
steps will have to be stored in the HDF5 file when we need it

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1060 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
5db0af6a64 added: dump all data to a common VTF
all fields are now evaluated on the same FE model. by default
we tesselate using the first encountered basis, this can be overridden
using the -basis app parameter

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1057 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
4da953d41b added: flag to HDF5 writer to avoid opening/closing the file between operations.
while closing/opening is necessary to ensure a non-corrupt file between
time levels, this is very harmful for the performance in the HDF5toVTF
converter

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1056 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
bb6dfd07bf added: -ndump option to HDF5toVTF
use this to convert only every n'th time level from the HDF5

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1055 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
rho
aae2a49143 Field definition for Lagrange finite element fields
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1051 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
rho
d451094a42 Changed SplineField(s) to Field(s)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1049 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:54 +02:00
akva
33ab57e523 fixed: respect the binary/ascii vtf flag in vtfx
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1044 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
ac42dba257 fixed: with VTFx a state is required
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1043 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
99d165807a changed: use .vtfx as extension if we are using VTF v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1042 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
7c1400c852 added: use the given extension for multi-vtf(x) output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1041 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
3e8d8cec1d added: element norm functions in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1040 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
be79a13d26 added: getTraction in the Poisson integrand
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1039 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:33 +02:00
akva
2542d495dc added: support VTFx aka VTF API v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1035 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
kmo
4c568c21f5 Added Getting Started presentation
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1034 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
63d14d2ace fixed: HDF5Writer::readSIM now works with mixed SIMs as well
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1032 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
774001219d changed: reimplement HDF to VTF without using SIM classes
now processes patch by patch and uses the internally stored bases.
more sane and less error prone

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1028 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
38c55a63bf added: readVector to hdf5 writer class
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1027 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
akva
3e9662bfae added: flag the primary solution vector with type="restart"
this allows ignoring it during the conversion to VTF. i used type
"restart" since this vector will only be of interest when doing
restarted runs

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1026 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
992208fc38 changed: factor the reading of patches into a function
will be useful when reading from the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1025 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
48cf338752 added: readstring function to the HDF5 reader
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1024 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
2205096b27 changed: rename the 'patchfile' attribute to 'basis'
more describing since we do not refer to external files any longer

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1023 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
63ebd5f00a added: store spline bases inside the HDF5 files
this means less files and more contained datasets while at the same time
allowing for using internal refine/order raising without problems

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1022 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
04b04a20f3 added: allow sim classes to name themself
this will be useful when dumping several SIMs into one HDF5 file.
we then need to be able to distinguish the bases for the different
fields

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1021 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
feb5548931 added: ability to specify which patch to dump the basis for
will be useful when storing the geometry within the HDF5 file

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1018 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
7c115ebb26 changed: reorganize PETScMatrix::assemPetsc(para) into one function
avoids a warnings about unused function when compiling with MPI

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1017 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
kmo
ca4b4899b5 Header file inclusion cleanup. Please avoid including 3rd party headers in our header files to avoid uneccesary dependencies. Rely on class forwarding instead.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1014 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:31 +02:00
akva
1e4050c8be Added svn keyword substitution (Id)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1011 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
6b0fce7288 Some core adjustments to support HDF5 export for mixed problems. Modified HDFtoVTF accordingly..
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1010 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
6c944f66b1 changed: put assemPETScPara under #ifdef PARALLEL_PETSC
quells warning that was emitted when compiling without parallel petsc
support

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1009 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
kmo
dcd55dc7de Added HDF5 to VTF conversion utility + assosiacted fixes in HDF5 output. This now works for linear/stationary problems and nonlinear/time-dependent problems. But not yet for fully-coupled mixed methods.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1007 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
8459da8f23 updated: HOWTO file with new options
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1003 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00
rho
a974e8813b Changed Vec3 to Vec3& in arguments
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@993 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:52 +02:00