46 fixedValueFvPatchScalarField(
p, iF),
60 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
73 fixedValueFvPatchScalarField(
p, iF),
90 fixedValueFvPatchScalarField(tppsf, iF),
109 const fvsPatchField<scalar>& phip = boundaryContrPtr_->phib();
116 const fvPatchField<vector>& Up = boundaryContrPtr_->Ub();
119 const fvPatchField<vector>& Uap = boundaryContrPtr_->Uab();
122 scalarField Uac_n(Uap.patchInternalField()() & nf);
138 tmp<scalarField> tmomentumDiffusion =
139 boundaryContrPtr_->momentumDiffusion();
140 scalarField& momentumDiffusion = tmomentumDiffusion.ref();
143 tmp<scalarField> tsource = boundaryContrPtr_->pressureSource();
147 if (addATCUaGradUTerm())
155 neg(phip)*(patchInternalField())
161 + 2*momentumDiffusion*snGradUan
166 fixedValueFvPatchScalarField::updateCoeffs();
179 pos(phip)*
patch().deltaCoeffs()*(*
this - patchInternalField())
247 pos(phip)*(this->
patch().deltaCoeffs()*(*
this))
256 writeEntry(
"value",
os);
263 void Foam::adjointFarFieldPressureFvPatchScalarField::operator=
275 void Foam::adjointFarFieldPressureFvPatchScalarField::operator=
288 void Foam::adjointFarFieldPressureFvPatchScalarField::operator+=
301 void Foam::adjointFarFieldPressureFvPatchScalarField::operator-=
314 void Foam::adjointFarFieldPressureFvPatchScalarField::operator*=
319 if (&
patch() != &ptf.patch())
322 <<
"Incompatible patches for patch fields"
326 const fvsPatchField<scalar>& phip = boundaryContrPtr_->phib();
333 void Foam::adjointFarFieldPressureFvPatchScalarField::operator/=
338 if (&
patch() != &ptf.patch())
341 <<
"Incompatible patches for patch fields"
345 const fvsPatchField<scalar>& phip = boundaryContrPtr_->phib();
352 void Foam::adjointFarFieldPressureFvPatchScalarField::operator+=
364 void Foam::adjointFarFieldPressureFvPatchScalarField::operator-=
376 void Foam::adjointFarFieldPressureFvPatchScalarField::operator*=
388 void Foam::adjointFarFieldPressureFvPatchScalarField::operator/=
400 void Foam::adjointFarFieldPressureFvPatchScalarField::operator=
412 void Foam::adjointFarFieldPressureFvPatchScalarField::operator+=
424 void Foam::adjointFarFieldPressureFvPatchScalarField::operator-=
432 neg(phip)*((*
this)-t)
440 void Foam::adjointFarFieldPressureFvPatchScalarField::operator*=
452 void Foam::adjointFarFieldPressureFvPatchScalarField::operator/=
471 adjointFarFieldPressureFvPatchScalarField