33 namespace fvMeshMovers
46 pistonLayers_(
"pistonLayers",
dimLength, meshCoeffs_)
61 Info<<
"deltaZ = " << deltaZ <<
endl;
64 const scalar pistonPlusLayers =
71 point&
p = newPoints[pointi];
73 if (p.
z() < pistonPlusLayers)
92 <<
"Piston speed = " << pistonSpeed <<
" m/s" <<
endl;
dimensionedScalar pistonDisplacement() const
Return piston displacement for current time step.
#define forAll(list, i)
Loop across all elements in list.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
dimensionedScalar pistonSpeed() const
Return piston speed for current time step.
layeredEngine(fvMesh &mesh)
Construct from fvMesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar pistonPosition_
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
dimensionedScalar deckHeight_
defineTypeNameAndDebug(none, 0)
~layeredEngine()
Destructor.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
scalar deltaTValue() const
Return time step value.
const Type & value() const
Return const reference to value.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual void topoChange(const polyTopoChangeMap &)
Update corresponding to the given map.
Mesh data needed to do the Finite Volume discretisation.
Basic mesh motion specifically for engines.
fvMesh & mesh()
Return the fvMesh.
Class containing mesh-to-mesh mapping information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual bool update()
Update the mesh for both mesh motion and topology change.
addToRunTimeSelectionTable(fvMeshMover, none, fvMesh)
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.