Go to the documentation of this file.
38 fixedValueFvPatchVectorField(
p, iF)
49 fixedValueFvPatchVectorField(
p, iF,
dict)
61 fixedValueFvPatchVectorField(
p, iF)
70 fixedValueFvPatchVectorField(mwvpvf)
80 fixedValueFvPatchVectorField(mwvpvf, iF)
89 Info <<
"calc the gradientINternalCoeffs for noslip" <<
endl;
90 Info <<
"============================" <<
endl;
96 impCoeffs[faceI][0] = scalar(1.0) -
n[faceI][0] *
n[faceI][0];
97 impCoeffs[faceI][1] = scalar(1.0) -
n[faceI][1] *
n[faceI][1];
98 impCoeffs[faceI][2] = scalar(1.0) -
n[faceI][2] *
n[faceI][2];
101 return -impCoeffs*this->patch().deltaCoeffs();
106 Info <<
"calc the gradientBoundaryCoeffs for noslip" <<
endl;
107 Info <<
"============================" <<
endl;
115 expCoeffs[faceI][0] = vt[faceI][0] +
116 n[faceI][0]*
n[faceI][1]*iF[faceI][1] +
117 n[faceI][0]*
n[faceI][2]*iF[faceI][2];
118 expCoeffs[faceI][1] = vt[faceI][1] +
119 n[faceI][0]*
n[faceI][1]*iF[faceI][0] +
120 n[faceI][1]*
n[faceI][2]*iF[faceI][2];
121 expCoeffs[faceI][2] = vt[faceI][2] +
122 n[faceI][0]*
n[faceI][2]*iF[faceI][0] +
123 n[faceI][1]*
n[faceI][2]*iF[faceI][1];
126 return expCoeffs*this->patch().deltaCoeffs();
134 this->writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void write(Ostream &) const
Write.
virtual tmp< Field< vector > > gradientBoundaryCoeffs() const
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
Ostream & endl(Ostream &os)
Add newline and flush stream.
This boundary condition fixes the velocity to zero at walls.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
mappedInternalCoupled(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Traits class for primitives.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< Field< vector > > gradientInternalCoeffs() const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...