Public Member Functions | Private Attributes
GeometricField::GeometricBoundaryField Class Reference
Inheritance diagram for GeometricField::GeometricBoundaryField:
Inheritance graph
[legend]
Collaboration diagram for GeometricField::GeometricBoundaryField:
Collaboration graph
[legend]

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...
 
- Public Member Functions inherited from FieldField< PatchField, Type >
 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 BoundaryMeshbmesh_
 Reference to BoundaryMesh for which this field is defined. More...
 

Additional Inherited Members

- Public Types inherited from FieldField< PatchField, Type >
typedef pTraits< Type >::cmptType cmptType
 Component type. More...
 
- Static Public Member Functions inherited from FieldField< PatchField, Type >
static tmp< FieldField< Field, Type > > NewCalculatedType (const FieldField< Field, Type2 > &ff)
 Return a pointer to a new calculatedFvPatchFieldField created on. More...
 

Detailed Description

Definition at line 105 of file GeometricField.H.

Constructor & Destructor Documentation

◆ GeometricBoundaryField() [1/7]

Construct from a BoundaryMesh.

◆ GeometricBoundaryField() [2/7]

GeometricBoundaryField ( const BoundaryMesh ,
const DimensionedInternalField ,
const word  
)

Construct from a BoundaryMesh,.

reference to the internal field and a patch type

◆ GeometricBoundaryField() [3/7]

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() [4/7]

GeometricBoundaryField ( const BoundaryMesh ,
const DimensionedInternalField ,
const PtrList< PatchField< Type > > &   
)

Construct from a BoundaryMesh,.

reference to the internal field and a PtrList<PatchField<Type> >

◆ GeometricBoundaryField() [5/7]

Construct as copy setting the reference to the internal field.

◆ GeometricBoundaryField() [6/7]

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() [7/7]

GeometricBoundaryField ( const BoundaryMesh ,
const DimensionedInternalField ,
const dictionary  
)

Construct from dictionary.

Member Function Documentation

◆ readField()

void readField ( const DimensionedField< Type, GeoMesh > &  field,
const dictionary dict 
)

◆ updateCoeffs()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ evaluate()

void evaluate ( )

◆ types()

Foam::wordList types ( ) const

◆ boundaryInternalField()

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.

References forAll, and patchi.

◆ interfaces()

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().

Here is the call graph for this function:

◆ scalarInterfaces()

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().

Here is the call graph for this function:

◆ writeEntry()

void writeEntry ( const word keyword,
Ostream os 
) const

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.

Here is the call graph for this function:

◆ operator=() [1/3]

void operator= ( const GeometricBoundaryField )

Assignment to BoundaryField<Type, PatchField, BoundaryMesh>

◆ operator=() [2/3]

void operator= ( const FieldField< PatchField, Type > &  )

◆ operator=() [3/3]

void operator= ( const Type &  )

Assignment to Type.

◆ operator==() [1/3]

void operator== ( const GeometricBoundaryField )

Forced assignment to.

BoundaryField<Type, PatchField, BoundaryMesh>

◆ operator==() [2/3]

void operator== ( const FieldField< PatchField, Type > &  )

Forced assignment to FieldField<PatchField, Type>

◆ operator==() [3/3]

void operator== ( const Type &  )

Forced assignment to Type.

Field Documentation

◆ bmesh_

const BoundaryMesh& bmesh_
private

Reference to BoundaryMesh for which this field is defined.

Definition at line 112 of file GeometricField.H.


The documentation for this class was generated from the following files: