Henry Weller
1ab0875293
writeVTK: New functionObject to write fields is VTK format
...
Description
This functionObject writes objects registered to the database in VTK format
using the foamToVTK library.
Currently only the writing of the cell-values of volFields is supported but
support for other field types, patch fields, Lagrangian data etc. will be
added.
Example of function object specification:
\verbatim
writeVTK1
{
type writeVTK;
functionObjectLibs ("libIOFunctionObjects.so");
...
objectNames (obj1 obj2);
}
\endverbatim
\heading Function object usage
\table
Property | Description | Required | Default value
type | type name: writeVTK | yes |
objectNames | objects to write | yes |
\endtable
2016-05-10 10:06:19 +01:00
Henry Weller
9461c7828f
foamToVTK: Added Allwmake
2016-05-06 17:42:22 +01:00
Henry Weller
14abfa742b
primitives/direction: Changed from "char" to "int8_t" and added IO operators
...
to avoid problems when writing "nComponents"
2016-05-06 17:40:49 +01:00
Henry Weller
a50015a423
foamToVTK: Use UPtrList rather than PtrList
2016-05-06 14:11:38 +01:00
Henry Weller
566f2734b9
foamToVTK: Separated into the library libfoamToVTK and the utility foamToVTK
2016-05-04 15:16:33 +01:00
Henry Weller
f6c670dcac
functionObjects: Updated docs
2016-05-04 08:51:39 +01:00
Henry Weller
32762aa1f9
Change field loop index from "fieldI" to "fieldi"
2016-05-02 18:20:48 +01:00
Henry Weller
3c053c2fe6
GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
...
These new names are more consistent and logical because:
primitiveField():
primitiveFieldRef():
Provides low-level access to the Field<Type> (primitive field)
without dimension or mesh-consistency checking. This should only be
used in the low-level functions where dimensional consistency is
ensured by careful programming and computational efficiency is
paramount.
internalField():
internalFieldRef():
Provides access to the DimensionedField<Type, GeoMesh> of values on
the internal mesh-type for which the GeometricField is defined and
supports dimension and checking and mesh-consistency checking.
2016-04-30 21:40:09 +01:00
Henry Weller
5df2b96489
GeometricField::internalField() -> GeometricField::internalFieldRef()
...
Non-const access to the internal field now obtained from a specifically
named access function consistent with the new names for non-canst access
to the boundary field boundaryFieldRef() and dimensioned internal field
dimensionedInternalFieldRef().
See also commit 22f4ad32b1
2016-04-30 14:25:21 +01:00
Henry Weller
15b36331fe
Remove .internalField() clutter for const-access to the internal field
2016-04-28 12:37:31 +01:00
Henry Weller
450728ea84
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +01:00
Henry Weller
43beb06018
Standardized cell, patch and face loop index names
2016-04-25 10:28:32 +01:00
Henry Weller
2d5ff31649
boundaryField() -> boundaryFieldRef()
2016-04-24 22:07:37 +01:00
Henry Weller
a9b8bb13e0
applications/.*/Allwmake: Updated to support "stop on 1st error"
...
Patch contributed by Bruno Santos
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=2042
2016-04-04 09:03:40 +01:00
Henry Weller
730f89dc9d
Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required
2016-03-22 17:46:52 +00:00
Henry Weller
e57874859a
Updated Doxygen documentation and files
...
Contributed by Bruno Santos
Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023
Update online documentation http://openfoam.github.io/Documentation-dev/html/
2016-03-14 11:00:24 +00:00
Henry Weller
7ba41e0095
Removed duplicate, inconsistent and spurious comments in .C files
2016-02-29 18:33:54 +00:00
Henry Weller
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
Henry Weller
cd852be3da
OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
...
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file. However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.
Please report any problems on Mantis.
Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
Andrew Heather
c35bcc05f4
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2016-06-27 23:22:54 +01:00
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
Mark Olesen
704cfa1e0a
ENH: add timing/memory info to foamToEnsight, foamToEnsightParts, foamToVTK
...
- useful for performance comparisons
2016-06-26 15:39:43 +02:00
Mark Olesen
db467dbcf8
BUG: foamToVTK produces invalid files ( fixes #154 )
...
- broken by commit 2027059b
(2016-03-09) where the pTraits
nComponents type was changed from int to Foam::direction
2016-06-21 10:21:17 +02:00
Mark Olesen
1452cc0827
BUG: ensight writers not catching special reserved characters ( fixes #122 )
...
- most notably the '%' which is used as a separator in places
caused problems.
EHN: only use valid ensight file/variable names for writers
- fixed: foamToEnsightParts, ensightSurfaceWriter
- pending: foamToEnsight
BUG: no geometry written for foamToEnsightParts with moving mesh (fixes #142 )
- an incorrect path was causing the issue
2016-06-07 17:16:09 +01:00
mattijs
8a7880af2e
BUG: ensightBinaryStream: avoid overflow. Fixes #132
2016-06-01 14:44:30 +01:00
Andrew Heather
b9313ef2fe
ENH: Consistency updates after Foundation merge and code tidying
2016-04-25 16:46:56 +01:00
andy
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
Henry Weller
350d03246e
scripts: Reformat with consistent section separators
2016-02-15 18:30:24 +00:00
mattijs
9e3ce4ec7f
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
...
Conflicts:
applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
applications/utilities/postProcessing/velocityField/Co/Co.C
applications/utilities/postProcessing/velocityField/Pe/Pe.C
applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
applications/utilities/preProcessing/changeDictionary/changeDictionary.C
applications/utilities/preProcessing/setFields/setFields.C
applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
src/OpenFOAM/db/IOobject/IOobject.C
src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
src/OpenFOAM/db/IOobjects/IOField/IOField.C
src/OpenFOAM/db/IOobjects/IOList/IOList.C
src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
src/OpenFOAM/db/Time/findInstance.C
src/OpenFOAM/db/regIOobject/regIOobject.C
src/OpenFOAM/db/regIOobject/regIOobjectI.H
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
src/lagrangian/basic/Cloud/CloudIO.C
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
mattijs
e424059208
ENH: glboal file handling: initial commit
...
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
(e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
Henry Weller
9de3a4280e
foamToVTK: Default to ASCII format when WM_LABEL_SIZE=64
...
Based on patch provided by Alexey Matveichev
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1975
2016-01-19 16:28:23 +00:00
Henry Weller
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
Henry Weller
4eba393fe1
Update code to use the simpler C++11 template syntax
2016-01-10 19:20:16 +00:00
Andrew Heather
f0c3e8d599
STYLE: Updated version to 'plus'
2015-12-22 23:14:17 +00:00
Andrew Heather
0e01c44129
GIT: Resolved conflict
2015-12-09 16:19:28 +00:00
Andrew Heather
8837a89237
STYLE: Updated links from openfoam.org to openfoam.com
2015-12-09 15:03:05 +00:00
Andrew Heather
8f1d043364
GIT: Resolved conflict
2015-12-09 09:32:38 +00:00
Andrew Heather
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
Andrew Heather
73dac8c7ee
ENH: Updating utilities based on internal development line
2015-12-02 10:17:28 +00:00
mattijs
61dd625227
ENH: checkMesh: have -writeSets option
...
- checkMesh has option to write faceSets or (outside of) cellSets as
sampledSurface format. It automatically reconstructs the set on the master
and writes it to the postProcessing folder (as any sampledSurface). E.g.
mpirun -np 6 checkMesh -allTopology -allGeometry -writeSets vtk -parallel
- fixed order writing of symmTensor in Ensight writers
2015-11-23 15:24:33 +00:00
mattijs
916dcb8685
ENH: parallel: overhaul of parallel mapping
...
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
Henry Weller
e2ef006b91
applications: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry Weller
b7cfd08fcb
Update headers
2015-06-23 11:27:05 +01:00
Henry Weller
87f6977bcb
Removed support for the legacy SiCortex64 architecture
2015-06-23 11:26:45 +01:00
Henry
ebd85bc514
Update header
2015-04-25 15:13:15 +01:00
Henry
82c0cc5312
timeSelector: Rename option zeroTime -> withZero for consistency with the noZero option
2015-04-25 15:12:08 +01:00
Henry
9cd9a9f364
ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
Henry
8628ef2fea
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
Henry
c778346c96
Formatting: Rationalized the indentation of #include
2015-02-10 20:35:50 +00:00
Henry
844b283030
New version of wmake supporting out-of-tree object and dependency files
2014-12-14 21:42:18 +00:00
OpenFOAM-admin
9fb26d59d3
GIT: Repo update
2014-12-11 08:35:10 +00:00
sergio
feaa3021b6
STYLE: Updated copyright year
2014-02-21 11:17:31 +00:00
mattijs
59cef386cd
BUG: foamToEnsight: handle empty patches
2014-02-20 13:39:56 +00:00
OpenFOAM-admin
fbb3ddf2c4
Updated for release 2.3.0
2014-02-17 10:21:46 +00:00
Henry
d648760ead
Update headers
2014-01-30 13:02:02 +00:00
Henry
ee4e19ef85
Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM
2014-01-30 13:01:04 +00:00
mattijs
c8add907aa
ENH: foamToVTK: leave VTK directory intact with faceSet, pointSet
2013-11-27 15:23:26 +00:00
mattijs
8712b8276e
BUG: foamToEnsight: reset facePrimitives
2013-10-18 16:19:33 +01:00
mattijs
198d0ebc6f
ENH: foamToEnsight: cellZone support
2013-09-11 09:31:20 +01:00
mattijs
90a8332ffb
ENH: foamToEnsight: add cellZone support
2013-09-05 16:25:03 +01:00
mattijs
401b2624f9
COMP: foamToEnsight: missing include dir
2013-08-13 15:30:58 +01:00
mattijs
472fbded89
BUG: ensight: symmTensor writing
2013-08-13 10:19:10 +01:00
mattijs
88ceb57654
BUG: foamToEnsight: 4 digit files
2013-05-20 09:29:51 +01:00
andy
92dcc69fa8
ENH: Code clean-up
2013-05-03 17:57:43 +01:00
mattijs
d40c785591
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
2013-04-08 16:30:18 +01:00
mattijs
ccb38822ea
BUG: foamToEnsight: using 3 digit extension
2013-04-08 16:29:45 +01:00
andy
34ac08a931
ENH: Code updates following changed to IOobjectList
2013-04-08 15:33:02 +01:00
andy
e637dc30d1
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
2013-02-21 16:11:47 +00:00
Henry
74e16d7729
Reformat "template <..." to template<"
...
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:50 +00:00
Henry
944b8d438b
Reformat "template <..." to template<"
...
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:09 +00:00
andy
951c8436aa
ENH: Applying Gijs' patch: Update header documentation for utilities
2013-02-21 10:54:34 +00:00
mattijs
d1d6c3bd12
ENH: foamToEnsight: work with more >1000 times
2013-02-19 10:39:23 +00:00
andy
4bb11a2882
ENH: Removed fieldview reader/converter
2013-02-11 09:33:20 +00:00
andy
7c8522082e
STYLE: Code formatting
2013-02-07 16:44:07 +00:00
mattijs
e8ff31f9e8
ENH: Time: use constant(), time() instead of hardcoded strings
2012-12-06 08:24:54 +00:00
mattijs
e65512be4e
COMP: sampling: moved sampledSet writing to fileFormats
2012-11-16 13:13:39 +00:00
mattijs
de638685be
BUG: foamToEnsight: detect moving/changing meshes
2012-08-01 15:55:41 +01:00
mattijs
30f6574cee
ENH: vtkTopo.C: paraview3.12 handle wedge correctly
2012-05-16 14:15:10 +01:00
andy
24084582b4
ENH: Adding updates to Ensight converter (Mark Olesen)
2012-01-20 13:04:44 +00:00
mattijs
51b6dcd4a3
COMP: 64bit label changes
2011-11-28 12:56:34 +00:00
mattijs
03baed76ec
ENH: foamToTetDualMesh: move to FOAM_APPBIN
2011-11-08 17:37:49 +00:00
andy
627991bfc4
ENH: deprecated dieselSpray library and related solvers/deps
2011-11-08 16:18:59 +00:00
andy
4f40cdb7d7
GIT: Resolve conflict
2011-08-16 16:09:56 +01:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
mattijs
172ff9edeb
ENH: foamToVTK: disable field reading with empty -fields ().
2011-07-28 22:30:12 +01:00
mattijs
d205a84e8d
Merge branch 'master' into cvm
...
Conflicts:
src/meshTools/searchableSurface/closedTriSurfaceMesh.C
src/meshTools/searchableSurface/closedTriSurfaceMesh.H
2011-07-20 18:18:22 +01:00
mattijs
68973728a1
ENH: conformalVoronoiMesh: renamed writeTetMesh to writeTetDualMesh
2011-07-19 17:30:25 +01:00
Henry
1e2832fd7d
Corrected class names in the file descriptions
2011-07-19 17:26:55 +01:00
mattijs
ea15911286
ENH: foamToTetDualMesh: map data onto tetDualMesh mesh
2011-07-14 22:19:26 +01:00
OpenFOAM-admin
c720299876
ENH: Reverted back to version dev
2011-06-17 10:08:20 +01:00
mattijs
4f47ff0219
STYLE: dictionaries: update version number
2011-06-10 17:22:56 +01:00
mattijs
472bb82160
ENH: foamToFieldView: added region option.
2011-04-07 09:27:02 +01:00
mattijs
acd7554ae0
STYLE: dictionaries in $FOAM_UTILITIES: header
2011-04-06 19:15:15 +01:00
mattijs
c2c9ab6f0b
ENH: foamToTecplot: do not build if tecio not present
2011-03-07 13:44:34 +00:00
mattijs
367deb1773
Revert "COMP: tecio : move out of thirdparty"
...
This reverts commit de564957bc
.
Conflicts:
applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/examples/gridsolution/gridsolution.cpp
2011-03-07 12:51:26 +00:00
graham
c9c445c5d5
STYLE: Remove tabs and .zip file.
2011-02-18 16:28:13 +00:00
mattijs
de564957bc
COMP: tecio : move out of thirdparty
2011-02-16 13:44:26 +00:00
Henry
c3cb632c24
Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs
2011-02-08 18:22:00 +00:00
andy
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
andy
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce
.
2011-01-05 18:24:29 +00:00