35 #ifndef sectionalForcesBase_functionObject_H
36 #define sectionalForcesBase_functionObject_H
48 namespace functionObjects
132 virtual void clear();
Pre-declare SubField and related Field type.
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling file names.
const word & name() const
Return the name of this functionObject.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Base class for sectional forces function objects.
void operator=(const sectionalForcesBase &)=delete
Disallow default bitwise assignment.
TypeName("sectionalForcesBase")
Runtime type information.
virtual wordList fields() const
Return the list of fields required.
virtual ~sectionalForcesBase()
Destructor.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual tmp< scalarField > distances() const =0
Return the distances from the origin to the section planes. This is.
fileName outputPath() const
Return the output path.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
const indirectPrimitivePatch & patch() const
Access the primitive patch.
void clearPatch()
Clear the patch.
virtual void movePoints(const polyMesh &)
Update for mesh point-motion.
void clearPatchGeom()
Clear the patch geometry.
sectionalForcesBase(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
void addFluid(vectorField &force, vectorField &moment) const
Calculate the forces and moments at the cuts.
virtual point origin() const =0
Return the origin of the plot. This can be an arbitrary point.
virtual void clear()
Clear the cached weights.
const List< patchCutPlot::weight > & weights() const
Access the weights.
virtual bool execute()
Execute, currently does nothing.
tmp< scalarField > patchPointDistances() const
Return the distance from the origin to the patch points.
virtual vector normal() const =0
Return the normal to the section planes.
virtual bool end()
Execute at the final time-loop, currently does nothing.
virtual bool read(const dictionary &)
Read the sectionalForcesBase data.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
A class for handling words, derived from string.
const volScalarField & psi
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.