26 #ifndef MapVolFields_H 27 #define MapVolFields_H 64 if (fieldTargetIOobject.headerOk())
66 Info<<
" interpolating " << fieldIter()->name() <<
endl;
69 fieldType fieldSource(*fieldIter(), meshSource);
void MapVolFields(const IOobjectList &objects, const meshToMesh0 &meshToMesh0Interp, const meshToMesh0::order &mapOrder)
List of IOobjects with searching and retrieving facilities.
Templated form of IOobject providing type information for file reading and header type checking...
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Serial mesh to mesh interpolation class.
Ostream & endl(Ostream &os)
Add newline and flush stream.
order
Enumeration specifying required accuracy.
Generic GeometricField class.
const Time & time() const
Return the top-level database.
const fvMesh & toMesh() const
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
const fvMesh & fromMesh() const
word name(const complex &)
Return a string representation of a complex.
IOobjectList lookupClass(const word &className) const
Return the list for all IOobjects of a given class.
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
Mesh data needed to do the Finite Volume discretisation.
void interpolate(GeometricField< Type, fvPatchField, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &, order=INTERPOLATE) const
Interpolate volume field.