35 namespace fvMeshMovers
49 amplitude_(meshCoeffs_.
lookup<scalar>(
"amplitude")),
50 frequency_(meshCoeffs_.
lookup<scalar>(
"frequency")),
51 refPlaneX_(meshCoeffs_.
lookup<scalar>(
"refPlaneX")),
57 mesh.time().constant(),
64 velocityMotionCorrection_(mesh,
dict())
66 Info<<
"Performing a dynamic mesh calculation: " <<
endl 67 <<
"amplitude: " << amplitude_
68 <<
" frequency: " << frequency_
69 <<
" refPlaneX: " << refPlaneX_ <<
endl;
83 const scalar scalingFunction =
91 << scalingFunction <<
endl;
105 )*amplitude_*scalingFunction
111 velocityMotionCorrection_.
update();
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual bool update()
Update the mesh for both mesh motion and topology change.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Abstract base class for fvMesh movers.
const Time & time() const
Return the top-level database.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Macros for easy insertion into run-time selection tables.
virtual void distribute(const polyDistributionMap &)
Update corresponding to the given distribution map.
defineTypeNameAndDebug(none, 0)
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar cos(const dimensionedScalar &ds)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const Type & value() const
Return const reference to value.
const scalar twoPi(2 *pi)
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
dimensionedScalar pos0(const dimensionedScalar &ds)
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
inkJet(fvMesh &mesh)
Construct from fvMesh.
Mesh data needed to do the Finite Volume discretisation.
fvMesh & mesh()
Return the fvMesh.
virtual void topoChange(const polyTopoChangeMap &)
Update corresponding to the given map.
Class containing mesh-to-mesh mapping information.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
addToRunTimeSelectionTable(fvMeshMover, none, fvMesh)