35 const word& pistonPatchName,
37 const scalar minLayer,
42 engineDB_(refCast<const engineTime>(mesh.
time())),
57 engineDB_(refCast<const engineTime>(mesh_.time())),
64 dict.
subDict(
"coordinateSystem")
67 minLayer_(dict.
lookup<scalar>(
"minLayer")),
68 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...
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.
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.
const wordRe & name() const
Return name.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.