35 const DimensionedField<vector, volMesh>& iF
38 fixedGradientFvPatchVectorField(p, iF),
39 traction_(p.size(),
Zero),
51 const DimensionedField<vector, volMesh>& iF,
52 const dictionary& dict
55 fixedGradientFvPatchVectorField(p, iF),
56 traction_(
"traction", dict, p.size()),
57 pressure_(Function1<scalar>::
New(
"pressure", dict))
69 const DimensionedField<vector, volMesh>& iF,
70 const fvPatchFieldMapper& mapper
73 fixedGradientFvPatchVectorField(tdpvf, p, iF, mapper),
74 traction_(mapper(tdpvf.traction_)),
75 pressure_(tdpvf.pressure_, false)
85 fixedGradientFvPatchVectorField(tdpvf),
86 traction_(tdpvf.traction_),
87 pressure_(tdpvf.pressure_, false)
95 const DimensionedField<vector, volMesh>& iF
98 fixedGradientFvPatchVectorField(tdpvf, iF),
99 traction_(tdpvf.traction_),
100 pressure_(tdpvf.pressure_, false)
108 const fvPatchFieldMapper& m
111 fixedGradientFvPatchVectorField::autoMap(m);
112 m(traction_, traction_);
122 fixedGradientFvPatchVectorField::rmap(ptf, addr);
125 refCast<const tractionDisplacementFvPatchVectorField>(ptf);
127 traction_.rmap(dmptf.traction_, addr);
138 this->
updateCoeffs(pressure_->value(this->db().time().timeOutputValue()));
fvPatchField< vector > fvPatchVectorField
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
tractionDisplacementFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
List< label > labelList
A List of labels.
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
virtual void operator=(const UList< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)