Cell to surface interpolation scheme. Included in fvMesh. More...
Public Member Functions | |
ClassName ("surfaceInterpolation") | |
surfaceInterpolation (const fvMesh &) | |
Construct given an fvMesh. More... | |
~surfaceInterpolation () | |
Destructor. More... | |
const surfaceScalarField & | weights () const |
Return reference to linear difference weighting factors. More... | |
const surfaceScalarField & | deltaCoeffs () const |
Return reference to cell-centre difference coefficients. More... | |
const surfaceScalarField & | nonOrthDeltaCoeffs () const |
Return reference to non-orthogonal cell-centre difference. More... | |
const surfaceVectorField & | nonOrthCorrectionVectors () const |
Return reference to non-orthogonality correction vectors. More... | |
bool | movePoints () |
Do what is necessary if the mesh has moved. More... | |
Protected Member Functions | |
void | clearOut () |
Clear all geometry and addressing. More... | |
Cell to surface interpolation scheme. Included in fvMesh.
Definition at line 52 of file surfaceInterpolation.H.
|
explicit |
Construct given an fvMesh.
Definition at line 56 of file surfaceInterpolation.C.
~surfaceInterpolation | ( | ) |
Destructor.
Definition at line 68 of file surfaceInterpolation.C.
References surfaceInterpolation::clearOut().
|
protected |
Clear all geometry and addressing.
Definition at line 45 of file surfaceInterpolation.C.
References Foam::deleteDemandDrivenData().
Referenced by fvMesh::addPatch(), fvMesh::clearOut(), fvMesh::conform(), fvMesh::distribute(), fvMesh::mapMesh(), fvMesh::reset(), fvMesh::topoChange(), fvMesh::unconform(), and surfaceInterpolation::~surfaceInterpolation().
ClassName | ( | "surfaceInterpolation" | ) |
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(), linearUpwindV< Type >::correction(), pointLinear< Type >::correction(), surfaceInterpolation::movePoints(), and fvPatch::weights().
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(), fvMeshStitcher::connect(), contactAngleForce::correct(), orthogonalSnGrad< Type >::deltaCoeffs(), fvPatch::deltaCoeffs(), fvMeshStitcher::disconnect(), gaussLaplacianScheme< Type, GType >::fvmLaplacianUncorrected(), Foam::min(), surfaceInterpolation::movePoints(), fvMeshStitcher::reconnect(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::surfaceScalarField & nonOrthDeltaCoeffs | ( | ) | const |
Return reference to non-orthogonal cell-centre difference.
coefficients
Definition at line 101 of file surfaceInterpolation.C.
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), correctedSnGrad< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), uncorrectedSnGrad< Type >::deltaCoeffs(), correctedSnGrad< Type >::deltaCoeffs(), faceCorrectedSnGrad< Type >::deltaCoeffs(), CentredFitSnGradScheme< Type, Polynomial, Stencil >::deltaCoeffs(), faceCorrectedSnGrad< Type >::fullGradCorrection(), and surfaceInterpolation::movePoints().
const Foam::surfaceVectorField & nonOrthCorrectionVectors | ( | ) | const |
Return reference to non-orthogonality correction vectors.
Definition at line 113 of file surfaceInterpolation.C.
Referenced by correctedSnGrad< Type >::fullGradCorrection().
bool movePoints | ( | ) |
Do what is necessary if the mesh has moved.
Definition at line 124 of file surfaceInterpolation.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), fvMesh::C(), primitiveMesh::cellCentres(), fvsPatchField< Type >::coupled(), Foam::deleteDemandDrivenData(), delta, surfaceInterpolation::deltaCoeffs(), Foam::dimLength, Foam::dimless, Foam::endl(), primitiveMesh::faceAreas(), primitiveMesh::faceCentres(), forAll, Foam::mag(), fvMesh::magSf(), Foam::max(), fvMesh::neighbour(), IOobject::NO_READ, IOobject::NO_WRITE, surfaceInterpolation::nonOrthDeltaCoeffs(), fvMesh::owner(), p, fvsPatchField< Type >::patch(), patchi, polyMesh::pointsInstance(), Foam::Pout, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), fvMesh::Sf(), surfaceInterpolation::weights(), and Foam::Zero.
Referenced by fvMesh::movePoints(), and fvMesh::setPoints().