Go to the documentation of this file.
90 #ifndef scalarTransport_H
91 #define scalarTransport_H
105 class objectRegistry;
113 class scalarTransport
190 const bool loadFromFiles =
false
219 virtual void write();
virtual void movePoints(const polyMesh &)
Update for changes of mesh.
const fvMesh & mesh_
Reference to the mesh database.
virtual void write()
Calculate the scalarTransport and write.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Switch log_
Switch to send output to Info as well as to file.
A class for handling words, derived from string.
A class for managing temporary objects.
virtual const word & name() const
Return name of the set of scalarTransport.
virtual void updateMesh(const mapPolyMesh &)
Update for changes of mesh.
wordList boundaryTypes() const
Return the boundary types for the scalar field.
Forward declarations of fvMatrix specializations.
word UName_
Name of velocity field (optional)
word name_
Name of this set of scalarTransport objects.
Mesh consisting of general polyhedral cells.
List< word > wordList
A List of words.
Registry of regIOobjects.
scalarTransport(const scalarTransport &)
Disallow default bitwise copy construct.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void execute()
Execute, currently does nothing.
volScalarField & transportedField()
Return reference to registered transported field.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool autoSchemes_
Flag to employ schemes for velocity for scalar transport.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fv::optionList fvOptions_
Run-time selectable finite volume options, e.g. sources, constraints.
word rhoName_
Name of density field (optional)
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("scalarTransport")
Runtime type information.
tmp< volScalarField > DT(const surfaceScalarField &phi) const
Return the diffusivity field.
word phiName_
Name of flux field (optional)
Mesh data needed to do the Finite Volume discretisation.
label nCorr_
Number of corrector iterations (optional)
bool resetOnStartUp_
Flag to reset scalar field on start-up.
scalar DT_
Diffusion coefficient (optional)
This function object evolves a passive scalar transport equation. The field is initially zero,...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
void operator=(const scalarTransport &)
Disallow default bitwise assignment.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool userDT_
Flag to indicate whether user DT_ is used.
virtual void read(const dictionary &)
Read the scalarTransport data.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool active_
On/off switch.
Generic GeometricField class.
List of finite volume options.
virtual ~scalarTransport()
Destructor.