Go to the documentation of this file.
41 uniformValue_(nullptr)
54 uniformValue_(nullptr)
69 if (
dict.found(
"value"))
86 const uniformFixedValueFvPatchField<Type>& ptf,
88 const DimensionedField<Type, volMesh>& iF,
89 const fvPatchFieldMapper& mapper
92 fixedValueFvPatchField<Type>(
p, iF),
93 uniformValue_(ptf.uniformValue_.clone(
p.
patch()))
95 if (mapper.direct() && !mapper.hasUnmapped())
98 this->map(ptf, mapper);
111 const uniformFixedValueFvPatchField<Type>& ptf
115 uniformValue_(ptf.uniformValue_.clone(this->
patch().
patch()))
127 uniformValue_(ptf.uniformValue_.clone(this->
patch().
patch()))
140 uniformValue_().autoMap(mapper);
153 const fvPatchField<Type>& ptf,
159 const uniformFixedValueFvPatchField& tiptf =
160 refCast<const uniformFixedValueFvPatchField>(ptf);
162 uniformValue_().rmap(tiptf.uniformValue_(), addr);
174 const scalar t = this->db().time().timeOutputValue();
184 uniformValue_->writeData(
os);
185 this->writeEntry(
"value",
os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
List< label > labelList
A List of labels.
virtual void write(Ostream &) const
virtual void operator==(const fvPatchField< Type > &)
virtual bool direct() const =0
virtual bool hasUnmapped() const =0
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
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))
virtual void rmap(const fvPatchField< Type > &, const labelList &)
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)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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,...
constant condensation/saturation model.
virtual void autoMap(const fvPatchFieldMapper &)
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)