Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
surfaceInterpolation Class Reference

Cell to surface interpolation scheme. Included in fvMesh. More...

Inheritance diagram for surfaceInterpolation:
Inheritance graph
[legend]
Collaboration diagram for surfaceInterpolation:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("surfaceInterpolation")
 
 surfaceInterpolation (const fvMesh &)
 Construct given an fvMesh. More...
 
 ~surfaceInterpolation ()
 Destructor. More...
 
const surfaceScalarFieldweights () const
 Return reference to linear difference weighting factors. More...
 
const surfaceScalarFielddeltaCoeffs () const
 Return reference to cell-centre difference coefficients. More...
 
const surfaceScalarFieldnonOrthDeltaCoeffs () const
 Return reference to non-orthogonal cell-centre difference. More...
 
const surfaceVectorFieldnonOrthCorrectionVectors () const
 Return reference to non-orthogonality correction vectors. More...
 
bool movePoints ()
 Do what is neccessary if the mesh has moved. More...
 

Protected Member Functions

void clearOut ()
 Clear all geometry and addressing. More...
 

Private Member Functions

void makeWeights () const
 Construct central-differencing weighting factors. More...
 
void makeDeltaCoeffs () const
 Construct face-gradient difference factors. More...
 
void makeNonOrthDeltaCoeffs () const
 Construct face-gradient difference factors. More...
 
void makeNonOrthCorrectionVectors () const
 Construct non-orthogonality correction vectors. More...
 

Private Attributes

const fvMeshmesh_
 
surfaceScalarFieldweights_
 Linear difference weighting factors. More...
 
surfaceScalarFielddeltaCoeffs_
 Cell-centre difference coefficients. More...
 
surfaceScalarFieldnonOrthDeltaCoeffs_
 Non-orthogonal cell-centre difference coefficients. More...
 
surfaceVectorFieldnonOrthCorrectionVectors_
 Non-orthogonality correction vectors. More...
 

Detailed Description

Cell to surface interpolation scheme. Included in fvMesh.

Source files

Definition at line 52 of file surfaceInterpolation.H.

Constructor & Destructor Documentation

◆ surfaceInterpolation()

surfaceInterpolation ( const fvMesh fvm)
explicit

Construct given an fvMesh.

Definition at line 56 of file surfaceInterpolation.C.

◆ ~surfaceInterpolation()

Destructor.

Definition at line 68 of file surfaceInterpolation.C.

Member Function Documentation

◆ makeWeights()

void makeWeights ( ) const
private

Construct central-differencing weighting factors.

Definition at line 136 of file surfaceInterpolation.C.

References GeometricField::boundaryField(), Foam::dimless, Foam::endl(), forAll, GeometricField::internalField(), Foam::mag(), IOobject::NO_READ, IOobject::NO_WRITE, patchi, Foam::Pout, and w().

Here is the call graph for this function:

◆ makeDeltaCoeffs()

void makeDeltaCoeffs ( ) const
private

Construct face-gradient difference factors.

Definition at line 204 of file surfaceInterpolation.C.

References GeometricField::boundaryField(), C::C(), Foam::dimLength, Foam::dimless, Foam::endl(), forAll, Foam::mag(), IOobject::NO_READ, IOobject::NO_WRITE, patchi, and Foam::Pout.

Here is the call graph for this function:

◆ makeNonOrthDeltaCoeffs()

void makeNonOrthDeltaCoeffs ( ) const
private

Construct face-gradient difference factors.

Definition at line 252 of file surfaceInterpolation.C.

References GeometricField::boundaryField(), C::C(), delta, Foam::dimLength, Foam::dimless, Foam::endl(), forAll, Foam::mag(), Foam::max(), IOobject::NO_READ, IOobject::NO_WRITE, patchi, and Foam::Pout.

Here is the call graph for this function:

◆ makeNonOrthCorrectionVectors()

void makeNonOrthCorrectionVectors ( ) const
private

Construct non-orthogonality correction vectors.

Definition at line 317 of file surfaceInterpolation.C.

