Go to the documentation of this file.
98 #ifndef moleFractions_H
99 #define moleFractions_H
113 template<
class ThermoType>
116 public functionObjects::fvMeshFunctionObject
121 PtrList<volScalarField> X_;
130 virtual void calcMoleFractions();
146 const dictionary&
dict
void operator=(const moleFractions &)=delete
No copy assignment.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
virtual ~moleFractions()=default
Destructor.
moleFractions(const word &name, const Time &t, const dictionary &dict)
Construct from Time and dictionary.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool execute()
Calculate the mole-fraction fields.
Calculates mole-fraction fields from the mass-fraction fields of the psi/rhoReactionThermo and caches...
virtual bool read(const dictionary &dict)
Read the moleFractions data.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
TypeName("moleFractions")
Runtime type information.
virtual bool write()
The mole-fraction fields auto-write - no-op.
const word & name() const
Return the name of this functionObject.