37 const word& pistonPatchName,
39 const scalar minLayer,
44 engineDB_(refCast<const engineTime>(mesh.
time())),
60 engineDB_(refCast<const engineTime>(mesh_.time())),
67 dict.
subDict(
"coordinateSystem")
70 minLayer_(dict.
lookup<scalar>(
"minLayer")),
71 maxLayer_(dict.
lookup<scalar>(
"maxLayer"))
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
enginePiston(const polyMesh &mesh, const word &pistonPatchName, const autoPtr< coordinateSystem > &pistonCS, const scalar minLayer, const scalar maxLayer)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const keyType & name() const
Return name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
Interpolates y values from one curve to another with a different x distribution.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeDict(Ostream &) const
Write dictionary.
const Time & time() const
Return time.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.