Public Member Functions | |
TypeName ("layeredEngine") | |
Runtime type information. More... | |
layeredEngine (fvMesh &mesh) | |
Construct from fvMesh. More... | |
layeredEngine (const layeredEngine &)=delete | |
Disallow default bitwise copy construction. More... | |
~layeredEngine () | |
Destructor. More... | |
virtual bool | update () |
Update the mesh for both mesh motion and topology change. More... | |
virtual void | topoChange (const polyTopoChangeMap &) |
Update corresponding to the given map. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &) |
Update corresponding to the given distribution map. More... | |
void | operator= (const layeredEngine &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from engine | |
TypeName ("engine") | |
Runtime type information. More... | |
engine (fvMesh &mesh) | |
Construct from fvMesh. More... | |
engine (const engine &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~engine () |
Destructor. More... | |
const dimensionedScalar & | rpm () const |
Return the engines current operating RPM. More... | |
const dimensionedScalar & | conRodLength () const |
Return the engines connecting-rod length. More... | |
const dimensionedScalar & | bore () const |
Return the engines bore. More... | |
const dimensionedScalar & | stroke () const |
Return the engines stroke. More... | |
const dimensionedScalar & | clearance () const |
Return the engines clearance-gap. More... | |
virtual scalar | theta () const |
Return current crank-angle. More... | |
virtual scalar | deltaTheta () const |
Return crank-angle increment. More... | |
scalar | pistonPosition (const scalar theta) const |
Calculate the piston position from the engine geometry. More... | |
dimensionedScalar | pistonPosition () const |
Return current piston position. More... | |
dimensionedScalar | pistonDisplacement () const |
Return piston displacement for current time step. More... | |
dimensionedScalar | pistonSpeed () const |
Return piston speed for current time step. More... | |
void | operator= (const engine &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from fvMeshMover | |
TypeName ("fvMeshMover") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, fvMeshMover, fvMesh,(fvMesh &mesh),(mesh)) | |
fvMeshMover (fvMesh &) | |
Construct from fvMesh. More... | |
fvMeshMover (const fvMeshMover &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~fvMeshMover () |
Destructor. More... | |
fvMesh & | mesh () |
Return the fvMesh. More... | |
const fvMesh & | mesh () const |
Return the fvMesh. More... | |
const dictionary & | dict () const |
Return the dynamicMeshDict/mover dict. More... | |
virtual bool | dynamic () const |
Is mesh dynamic, i.e. might it change? More... | |
virtual bool | write (const bool write=true) const |
Write the mover state. More... | |
void | operator= (const fvMeshMover &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvMeshMover | |
static autoPtr< fvMeshMover > | New (fvMesh &) |
Select, construct and return the fvMeshMover. More... | |
Protected Attributes inherited from engine | |
dictionary | meshCoeffs_ |
dimensionedScalar | rpm_ |
RPM. More... | |
dimensionedScalar | conRodLength_ |
Optional engine geometry parameters. More... | |
dimensionedScalar | bore_ |
dimensionedScalar | stroke_ |
dimensionedScalar | clearance_ |
label | pistonIndex_ |
label | linerIndex_ |
label | cylinderHeadIndex_ |
dimensionedScalar | deckHeight_ |
dimensionedScalar | pistonPosition_ |
Definition at line 50 of file fvMeshMoversLayeredEngine.H.
layeredEngine | ( | fvMesh & | mesh | ) |
Construct from fvMesh.
Definition at line 43 of file fvMeshMoversLayeredEngine.C.
|
delete |
Disallow default bitwise copy construction.
~layeredEngine | ( | ) |
Destructor.
Definition at line 52 of file fvMeshMoversLayeredEngine.C.
TypeName | ( | "layeredEngine" | ) |
Runtime type information.
|
virtual |
Update the mesh for both mesh motion and topology change.
Implements fvMeshMover.
Definition at line 58 of file fvMeshMoversLayeredEngine.C.
References engine::deckHeight_, TimeState::deltaTValue(), Foam::endl(), forAll, Foam::Info, fvMeshMover::mesh(), fvMesh::movePoints(), Foam::nl, p, engine::pistonDisplacement(), engine::pistonPosition_, engine::pistonSpeed(), points, fvMesh::time(), dimensioned< Type >::value(), and Vector< Cmpt >::z().
|
virtual |
Update corresponding to the given map.
Implements fvMeshMover.
Definition at line 98 of file fvMeshMoversLayeredEngine.C.
References NotImplemented.
|
virtual |
Update from another mesh using the given map.
Implements fvMeshMover.
Definition at line 104 of file fvMeshMoversLayeredEngine.C.
References layeredEngine::distribute().
|
virtual |
Update corresponding to the given distribution map.
Implements fvMeshMover.
Definition at line 109 of file fvMeshMoversLayeredEngine.C.
References NotImplemented.
Referenced by layeredEngine::mapMesh().
|
delete |
Disallow default bitwise assignment.