References GeometricField::boundaryField(), C::C(), fvsPatchField::coupled(), delta, Foam::dimless, Foam::endl(), forAll, IOobject::NO_READ, IOobject::NO_WRITE, p, fvsPatchField::patch(), patchi, Foam::Pout, and Vector< scalar >::zero.

Here is the call graph for this function:

◆ clearOut()

void clearOut ( )
protected

Clear all geometry and addressing.

Definition at line 45 of file surfaceInterpolation.C.

References Foam::deleteDemandDrivenData(), surfaceInterpolation::deltaCoeffs_, surfaceInterpolation::nonOrthCorrectionVectors_, surfaceInterpolation::nonOrthDeltaCoeffs_, and surfaceInterpolation::weights_.

Referenced by fvMesh::clearOut(), and fvMesh::updateMesh().

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

◆ ClassName()

ClassName ( "surfaceInterpolation"  )

◆ weights()

const Foam::surfaceScalarField & weights ( ) const

Return reference to linear difference weighting factors.

Definition at line 77 of file surfaceInterpolation.C.

Referenced by cubic< Type >::correction(), domainDecomposition::distributeCells(), and limitedSurfaceInterpolationScheme< Type >::weights().

Here is the caller graph for this function:

◆ deltaCoeffs()

const Foam::surfaceScalarField & deltaCoeffs ( ) const

Return reference to cell-centre difference coefficients.

Definition at line 89 of file surfaceInterpolation.C.

Referenced by CoBlended< Type >::blendingFactor(), CoEulerDdtScheme< Type >::CofrDeltaT(), contactAngleForce::correct(), orthogonalSnGrad< Type >::deltaCoeffs(), and reactingOneDim::solidRegionDiffNo().

Here is the caller graph for this function:

◆ nonOrthDeltaCoeffs()

const Foam::surfaceScalarField & nonOrthDeltaCoeffs ( ) const

Return reference to non-orthogonal cell-centre difference.

coefficients

Definition at line 101 of file surfaceInterpolation.C.

Referenced by correctedSnGrad< Type >::deltaCoeffs(), uncorrectedSnGrad< Type >::deltaCoeffs(), faceCorrectedSnGrad< Type >::deltaCoeffs(), CentredFitSnGradScheme< Type, Polynomial, Stencil >::deltaCoeffs(), and limitedSnGrad< Type >::deltaCoeffs().

Here is the caller graph for this function:

◆ nonOrthCorrectionVectors()

const Foam::surfaceVectorField & nonOrthCorrectionVectors ( ) const

Return reference to non-orthogonality correction vectors.

Definition at line 113 of file surfaceInterpolation.C.

◆ movePoints()

bool movePoints ( )

Do what is neccessary if the mesh has moved.

Definition at line 125 of file surfaceInterpolation.C.

References Foam::deleteDemandDrivenData().

Referenced by fvMesh::movePoints(), dynamicMotionSolverFvMesh::update(), dynamicInkJetFvMesh::update(), multiSolidBodyMotionFvMesh::update(), and solidBodyMotionFvMesh::update().

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

Field Documentation

◆ mesh_

const fvMesh& mesh_
private

Definition at line 57 of file surfaceInterpolation.H.

◆ weights_

surfaceScalarField* weights_
mutableprivate

Linear difference weighting factors.

Definition at line 62 of file surfaceInterpolation.H.

Referenced by surfaceInterpolation::clearOut().

◆ deltaCoeffs_

surfaceScalarField* deltaCoeffs_
mutableprivate

Cell-centre difference coefficients.

Definition at line 65 of file surfaceInterpolation.H.

Referenced by surfaceInterpolation::clearOut().

◆ nonOrthDeltaCoeffs_

surfaceScalarField* nonOrthDeltaCoeffs_
mutableprivate

Non-orthogonal cell-centre difference coefficients.

Definition at line 68 of file surfaceInterpolation.H.

Referenced by surfaceInterpolation::clearOut().

◆ nonOrthCorrectionVectors_

surfaceVectorField* nonOrthCorrectionVectors_
mutableprivate

Non-orthogonality correction vectors.

Definition at line 71 of file surfaceInterpolation.H.

Referenced by surfaceInterpolation::clearOut().


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