168 #ifndef functionObjects_scalarTransport_H 169 #define functionObjects_scalarTransport_H 179 namespace functionObjects
186 class scalarTransport
188 public fvMeshFunctionObject
193 fv::optionList fvOptions_;
214 word phasePhiCompressedName_;
232 bool resetOnStartUp_;
247 tmp<volScalarField> D
267 const dictionary&
dict 278 virtual bool read(
const dictionary&);
285 virtual bool write();
const word & name() const noexcept
Return the name of this functionObject.
scalarTransport(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool execute()
Calculate the scalarTransport.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &)
Read the scalarTransport data.
TypeName("scalarTransport")
Runtime type information.
virtual bool write()
Do nothing.
virtual ~scalarTransport()=default
Destructor.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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))