Go to the documentation of this file.
35 using reportFields = foamToVtkReportFields;
39 (doInternal || doBoundary)
46 (doInternal || doBoundary)
90 if (vtuMeshCells.empty())
93 vtuMeshCells.reset(meshProxy.mesh());
117 Info<<
" Internal : "
135 patchIds = getSelectedPatches(
patches, includePatches, excludePatches);
152 / (meshProxy.useSubMesh() ? meshProxy.name() :
"boundary")
167 Info<<
" Boundaries: "
170 writer->writeTimeValue(timeValue);
189 label nPatchInterps = 0;
207 / (meshProxy.useSubMesh() ? meshProxy.name() : pp.name())
233 Info<<
" Boundary : "
236 writer->writeTimeValue(timeValue);
247 new PrimitivePatchInterpolation<primitivePatch>(pp)
288 (withMeshIds ? 2 : 0)
332 + (withPointIds ? 1 : 0)
343 const label nPatchFields =
407 if (Pstream::master())
412 if (writeOpts.legacy())
420 fileName seriesName(vtk::seriesWriter::base(
outputName));
422 vtk::seriesWriter& series = vtkSeries(seriesName);
429 series.load(seriesName,
true, timeValue);
432 series.append(timeValue, timeDesc);
433 series.write(seriesName);
444 fileName seriesName(vtk::seriesWriter::base(
outputName));
451 vtk::seriesWriter& series = vtkSeries(seriesName);
458 series.load(seriesName,
true, timeValue);
462 series.write(seriesName);
List< label > labelList
A List of labels.
const Foam::Enum< fileTag > fileExtension
File extension (without ".") for some vtk XML file content types.
vtk::vtmWriter vtmBoundaries
const wordList volume
Standard volume field types (scalar, vector, tensor, etc)
const wordList internal
Standard dimensioned field types (scalar, vector, tensor, etc)
#define forAll(list, i)
Loop across all elements in list.
word outputName("finiteArea-edges.obj")
const polyBoundaryMesh & patches
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName vtmOutputBase(outputDir/regionDir/vtkName+timeDesc)
label writeAllVolFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects, const bool nearCellValue=false)
writeAllDimFields(internalWriter, meshProxy, objects, true)
autoPtr< vtk::internalWriter > internalWriter
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
PtrList< vtk::patchWriter > patchWriters
vector point
Point is a vector.
Foam::argList args(argc, argv)
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
PtrList< PrimitivePatchInterpolation< primitivePatch > > patchInterps
fileName relativePath(const fileName &input, const bool caseTag=false) const
autoPtr< volPointInterpolation > pInterp
label writeAllPointFields(ensightCase &ensCase, const ensightMesh &ensMesh, const IOobjectList &objects)