Go to the documentation of this file.
53 this->valueFraction() = 0.0;
67 phiName_(ptf.phiName_),
68 rhoName_(ptf.rhoName_),
69 fieldInf_(ptf.fieldInf_),
100 this->refValue() = *
this;
102 this->valueFraction() = 0.0;
113 ) <<
"unphysical lInf specified (lInf < 0)" <<
nl
114 <<
" on patch " << this->patch().name()
159 this->db().objectRegistry::template lookupObject<surfaceScalarField>
163 this->patch().template lookupPatchField<surfaceScalarField, scalar>
171 this->patch().template lookupPatchField<volScalarField, scalar>
176 return phip/(rhop*this->patch().magSf());
180 return phip/this->patch().magSf();
199 scalar deltaT = this->db().time().deltaTValue();
202 this->db().objectRegistry::template
203 lookupObject<GeometricField<Type, fvPatchField, volMesh> >
235 this->valueFraction() = (1.0 +
k)/(1.0 +
alpha +
k);
246 this->valueFraction() = (1.5 +
k)/(1.5 +
alpha +
k);
270 this->valueFraction() = (1.0 +
k)/(1.0 +
alpha +
k);
276 <<
" on patch " << this->patch().name()
292 this->valueFraction() = 1.0/(1.0 +
alpha);
302 this->valueFraction() = 1.5/(1.5 +
alpha);
320 this->valueFraction() = 1.0/(1.0 +
alpha);
326 <<
"\n on patch " << this->patch().name()
342 this->
template writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
343 this->
template writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
351 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 operator=(const UList< Type > &)
Type fieldInf_
Field value of the far-field.
static const volScalarField & localRDeltaT(const fvMesh &mesh)
Return the reciprocal of the local time-step.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
A class for managing temporary objects.
const dimensionSet dimVelocity
ITstream & ddtScheme(const word &name) const
const dimensionSet dimDensity
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
rDeltaT dimensionedInternalField()
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Local time-step first-order Euler implicit/explicit ddt.
word rhoName_
Name of the density field used to normalise the mass flux.
const dimensionSet dimArea(sqr(dimLength))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Second-oder Crank-Nicolson implicit ddt using the current and previous time-step fields as well as th...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
Write.
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.
Mesh data needed to do the Finite Volume discretisation.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
advectiveFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Second-order backward-differencing ddt using the current and two previous time-step values.
Traits class for primitives.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
label k
Boltzmann constant.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Foam::fvPatchFieldMapper.
virtual tmp< scalarField > advectionSpeed() const
Calculate and return the advection speed at the boundary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar lInf_
Relaxation length-scale.
Generic GeometricField class.
Basic first-order Euler implicit/explicit ddt using only the current and previous time-step values.
This boundary condition provides an advective outflow condition, based on solving DDt(psi,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
word phiName_
Name of the flux transporting the field.