Go to the documentation of this file.
41 uniformGradient_(nullptr)
54 uniformGradient_(nullptr)
87 uniformGradient_(ptf.uniformGradient_.clone())
98 uniformGradient_(ptf.uniformGradient_.clone())
110 uniformGradient_(ptf.uniformGradient_.clone())
113 if (ptf.uniformGradient_)
130 const scalar t = this->db().time().timeOutputValue();
131 this->gradient() = uniformGradient_->value(t);
141 uniformGradient_->writeData(
os);
142 this->writeEntry(
"value",
os);
A class for handling words, derived from Foam::string.
virtual void write(Ostream &) const
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void updateCoeffs()
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const word & patchType() const
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition supplies a fixed gradient condition, such that the patch values are calculate...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)