Go to the documentation of this file.
43 fixedValueFvPatchVectorField(
p, iF),
57 fixedValueFvPatchVectorField(
p, iF,
dict,
false),
58 refValue_(
"refValue",
dict,
p.size()),
61 if (
dict.found(
"ramp"))
70 tvalues.
ref() *= ramp_->value(this->db().time().timeOutputValue());
73 fvPatchVectorField::operator=(tvalues);
86 fixedValueFvPatchVectorField(
p, iF),
88 ramp_(ptf.ramp_.clone())
99 tvalues.
ref() *= ramp_->value(this->db().time().timeOutputValue());
102 fvPatchVectorField::operator=(tvalues);
112 fixedValueFvPatchVectorField(ptf),
113 refValue_(ptf.refValue_),
114 ramp_(ptf.ramp_.clone())
125 fixedValueFvPatchVectorField(ptf, iF),
126 refValue_(ptf.refValue_),
127 ramp_(ptf.ramp_.clone())
138 fixedValueFvPatchVectorField::autoMap(mapper);
139 refValue_.autoMap(mapper);
149 fixedValueFvPatchVectorField::rmap(ptf, addr);
152 refCast<const surfaceNormalFixedValueFvPatchVectorField>(ptf);
154 refValue_.rmap(tiptf.refValue_, addr);
169 tvalues.
ref() *= ramp_->value(this->db().time().timeOutputValue());
180 refValue_.writeEntry(
"refValue", os);
183 ramp_->writeData(os);
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
virtual void write(Ostream &) const
Write.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
surfaceNormalFixedValueFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const std::string patch
OpenFOAM patch number as a std::string.
This boundary condition provides a surface-normal vector boundary condition by its magnitude.
Traits class for primitives.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void operator=(const UList< vector > &)
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...