Classes | |
struct | WallLocationDataType |
Functions | |
List< labelPair > | getChangedPatchAndFaces (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction) |
Get initial set of changed faces. More... | |
template<class FvWallInfoType , class TrackingData , template< class > class PatchField, class GeoMesh , class ... DataType> | |
label | wave (const fvMesh &mesh, const List< labelPair > &changedPatchAndFaces, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, TrackingData &td, GeometricField< DataType, PatchField, GeoMesh > &... data) |
Wave distance (and maybe additional) data from faces. If nCorrections is. More... | |
template<template< class > class PatchField, class GeoMesh > | |
label | calculate (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance) |
Calculate distance data from patches. More... | |
template<template< class > class PatchField, class GeoMesh > | |
void | correct (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance) |
Correct distance data from patches. More... | |
template<template< class > class PatchField, class GeoMesh > | |
label | calculateAndCorrect (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance) |
Calculate and correct distance data from patches. More... | |
template<template< class > class WallLocation, class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
label | calculate (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Calculate distance and additional data from patches, using an. More... | |
template<template< class > class WallLocation, class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
void | correct (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Correct distance and additional data from patches, using an. More... | |
template<template< class > class WallLocation, class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
label | calculateAndCorrect (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Calculate and correct distance and additional data from patches, using an. More... | |
template<class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
label | calculate (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Calculate distance and additional data from patches. More... | |
template<class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
void | correct (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Correct distance and additional data from patches. More... | |
template<class DataType , template< class > class PatchField, class GeoMesh , class TrackingData = int> | |
label | calculateAndCorrect (const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, const label nCorrections, GeometricField< scalar, PatchField, GeoMesh > &distance, GeometricField< DataType, PatchField, GeoMesh > &data, TrackingData &td=FvFaceCellWave< nil >::defaultTrackingData_) |
Calculate and correct distance and additional data from patches. More... | |
template<class FvWallInfoType , class TrackingData > | |
const List< FvWallInfoType > & | getInternalInfo (const volScalarField &distance, FvFaceCellWave< FvWallInfoType, TrackingData > &wave) |
List<labelPair> Foam::fvPatchDistWave::getChangedPatchAndFaces | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction | ||
) |
Get initial set of changed faces.
label Foam::fvPatchDistWave::wave | ( | const fvMesh & | mesh, |
const List< labelPair > & | changedPatchAndFaces, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
TrackingData & | td, | ||
GeometricField< DataType, PatchField, GeoMesh > &... | data | ||
) |
Wave distance (and maybe additional) data from faces. If nCorrections is.
negative (-1) then the wave propagates through the entire mesh and all values are calculated. If nCorrections is positive, then this many wave steps are computed and the result is corrected only on cells and faces that the wave reaches. Don't use this directly. Use calculate/correct/calculateAndCorrect functions below.
Referenced by getInternalInfo(), cellsToCellsStabilisation::update(), and patchToPatchStabilisation::update().
label Foam::fvPatchDistWave::calculate | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance | ||
) |
Calculate distance data from patches.
Referenced by rotorDisk::addSup(), radiationModel::correct(), PsiThermo< Thermo >::correct(), RhoFluidThermo< BaseThermo >::correct(), PsiuMulticomponentThermo< BaseThermo >::correct(), SolidThermo< BaseThermo >::correct(), KocamustafaogullariIshiiDepartureDiameter::dDeparture(), TolubinskiKostanchuk::dDeparture(), Cole::fDeparture(), KocamustafaogullariIshiiDepartureFrequency::fDeparture(), KocamustafaogullariIshiiNucleationSite::nucleationSiteDensity(), LemmertChawla::nucleationSiteDensity(), inverseDistanceDiffusivity::operator()(), inverseFaceDistanceDiffusivity::operator()(), cellsToCells::update(), cosine::wetFraction(), Lavieville::wetFraction(), and linear::wetFraction().
void Foam::fvPatchDistWave::correct | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance | ||
) |
Correct distance data from patches.
Referenced by nearWallDist::nearWallDist().
label Foam::fvPatchDistWave::calculateAndCorrect | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance | ||
) |
Calculate and correct distance data from patches.
Referenced by meshWave::correct().
label Foam::fvPatchDistWave::calculate | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Calculate distance and additional data from patches, using an.
arbitrary wall location wave class
void Foam::fvPatchDistWave::correct | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Correct distance and additional data from patches, using an.
arbitrary wall location wave class
label Foam::fvPatchDistWave::calculateAndCorrect | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Calculate and correct distance and additional data from patches, using an.
arbitrary wall location wave class
label Foam::fvPatchDistWave::calculate | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Calculate distance and additional data from patches.
void Foam::fvPatchDistWave::correct | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Correct distance and additional data from patches.
label Foam::fvPatchDistWave::calculateAndCorrect | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs, | ||
const scalar | minFaceFraction, | ||
const label | nCorrections, | ||
GeometricField< scalar, PatchField, GeoMesh > & | distance, | ||
GeometricField< DataType, PatchField, GeoMesh > & | data, | ||
TrackingData & | td = FvFaceCellWave< nil >::defaultTrackingData_ |
||
) |
Calculate and correct distance and additional data from patches.
const List<FvWallInfoType>& Foam::fvPatchDistWave::getInternalInfo | ( | const volScalarField & | distance, |
FvFaceCellWave< FvWallInfoType, TrackingData > & | wave | ||
) |
Definition at line 37 of file fvPatchDistWaveTemplates.C.
References wave().