144#ifndef functionObjects_scalarTransport_H
145#define functionObjects_scalarTransport_H
155namespace functionObjects
164 public fvMeshFunctionObject
184 word phasePhiCompressedName_;
202 bool resetOnStartUp_;
208 fv::optionList fvOptions_;
220 tmp<volScalarField>
D
227 scalarTransport(
const scalarTransport&) =
delete;
230 void operator=(
const scalarTransport&) =
delete;
264 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...
Evolves a passive scalar transport equation.
TypeName("scalarTransport")
Runtime type information.
virtual ~scalarTransport()
Destructor.
virtual bool execute()
Calculate the scalarTransport.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read the scalarTransport data.
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))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dimensionedScalar & D
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.