Foam::cyclicFaPatchField. More...
Public Member Functions | |
TypeName (cyclicFaPatch::typeName_()) | |
Runtime type information. More... | |
cyclicFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &) | |
Construct from patch and internal field. More... | |
cyclicFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
cyclicFaPatchField (const cyclicFaPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &) | |
Construct by mapping given cyclicFaPatchField onto a new patch. More... | |
cyclicFaPatchField (const cyclicFaPatchField< Type > &) | |
Construct as copy. More... | |
virtual tmp< faPatchField< Type > > | clone () const |
Construct and return a clone. More... | |
cyclicFaPatchField (const cyclicFaPatchField< Type > &, const DimensionedField< Type, areaMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< faPatchField< Type > > | clone (const DimensionedField< Type, areaMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const cyclicFaPatch & | cyclicPatch () const |
Return local reference cast into the cyclic patch. More... | |
virtual tmp< Field< Type > > | patchNeighbourField () const |
Return neighbour coupled given internal cell data. More... | |
virtual void | transformCoupleField (solveScalarField &f, const direction cmpt) const |
Transform neighbour field. More... | |
virtual void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
Update result field based on interface functionality. More... | |
virtual void | updateInterfaceMatrix (Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &, const scalarField &coeffs, const Pstream::commsTypes commsType) const |
Update result field based on interface functionality. More... | |
virtual bool | doTransform () const |
Cyclic coupled interface functions. More... | |
virtual const tensorField & | forwardT () const |
Return face transformation tensor. More... | |
virtual const tensorField & | reverseT () const |
Return neighbour-cell transformation tensor. More... | |
virtual int | rank () const |
Return rank of component for transform. More... | |
![]() | |
TypeName ("cyclicLduInterfaceField") | |
Runtime type information. More... | |
cyclicLduInterfaceField ()=default | |
Construct null. More... | |
virtual | ~cyclicLduInterfaceField ()=default |
Destructor. More... | |
template<class Type > | |
void | transformCoupleField (Field< Type > &f) const |
Transform given patch field. More... | |
void | transformCoupleField (solveScalarField &f, const direction cmpt) const |
Transform given patch component field. More... | |
![]() | |
TypeName (coupledFaPatch::typeName_()) | |
Runtime type information. More... | |
coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &) | |
Construct from patch and internal field. More... | |
coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const Field< Type > &) | |
Construct from patch and internal field and patch field. More... | |
coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
coupledFaPatchField (const coupledFaPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &) | |
Construct by mapping the given coupledFaPatchField onto a new patch. More... | |
coupledFaPatchField (const coupledFaPatchField< Type > &) | |
Construct as copy. More... | |
coupledFaPatchField (const coupledFaPatchField< Type > &, const DimensionedField< Type, areaMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual bool | coupled () const |
Return true if this patch field is derived from. More... | |
virtual tmp< Field< Type > > | snGrad () const |
Return patch-normal gradient. More... | |
virtual void | initEvaluate (const Pstream::commsTypes commsType) |
Initialise the evaluation of the patch field. More... | |
virtual void | evaluate (const Pstream::commsTypes commsType) |
Evaluate the patch field. More... | |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< scalarField > &) const |
Return the matrix diagonal coefficients corresponding to the. More... | |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< scalarField > &) const |
Return the matrix source coefficients corresponding to the. More... | |
virtual tmp< Field< Type > > | gradientInternalCoeffs () const |
Return the matrix diagonal coefficients corresponding to the. More... | |
virtual tmp< Field< Type > > | gradientBoundaryCoeffs () const |
Return the matrix source coefficients corresponding to the. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
![]() | |
TypeName ("lduInterfaceField") | |
Runtime type information. More... | |
lduInterfaceField (const lduInterface &patch) | |
Construct given coupled patch. More... | |
virtual | ~lduInterfaceField ()=default |
Destructor. More... | |
const lduInterface & | interface () const |
Return the interface. More... | |
virtual const word & | interfaceFieldType () const |
Return the interface type. More... | |
bool | updatedMatrix () const |
Whether matrix has been updated. More... | |
bool & | updatedMatrix () |
Whether matrix has been updated. More... | |
virtual bool | ready () const |
Is all data available. More... | |
virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
template<class Type > | |
void | addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const |
Add/subtract weighted contributions to internal field. More... | |
![]() | |
TypeName ("faPatchField") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, faPatchField, patch,(const faPatch &p, const DimensionedField< Type, areaMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (tmp, faPatchField, patchMapper,(const faPatchField< Type > &ptf, const faPatch &p, const DimensionedField< Type, areaMesh > &iF, const faPatchFieldMapper &m),(dynamic_cast< const faPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (tmp, faPatchField, dictionary,(const faPatch &p, const DimensionedField< Type, areaMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &) | |
Construct from patch and internal field. More... | |
faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const Field< Type > &) | |
Construct from patch and internal field and patch field. More... | |
faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
faPatchField (const faPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &) | |
Construct by mapping the given faPatchField onto a new patch. More... | |
faPatchField (const faPatchField< Type > &) | |
Construct as copy. More... | |
faPatchField (const faPatchField< Type > &, const DimensionedField< Type, areaMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual | ~faPatchField ()=default |
Destructor. More... | |
const objectRegistry & | db () const |
Return local objectRegistry. More... | |
const faPatch & | patch () const |
Return patch. More... | |
const DimensionedField< Type, areaMesh > & | internalField () const |
Return dimensioned internal field reference. More... | |
const Field< Type > & | primitiveField () const |
Return internal field reference. More... | |
const word & | patchType () const |
Optional patch type. More... | |
word & | patchType () |
Optional patch type. More... | |
virtual bool | fixesValue () const |
Return true if this patch field fixes a value. More... | |
bool | updated () const |
Return true if the boundary condition has already been updated. More... | |
virtual void | autoMap (const faPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const faPatchField< Type > &, const labelList &) |
Reverse map the given faPatchField onto this faPatchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual tmp< Field< Type > > | patchInternalField () const |
Return internal field next to patch as patch field. More... | |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< Field< scalar >> &) const |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< Field< scalar >> &) const |
void | check (const faPatchField< Type > &) const |
Check faPatchField<Type> against given faPatchField<Type> More... | |
virtual void | operator= (const UList< Type > &) |
virtual void | operator= (const faPatchField< Type > &) |
virtual void | operator+= (const faPatchField< Type > &) |
virtual void | operator-= (const faPatchField< Type > &) |
virtual void | operator*= (const faPatchField< scalar > &) |
virtual void | operator/= (const faPatchField< scalar > &) |
virtual void | operator+= (const Field< Type > &) |
virtual void | operator-= (const Field< Type > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator= (const Type &) |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
virtual void | operator== (const faPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
template<class Type2 > | |
Foam::tmp< Foam::faPatchField< Type > > | NewCalculatedType (const faPatchField< Type2 > &pf) |
Additional Inherited Members | |
![]() | |
typedef faPatch | Patch |
typedef calculatedFaPatchField< Type > | Calculated |
![]() | |
static tmp< faPatchField< Type > > | New (const word &patchFieldType, const word &actualPatchType, const faPatch &, const DimensionedField< Type, areaMesh > &) |
static tmp< faPatchField< Type > > | New (const word &patchFieldType, const faPatch &, const DimensionedField< Type, areaMesh > &) |
static tmp< faPatchField< Type > > | New (const faPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &) |
static tmp< faPatchField< Type > > | New (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &) |
template<class Type2 > | |
static tmp< faPatchField< Type > > | NewCalculatedType (const faPatchField< Type2 > &) |
static const word & | calculatedType () |
Return the type of the calculated for of faPatchField. More... | |
![]() | |
static int | disallowGenericFaPatchField |
Debug switch to disallow the use of. More... | |
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 59 of file cyclicFaPatchField.H.
cyclicFaPatchField | ( | const faPatch & | p, |
const DimensionedField< Type, areaMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file cyclicFaPatchField.C.
cyclicFaPatchField | ( | const faPatch & | p, |
const DimensionedField< Type, areaMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 72 of file cyclicFaPatchField.C.
References dict, Foam::stringOps::evaluate(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and p.
cyclicFaPatchField | ( | const cyclicFaPatchField< Type > & | ptf, |
const faPatch & | p, | ||
const DimensionedField< Type, areaMesh > & | iF, | ||
const faPatchFieldMapper & | mapper | ||
) |
Construct by mapping given cyclicFaPatchField onto a new patch.
Definition at line 47 of file cyclicFaPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, p, and Foam::foamVersion::patch.
cyclicFaPatchField | ( | const cyclicFaPatchField< Type > & | ptf | ) |
Construct as copy.
Definition at line 98 of file cyclicFaPatchField.C.
cyclicFaPatchField | ( | const cyclicFaPatchField< Type > & | ptf, |
const DimensionedField< Type, areaMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 110 of file cyclicFaPatchField.C.
TypeName | ( | cyclicFaPatch::typeName_() | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements coupledFaPatchField< Type >.
Definition at line 119 of file cyclicFaPatchField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Implements coupledFaPatchField< Type >.
Definition at line 136 of file cyclicFaPatchField.H.
|
inline |
Return local reference cast into the cyclic patch.
Definition at line 152 of file cyclicFaPatchField.H.
|
virtual |
Return neighbour coupled given internal cell data.
Implements coupledFaPatchField< Type >.
Definition at line 124 of file cyclicFaPatchField.C.
References tmp< T >::ref(), and Foam::transform().
|
inlinevirtual |
Transform neighbour field.
Implements coupledFaPatchField< Type >.
Definition at line 168 of file cyclicFaPatchField.H.
References f(), and cyclicLduInterfaceField::transformCoupleField().
|
virtual |
Update result field based on interface functionality.
Implements coupledFaPatchField< Type >.
Definition at line 164 of file cyclicFaPatchField.C.
References Foam::add(), and forAll.
|
virtual |
Update result field based on interface functionality.
Implements coupledFaPatchField< Type >.
Definition at line 209 of file cyclicFaPatchField.C.
References Foam::add(), and forAll.
|
inlinevirtual |
Cyclic coupled interface functions.
Does the patch field perform the transformation
Implements cyclicLduInterfaceField.
Definition at line 205 of file cyclicFaPatchField.H.
References coupledFaPatch::parallel().
|
inlinevirtual |
Return face transformation tensor.
Implements cyclicLduInterfaceField.
Definition at line 211 of file cyclicFaPatchField.H.
References cyclicFaPatch::forwardT().
|
inlinevirtual |
Return neighbour-cell transformation tensor.
Implements cyclicLduInterfaceField.
Definition at line 217 of file cyclicFaPatchField.H.
References cyclicFaPatch::reverseT().
|
inlinevirtual |
Return rank of component for transform.
Implements cyclicLduInterfaceField.
Definition at line 223 of file cyclicFaPatchField.H.