168#ifndef Foam_functionObjects_scalarTransport_H
169#define Foam_functionObjects_scalarTransport_H
193 fv::optionList fvOptions_;
214 word phasePhiCompressedName_;
232 bool resetOnStartUp_;
247 tmp<volScalarField>
D
285 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Computes the transport equation for a passive scalar in single-phase or two-phase flow,...
TypeName("scalarTransport")
Runtime type information.
virtual ~scalarTransport()=default
Destructor.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function object output.
virtual bool read(const dictionary &)
Read the function-object dictionary.
scalarTransport(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
List of finite volume options.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
const dimensionedScalar & D
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.