29 #include "surfaceInterpolate.H" 45 pistonLayers_(
"pistonLayers",
dimLength, 0.0)
62 Info<<
"deltaZ = " << deltaZ <<
endl;
71 point&
p = newPoints[pointi];
73 if (p.
z() < pistonPlusLayers)
97 bool absolutePhi =
false;
120 <<
"Piston speed = " << pistonSpeed <<
" m/s" <<
endl;
~layeredEngineMesh()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
bool moving() const
Is mesh moving.
Type & lookupObjectRef(const word &name) const
Lookup and return the object reference of the given Type.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool movePoints()
Do what is necessary if the mesh has moved.
bool foundObject(const word &name) const
Is the named Type found?
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const IOdictionary & engineDict() const
Return the engine geometry dictionary.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
virtual const pointField & points() const
Return raw points.
dimensionedScalar deckHeight_
scalar deltaTValue() const
Return time step value.
const Type & value() const
Return const reference to value.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
const engineTime & engineDB_
layeredEngineMesh(const IOobject &io)
Construct from IOobject.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
Calculate the mesh motion flux and convert fluxes from absolute to relative and back.
tmp< surfaceScalarField > meshPhi(const volVectorField &U)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
dimensionedScalar pistonPosition_
dimensionedScalar pistonDisplacement() const
Return piston displacement for current time step.