readVolFields.H
Go to the documentation of this file.
1 // Read vol fields.
2 
3 PtrList<volScalarField> vsFlds;
4 if (fields) ReadFields(mesh, objects, vsFlds);
5 
6 PtrList<volVectorField> vvFlds;
7 if (fields) ReadFields(mesh, objects, vvFlds);
8 
9 PtrList<volSphericalTensorField> vstFlds;
10 if (fields) ReadFields(mesh, objects, vstFlds);
11 
12 PtrList<volSymmTensorField> vsymtFlds;
13 if (fields) ReadFields(mesh, objects, vsymtFlds);
14 
15 PtrList<volTensorField> vtFlds;
16 if (fields) ReadFields(mesh, objects, vtFlds);
PtrList< volTensorField > vtFlds
Definition: readVolFields.H:15
PtrList< volSphericalTensorField > vstFlds
Definition: readVolFields.H:9
wordList ReadFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields, const bool syncPar=true)
Read all fields of the specified type.
fvMesh & mesh
PtrList< volVectorField > vvFlds
Definition: readVolFields.H:6
PtrList< volScalarField > vsFlds
Definition: readVolFields.H:3
PtrList< volSymmTensorField > vsymtFlds
Definition: readVolFields.H:12
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
Definition: createFields.H:131
objects
Definition: readVolFields.H:4