94 #ifndef functionObjects_phaseScalarTransport_H
95 #define functionObjects_phaseScalarTransport_H
104 namespace functionObjects
111 class phaseScalarTransport
113 public fvMeshFunctionObject
118 const word fieldName_;
121 const word phaseName_;
157 scalar residualAlpha_;
164 bool writeAlphaField_;
225 virtual bool write();
Generic GeometricField class.
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 keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this functionObject.
TypeName("phaseScalarTransport")
Runtime type information.
virtual wordList fields() const
Return the list of fields required.
virtual ~phaseScalarTransport()
Destructor.
virtual bool execute()
Solve for the evolution of the field.
virtual bool write()
Do nothing. The field is registered and written automatically.
virtual bool read(const dictionary &)
Read the settings from the given dictionary.
phaseScalarTransport(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
A class for managing temporary objects.
A class for handling words, derived from string.