26 #ifndef steadyParticleTracksTemplates_H 27 #define steadyParticleTracksTemplates_H 43 bool fieldOk(
const IOobjectList& cloudObjs,
const word&
name);
49 const IOobjectList cloudObjs
55 PtrList<List<Type>>& values,
57 const IOobjectList& cloudObjs
61 void writeVTK(OFstream& os,
const Type& value);
67 const PtrList<List<Type>>& values,
68 const List<List<label>>& addr,
76 const List<List<label>>& addr,
77 const List<word>& userFieldNames,
78 const IOobjectList& cloudObjs
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
static List< word > fieldNames
bool fieldOk(const IOobjectList &cloudObjs, const word &name)
tmp< Field< Type > > readParticleField(const word &name, const IOobjectList cloudObjs)
void processFields(OFstream &os, const List< List< label >> &addr, const List< word > &userFieldNames, const IOobjectList &cloudObjs)
word name(const complex &)
Return a string representation of a complex.
Info<< "Reading field p_rgh\"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, p_rgh, pimple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p_rgh.name());hydrostaticInitialisation(p_rgh, p, rho, U, gh, ghf, pRef, thermo, pimple.dict());Info<< "Creating field dpdt\"<< endl;volScalarField dpdt(IOobject("dpdt", runTime.timeName(), mesh), mesh, dimensionedScalar(p.dimensions()/dimTime, 0));Info<< "Creating field kinetic energy K\"<< endl;volScalarField K("K", 0.5 *magSqr(U));dimensionedScalar initialMass=fvc::domainIntegrate(rho);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void writeVTKFields(OFstream &os, const PtrList< List< Type >> &values, const List< List< label >> &addr, const List< word > &fieldNames)
void writeVTK(OFstream &os, const Type &value)