42 fixedValueFvPatchVectorField(
p, iF),
56 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
69 fixedValueFvPatchVectorField(
p, iF),
86 fixedValueFvPatchVectorField(pivpvf, iF),
103 const fvsPatchField<scalar>& phip = boundaryContrPtr_->phib();
118 tmp<vectorField> tsourceVelocity =
119 boundaryContrPtr_->tangentVelocitySource();
120 vectorField& sourceVelocity = tsourceVelocity.ref();
123 tmp<vectorField> tsourcePressure =
124 boundaryContrPtr_->normalVelocitySource();
125 vectorField& sourcePressure = tsourcePressure.ref();
128 tmp<scalarField> tmomentumDiffusion =
129 boundaryContrPtr_->momentumDiffusion();
130 scalarField& momentumDiffusion = tmomentumDiffusion.ref();
137 -
neg(phip)*sourcePressure
141 *((Uac&nf)*nf + (Uac_t*(momentumDiffusion*
delta) - sourceVelocity)/denom)
144 fixedValueFvPatchVectorField::updateCoeffs();
189 writeEntry(
"value",
os);
201 adjointFarFieldVelocityFvPatchVectorField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
virtual tmp< Field< vector > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the evaluation of the value of this patchField...
fvPatchField< vector > fvPatchVectorField
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A traits class, which is primarily used for primitives.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void write(Ostream &) const
Write.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
adjointFarFieldVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
dimensionedScalar pos(const dimensionedScalar &ds)
virtual tmp< Field< vector > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchFie...
A class for handling words, derived from Foam::string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Base class for solution control classes.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual void write(Ostream &) const
Write.
A class for managing temporary objects.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.