Go to the documentation of this file.
41 uniformGradient_(
nullptr)
54 uniformGradient_(
nullptr)
72 this->patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
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.
Generic templated field type.
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,...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
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...
string evaluate(const std::string &s, size_t pos=0, size_t len=std::string::npos)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...