72 #ifndef functionObjects_phaseForces_H 73 #define functionObjects_phaseForces_H 82 namespace functionObjects
91 public fvMeshFunctionObject
96 phaseForces(
const phaseForces&);
118 template<
class modelType>
152 virtual bool write();
HashPtrTable< volVectorField > forceFields_
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool write()
Write the force fields.
const phaseSystem & fluid_
Constant access to phaseSystem.
TypeName("phaseForces")
Runtime type information.
const phaseModel & phase_
Phase for which forces are evaluated.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const noexcept
Return the name of this functionObject.
virtual ~phaseForces()
Destructor.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from Foam::string.
virtual bool execute()
Calculate the force fields.
This function object calculates and outputs the blended interfacial forces acting on a given phase...
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
virtual bool read(const dictionary &dict)
Read the input data.
tmp< volVectorField > nonDragForce(const phasePair &key) const
Evaluate and return non-drag force.
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...