Go to the documentation of this file.
46 fixedValueFvPatchScalarField(
p, iF),
60 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
73 fixedValueFvPatchScalarField(
p, iF),
90 fixedValueFvPatchScalarField(tppsf, iF),
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"
333 void Foam::adjointFarFieldPressureFvPatchScalarField::operator/=
338 if (&
patch() != &ptf.patch())
341 <<
"Incompatible patches for patch fields"
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/=
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
virtual tmp< Field< scalar > > gradientInternalCoeffs() const
adjointBoundaryCondition< scalar > adjointScalarBoundaryCondition
virtual tmp< Field< scalar > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
static void check(const int retVal, const char *what)
virtual tmp< Field< scalar > > gradientBoundaryCoeffs() const
word adjointSolverName_
adjointSolver name corresponding to field
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
adjointFarFieldPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
bool addATCUaGradUTerm()
Whether to add the extra term from the UaGradU formulation.
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.
errorManip< error > abort(error &err)
void operator=(const Field< Type > &)
Copy assignment.
virtual tmp< Field< scalar > > valueInternalCoeffs(const tmp< scalarField > &) const
virtual tmp< Field< scalar > > snGrad() const
Return true if this patch field fixes a value.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
A traits class, which is primarily used for primitives.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void write(Ostream &) const
Write.
dimensionedScalar neg(const dimensionedScalar &ds)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pos(const dimensionedScalar &ds)