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
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
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
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
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
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
mattijs
c8add907aa
ENH: foamToVTK: leave VTK directory intact with faceSet, pointSet
2013-11-27 15:23:26 +00:00
andy
92dcc69fa8
ENH: Code clean-up
2013-05-03 17:57:43 +01:00
andy
34ac08a931
ENH: Code updates following changed to IOobjectList
2013-04-08 15:33:02 +01:00
andy
951c8436aa
ENH: Applying Gijs' patch: Update header documentation for utilities
2013-02-21 10:54:34 +00:00
mattijs
30f6574cee
ENH: vtkTopo.C: paraview3.12 handle wedge correctly
2012-05-16 14:15:10 +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
Henry
1e2832fd7d
Corrected class names in the file descriptions
2011-07-19 17:26:55 +01: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
graham
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
mattijs
97dff2650e
ENH: foamToVTK : have surface fields on faceZones
2010-09-06 17:02:35 +01:00
mattijs
aa7fe837f5
COMP: ignore return value
2010-08-19 15:42:29 +01:00
graham
28345247a7
STYLE: Fixing code style requirements for more files - those not
...
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
mattijs
3fd4142911
BUG: foamToVTK incorrect symmTensor components
2010-06-10 08:19:28 +01:00
Mark Olesen
1b4450890a
ENH: write patches as vtkPolyData instead of vtkUnstructuredGrid
...
- slightly better memory efficiency and file sizes
- consistent with library reader
2010-05-07 09:35:40 +02:00
Mark Olesen
64ac5cbc78
ENH: allow direct writing of polyhedra from foamToVTK
2010-05-07 09:06:48 +02:00
Mark Olesen
476f4bb7f6
ENH: reduce the number of trailing spaces when writing VTK legacy files
2010-05-06 11:21:47 +02:00
Mark Olesen
9b24f6c51b
ENH: add first provisioning for foamToVTK without polyhedral decomposition
2010-05-03 10:42:45 +02:00
Mark Olesen
147fa2a75d
STYLE: add notes to some (most) command-line options
...
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
42807ddd7e
STYLE: fix worst spacing violations for 'os <<' constructions
...
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00
Mark Olesen
a50f01b079
STYLE: use forAllIter, forAllConstIter instead of long-hand version
...
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
Mark Olesen
6adf0cbca8
Merge remote branch 'OpenCFD/master' into olesenm
2010-03-30 11:42:19 +02:00
Mark Olesen
c508b2fe17
STYLE: consistent capitalization of Private/Protected Member Functions in comments
2010-03-30 11:33:42 +02:00
mattijs
1a741a2259
BUG: numbering on lagrangian files was not uptodate with field vtk files
...
If no particles are in cloud it does not get written. Hence it would also
not output a vtk file. Changed now to always output lagrangian data.
2010-03-30 08:26:45 +01:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
Mark Olesen
89615f708e
ENH: respect face orientation when decomposing polyhedra.
...
ENH: use face::trianglesQuads() method for PV3FoamReader as well.
- this avoids missing faces (and weird cells) in the decomposed polyhedra.
2010-03-04 11:20:20 +01:00
andy
e49e95a53b
Merge branch 'olesenm'
2010-02-17 16:48:44 +00:00
mattijs
62637d8471
ENH: initial overhaul of volPointInterpolation.
...
- removed globalPointPatch*
- removed pointPatchInterpolate*
since all is now inside volPointInterpolation.
2010-02-17 14:01:44 +00:00