Public Member Functions | |
GeometricBoundaryField (const BoundaryMesh &) | |
Construct from a BoundaryMesh. More... | |
GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const word &) | |
Construct from a BoundaryMesh,. More... | |
GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
Construct from a BoundaryMesh,. More... | |
GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const PtrList< PatchField< Type > > &) | |
Construct from a BoundaryMesh,. More... | |
GeometricBoundaryField (const DimensionedInternalField &, const GeometricBoundaryField &) | |
Construct as copy setting the reference to the internal field. More... | |
GeometricBoundaryField (const GeometricBoundaryField &) | |
Construct as copy. More... | |
GeometricBoundaryField (const BoundaryMesh &, const DimensionedInternalField &, const dictionary &) | |
Construct from dictionary. More... | |
void | readField (const DimensionedField< Type, GeoMesh > &field, const dictionary &dict) |
Read the boundary field. More... | |
void | updateCoeffs () |
Update the boundary condition coefficients. More... | |
void | evaluate () |
Evaluate boundary conditions. More... | |
wordList | types () const |
Return a list of the patch types. More... | |
GeometricBoundaryField | boundaryInternalField () const |
Return BoundaryField of the cell values neighbouring. More... | |
LduInterfaceFieldPtrsList< Type > | interfaces () const |
Return a list of pointers for each patch field with only those. More... | |
lduInterfaceFieldPtrsList | scalarInterfaces () const |
Return a list of pointers for each patch field with only those. More... | |
void | writeEntry (const word &keyword, Ostream &os) const |
Write boundary field as dictionary entry. More... | |
void | operator= (const GeometricBoundaryField &) |
Assignment to BoundaryField<Type, PatchField, BoundaryMesh> More... | |
void | operator= (const FieldField< PatchField, Type > &) |
Assignment to FieldField<PatchField, Type> More... | |
void | operator= (const Type &) |
Assignment to Type. More... | |
void | operator== (const GeometricBoundaryField &) |
Forced assignment to. More... | |
void | operator== (const FieldField< PatchField, Type > &) |
Forced assignment to FieldField<PatchField, Type> More... | |
void | operator== (const Type &) |
Forced assignment to Type. More... | |
![]() | |
FieldField () | |
Construct null. More... | |
FieldField (const label) | |
Construct given size. More... | |
FieldField (const word &, const FieldField< Field, Type > &) | |
Construct using the Field sizes from the given FieldField. More... | |
FieldField (const FieldField< Field, Type > &) | |
Construct as copy. More... | |
FieldField (FieldField< Field, Type > &, bool reUse) | |
Construct as copy or re-use as specified. More... | |
FieldField (const PtrList< Field< Type > > &) | |
Construct as copy of a PtrList<Field, Type> More... | |
FieldField (const tmp< FieldField< Field, Type > > &) | |
Construct as copy of tmp<FieldField> More... | |
FieldField (Istream &) | |
Construct from Istream. More... | |
tmp< FieldField< Field, Type > > | clone () const |
Clone. More... | |
void | negate () |
Negate this field. More... | |
tmp< FieldField< Field, cmptType > > | component (const direction) const |
Return a component field of the field. More... | |
void | replace (const direction, const FieldField< Field, cmptType > &) |
Replace a component field of the field. More... | |
void | replace (const direction, const cmptType &) |
Replace a component field of the field. More... | |
tmp< FieldField< Field, Type > > | T () const |
Return the field transpose (only defined for second rank tensors) More... | |
void | operator= (const FieldField< Field, Type > &) |
void | operator= (const tmp< FieldField< Field, Type > > &) |
void | operator= (const Type &) |
void | operator+= (const FieldField< Field, Type > &) |
void | operator+= (const tmp< FieldField< Field, Type > > &) |
void | operator+= (const Type &) |
void | operator-= (const FieldField< Field, Type > &) |
void | operator-= (const tmp< FieldField< Field, Type > > &) |
void | operator-= (const Type &) |
void | operator*= (const FieldField< Field, scalar > &) |
void | operator*= (const tmp< FieldField< Field, scalar > > &) |
void | operator*= (const scalar &) |
void | operator/= (const FieldField< Field, scalar > &) |
void | operator/= (const tmp< FieldField< Field, scalar > > &) |
void | operator/= (const scalar &) |
Private Attributes | |
const BoundaryMesh & | bmesh_ |
Reference to BoundaryMesh for which this field is defined. More... | |
Additional Inherited Members | |
![]() | |
typedef pTraits< Type >::cmptType | cmptType |
Component type. More... | |
![]() | |
static tmp< FieldField< Field, Type > > | NewCalculatedType (const FieldField< Field, Type2 > &ff) |
Return a pointer to a new calculatedFvPatchFieldField created on. More... | |
Definition at line 105 of file GeometricField.H.
GeometricBoundaryField | ( | const BoundaryMesh & | ) |
Construct from a BoundaryMesh.
GeometricBoundaryField | ( | const BoundaryMesh & | , |
const DimensionedInternalField & | , | ||
const word & | |||
) |
Construct from a BoundaryMesh,.
reference to the internal field and a patch type
GeometricBoundaryField | ( | const BoundaryMesh & | , |
const DimensionedInternalField & | , | ||
const wordList & | wantedPatchTypes, | ||
const wordList & | actualPatchTypes = wordList() |
||
) |
Construct from a BoundaryMesh,.
reference to the internal field and a wordList of patch types and optional the actual patch types (to override constraint patches)
GeometricBoundaryField | ( | const BoundaryMesh & | , |
const DimensionedInternalField & | , | ||
const PtrList< PatchField< Type > > & | |||
) |
Construct from a BoundaryMesh,.
reference to the internal field and a PtrList<PatchField<Type> >
GeometricBoundaryField | ( | const DimensionedInternalField & | , |
const GeometricBoundaryField & | |||
) |
Construct as copy setting the reference to the internal field.
GeometricBoundaryField | ( | const GeometricBoundaryField & | ) |
Construct as copy.
Dangerous because Field may be set to a field which gets deleted Need new type of BoundaryField, one which is part of a geometric field for which snGrad etc. may be called and a free standing BoundaryField for which such operations are unavailable.
GeometricBoundaryField | ( | const BoundaryMesh & | , |
const DimensionedInternalField & | , | ||
const dictionary & | |||
) |
Construct from dictionary.
void readField | ( | const DimensionedField< Type, GeoMesh > & | field, |
const dictionary & | dict | ||
) |
Read the boundary field.
Definition at line 34 of file GeometricBoundaryField.C.
References clear(), dict, Foam::constant::electromagnetic::e, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, forAllConstIter(), found, Foam::Info, Foam::name(), Foam::compressible::New(), patchi, setSize(), and Foam::type().
void updateCoeffs | ( | ) |
Update the boundary condition coefficients.
Definition at line 447 of file GeometricBoundaryField.C.
References Foam::endl(), forAll, Foam::Info, and patchi.
Referenced by kOmegaSSTDES< BasicTurbulenceModel >::correct(), LamBremhorstKE::correct(), ShihQuadraticKE::correct(), LienLeschziner::correct(), LienCubicKE::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::correct(), and main().
void evaluate | ( | ) |
Evaluate boundary conditions.
Definition at line 465 of file GeometricBoundaryField.C.
References UPstream::blocking, UPstream::commsTypeNames, UPstream::defaultCommsType, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, UPstream::nonBlocking, UPstream::nRequests(), UPstream::parRun(), patchi, UPstream::scheduled, and UPstream::waitRequests().
Referenced by motionSmootherAlgo::correctBoundaryConditions(), and motionSmootherAlgo::setDisplacementPatchFields().
Foam::wordList types | ( | ) | const |
Return a list of the patch types.
Definition at line 534 of file GeometricBoundaryField.C.
References forAll, and patchi.
Referenced by kOmega< BasicTurbulenceModel >::epsilon(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::epsilon(), mixtureKEpsilon< BasicTurbulenceModel >::epsilonBoundaryTypes(), basicThermo::heBoundaryTypes(), psiuReactionThermo::heuBoundaryTypes(), thermoSingleLayer::hsBoundaryTypes(), mixtureKEpsilon< BasicTurbulenceModel >::initMixtureFields(), kkLOmega::k(), and velocityDisplacementMotionSolver::pointDisplacementBoundaryTypes().
Foam::GeometricField< Type, PatchField, GeoMesh >::GeometricBoundaryField boundaryInternalField | ( | ) | const |
Return BoundaryField of the cell values neighbouring.
the boundary
Definition at line 552 of file GeometricBoundaryField.C.
Foam::LduInterfaceFieldPtrsList< Type > interfaces | ( | ) | const |
Return a list of pointers for each patch field with only those.
pointing to interfaces being set
Definition at line 570 of file GeometricBoundaryField.C.
References forAll, Foam::isA(), patchi, Foam::refCast(), and UPtrList< const LduInterfaceField< Type > >::set().
Foam::lduInterfaceFieldPtrsList scalarInterfaces | ( | ) | const |
Return a list of pointers for each patch field with only those.
pointing to interfaces being set
Definition at line 596 of file GeometricBoundaryField.C.
References forAll, patchi, and UPtrList::set().
Write boundary field as dictionary entry.
Definition at line 621 of file GeometricBoundaryField.C.
References token::BEGIN_BLOCK, IOstream::check(), Foam::decrIndent(), token::END_BLOCK, Foam::endl(), forAll, Foam::incrIndent(), Foam::indent(), IOstream::name(), Foam::nl, and patchi.
void operator= | ( | const GeometricBoundaryField & | ) |
Assignment to BoundaryField<Type, PatchField, BoundaryMesh>
void operator= | ( | const FieldField< PatchField, Type > & | ) |
Assignment to FieldField<PatchField, Type>
void operator= | ( | const Type & | ) |
Assignment to Type.
void operator== | ( | const GeometricBoundaryField & | ) |
Forced assignment to.
BoundaryField<Type, PatchField, BoundaryMesh>
void operator== | ( | const FieldField< PatchField, Type > & | ) |
Forced assignment to FieldField<PatchField, Type>
void operator== | ( | const Type & | ) |
Forced assignment to Type.
|
private |
Reference to BoundaryMesh for which this field is defined.
Definition at line 112 of file GeometricField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.