33 const word& pistonPatchName,
35 const scalar minLayer,
39 meshMover_(refCast<const fvMeshMovers::engine>(meshMover)),
40 patchID_(pistonPatchName, meshMover_.mesh().boundaryMesh()),
53 meshMover_(refCast<const fvMeshMovers::engine>(meshMover)),
54 patchID_(dict.
lookup(
"patch"), meshMover_.mesh().boundaryMesh()),
60 dict.
subDict(
"coordinateSystem")
63 minLayer_(dict.
lookup<scalar>(
"minLayer")),
64 maxLayer_(dict.
lookup<scalar>(
"maxLayer"))
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
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.
Abstract base class for fvMesh movers.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
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.
enginePiston(const fvMeshMover &meshMover, const word &pistonPatchName, const autoPtr< coordinateSystem > &pistonCS, const scalar minLayer, const scalar maxLayer)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const wordRe & name() const
Return name.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.