Go to the documentation of this file.
36 void Foam::adjointOutletVelocityFvPatchVectorField::assignBoundaryValue()
39 tmp<vectorField> tnf(
patch().nf());
63 tmp<scalarField> tmomentumDiffusion
67 const scalarField& momentumDiffusion = tmomentumDiffusion();
70 const word& fieldName = internalField().name();
71 tmp<tensorField> tgradUaf(computePatchGrad<vector>(fieldName));
80 explDiffusiveFlux - (explDiffusiveFlux & nf)*nf
89 vectorField Uat((nd*Uac_t - explDiffusiveFlux_t - source)/denom);
104 fixedValueFvPatchVectorField(
p, iF),
118 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
131 fixedValueFvPatchVectorField(
p, iF),
148 fixedValueFvPatchVectorField(pivpvf, iF),
160 assignBoundaryValue();
168 writeEntry(
"value",
os);
175 void Foam::adjointOutletVelocityFvPatchVectorField::operator=
191 adjointOutletVelocityFvPatchVectorField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Provides the adjoint outlet velocity values (i.e. adjoint velocity in case of a zeroGradient U bounda...
A class for handling words, derived from Foam::string.
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
Base class for solution control classes.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
static const SphericalTensor oneThirdI
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
adjointBoundaryCondition< vector > adjointVectorBoundaryCondition
fvPatchField< vector > fvPatchVectorField
virtual void write(Ostream &) const
adjointOutletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Ostream & writeEntry(const keyType &key, const T &value)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
Foam::fvPatchFieldMapper.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...