layeredEngine Class Reference
Inheritance diagram for layeredEngine:
Collaboration diagram for layeredEngine:

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 dimensionedScalarrpm () const
 Return the engines current operating RPM. More...
 
const dimensionedScalarconRodLength () const
 Return the engines connecting-rod length. More...
 
const dimensionedScalarbore () const
 Return the engines bore. More...
 
const dimensionedScalarstroke () const
 Return the engines stroke. More...
 
const dimensionedScalarclearance () 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...
 
fvMeshmesh ()
 Return the fvMesh. More...
 
const fvMeshmesh () const
 Return the fvMesh. More...
 
const dictionarydict () const
 Return the dynamicMeshDict/mover dict. More...
 
virtual bool dynamic () const
 Is mesh dynamic, i.e. might it change? More...
 
virtual bool solidBody () const
 Is the motion solid body? I.e., are the volumes and area magnitudes. 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< fvMeshMoverNew (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_
 

Detailed Description

Definition at line 50 of file fvMeshMoversLayeredEngine.H.

Constructor & Destructor Documentation

◆ layeredEngine() [1/2]

layeredEngine ( fvMesh mesh)

Construct from fvMesh.

Definition at line 43 of file fvMeshMoversLayeredEngine.C.

◆ layeredEngine() [2/2]

layeredEngine ( const layeredEngine )
delete

Disallow default bitwise copy construction.

◆ ~layeredEngine()

Destructor.

Definition at line 52 of file fvMeshMoversLayeredEngine.C.

Member Function Documentation

◆ TypeName()

TypeName ( "layeredEngine"  )

Runtime type information.

◆ update()

bool update ( )
virtual

Update the mesh for both mesh motion and topology change.

Implements fvMeshMover.

Definition at line 58 of file fvMeshMoversLayeredEngine.C.

References Foam::endl(), forAll, Foam::Info, Foam::nl, p, and points.

Here is the call graph for this function:

◆ topoChange()

void topoChange ( const polyTopoChangeMap )
virtual

Update corresponding to the given map.

Implements fvMeshMover.

Definition at line 98 of file fvMeshMoversLayeredEngine.C.

References NotImplemented.

◆ mapMesh()

void mapMesh ( const polyMeshMap )
virtual

Update from another mesh using the given map.

Implements fvMeshMover.

Definition at line 104 of file fvMeshMoversLayeredEngine.C.

◆ distribute()

void distribute ( const polyDistributionMap )
virtual

Update corresponding to the given distribution map.

Implements fvMeshMover.

Definition at line 108 of file fvMeshMoversLayeredEngine.C.

References NotImplemented.

◆ operator=()

void operator= ( const layeredEngine )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: