TABSMDCalcMethod2.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (maxValue - minValue< SMALL)
 
 forAll (rrd, n)
 
 while (!found &&(n< 100))
 

Variables

scalar delta = rs/factorGamma
 
scalar minValue = min(d/2.0, 0.04*rs)
 
scalar maxValue = rs*4.0
 
scalar range = maxValue - minValue
 
scalar nExp = 3.5
 
FixedList< scalar, 100 > rrd
 
scalar probFactorMin = exp(-pow(minValue/delta, nExp))
 
scalar probFactorMax = exp(-pow(maxValue/delta, nExp))
 
scalar probFactor = 1./(probFactorMin - probFactorMax)
 
label n = 0
 
bool found = false
 
scalar random = rndGen.sample01<scalar>()
 
 rNew = minValue + range*(n - 0.5)/100.0
 

Function Documentation

◆ if()

if ( )

Definition at line 12 of file TABSMDCalcMethod2.H.

References maxValue, and minValue.

◆ forAll()

forAll ( rrd  ,
n   
)

Definition at line 25 of file TABSMDCalcMethod2.H.

References delta, Foam::exp(), minValue, n, nExp, Foam::pow(), probFactor, probFactorMin, range, and rrd.

Here is the call graph for this function:

◆ while()

while ( !found &&  n< 100)

Definition at line 35 of file TABSMDCalcMethod2.H.

References found, n, random, and rrd.

Variable Documentation

◆ delta

scalar delta = rs/factorGamma

Definition at line 5 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ minValue

scalar minValue = min(d/2.0, 0.04*rs)

Definition at line 7 of file TABSMDCalcMethod2.H.

Referenced by forAll(), and if().

◆ maxValue

scalar maxValue = rs*4.0

Definition at line 8 of file TABSMDCalcMethod2.H.

Referenced by if().

◆ range

scalar range = maxValue - minValue

Definition at line 10 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ nExp

scalar nExp = 3.5

Definition at line 18 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ rrd

FixedList<scalar, 100> rrd

Definition at line 19 of file TABSMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ probFactorMin

scalar probFactorMin = exp(-pow(minValue/delta, nExp))

Definition at line 21 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ probFactorMax

scalar probFactorMax = exp(-pow(maxValue/delta, nExp))

Definition at line 22 of file TABSMDCalcMethod2.H.

◆ probFactor

scalar probFactor = 1./(probFactorMin - probFactorMax)

Definition at line 23 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ n

label n = 0

Definition at line 31 of file TABSMDCalcMethod2.H.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), preserveBaffles::add(), distribution::add(), Distribution< Type >::add(), snappyLayerDriver::addLayers(), temperatureCoupledBase::alpha(), List< vectorField >::append(), DynamicList< Foam::FixedList< scalar, 3 > >::append(), setAndNormalToFaceZone::applyToSet(), normalToFace::applyToSet(), face::areaNormal(), Foam::average(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), binaryTree< CompType, ThermoType >::balance(), Foam::BitOps::bit_count(), faceAreaIntersect::calc(), Foam::meshTools::calcBoxPointNormals(), maxDeltaxyz::calcDelta(), cellToFaceStencil::calcFaceStencil(), cutCell::calcGeomDataCutFace(), faceAreaWeightAMI::calcInterArea(), decomposedBlockData::calcNumProcs(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), sampledSet::calcSign(), cutFace::calcSubFaceCentreAndArea(), fieldAverageItem::calculateMeanField(), nutUBlendedWallFunctionFvPatchScalarField::calcUTau(), dynamicOversetFvMesh::cellAverage(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), triSurface::checkTriangles(), averageNeighbourFvGeometryScheme::clipFaceTet(), averageNeighbourFvGeometryScheme::clipPyramids(), triFace::collapse(), edge::collapse(), pointConstraint::combine(), constraintProjection::computeCorrection(), reconstructedDistanceFunction::constructRDF(), face::contactSphereDiameter(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), contactAngleForce::correct(), exact::correct(), meshWave::correct(), directionalMeshWave::correct(), Poisson::correct(), LRR< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), regionProperties::count(), CStringList::count(), edge::count(), argList::count(), meshRefinement::countFaceDirs(), ReynoldsAnalogy::Cp(), Foam::BitSetOps::create(), filmTurbulenceModel::Cw(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), patchIdentifier::defaultName(), geometricSurfacePatch::defaultName(), surfZoneIdentifier::defaultName(), Foam::discard(), faceSet::distribute(), pointSet::distribute(), cellSet::distribute(), Foam::fam::div(), Foam::fac::div(), dmat_transpose_print(), dmat_transpose_print_some(), dmat_uniform(), dtris2(), meshRefinement::dupNonManifoldBoundaryPoints(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_print(), dvec_swap(), faPatch::edgeNormals(), triSurfaceTools::edgeSide(), foamVtkBase64Layer::encodedLength(), base64Layer::encodedLength(), formatter::encodedLength(), edge::erase(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), NASCore::faceDecomposition(), ABAQUSCore::faceDecomposition(), primitiveMeshTools::faceFlatness(), Patch::faceNormals(), cellQuality::faceSkewness(), faceTriangulation::faceTriangulation(), Foam::factorial(), Antal::Fi(), TomiyamaWallLubrication::Fi(), Frank::Fi(), refinementSurfaces::findAllIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), meshRefinement::findRegions(), face::flip(), for(), forAll(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), Foam::gAverage(), meshRefinement::gAverage(), fvMeshDistribute::generateTestField(), get_edge_list(), get_num_edges_list(), boundaryMesh::getNearest(), searchablePlane::getNormal(), Foam::fac::grad(), if(), imat_transpose_print(), imat_transpose_print_some(), memorybuf::in::in(), Foam::Math::incGammaRatio_Q(), formatter::indent(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< Foam::DSMCCloud >::info(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::info(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurfaceAndDirection(), Foam::stringOps::inplaceRemoveComments(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), triangle2D::interArea(), Foam::interpolate(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), interpolationTable< scalar >::interpolateValue(), Foam::interpolateXY(), intersectedSurface::intersectedSurface(), updateMethod::inv(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), wallBoundedParticle::isTriAlongTrack(), ivec_heap_d(), ivec_indicator(), ivec_sort_heap_a(), ivec_sorted_unique(), Foam::Elliptic::JacobiAmp(), thermoCoupleProbes::jacobian(), temperatureCoupledBase::kappa(), dictionary::keys(), thermo< Thermo, Type >::Kn(), Foam::MSwindows::lastError(), lduPrimitiveMesh::lduPrimitiveMesh(), LUscalarMatrix::LUscalarMatrix(), primitiveMeshTools::makeFaceCentresAndAreas(), deltaBoundary::makeFaceCentresAndAreas_d(), averageNeighbourFvGeometryScheme::makePyrHeights(), gradAlpha::mapAlphaField(), plicRDF::mapAlphaField(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), McCowan::mn(), Cloud< passivePositionParticle >::move(), regionModel1D::moveMesh(), Foam::mvBak(), regionProperties::names(), ijkMesh::nBoundaryFaces(), Foam::fac::ndiv(), List< vectorField >::newElmt(), McCowan::newtonRapsonF2(), sliceRange::indexer::next(), ijkMesh::nFaces(), surfaceWriter::nFields(), faPatch::ngbPolyPatchPointNormals(), Foam::fac::ngrad(), ijkMesh::nInternalFaces(), surfaceLocation::normal(), dynamicOversetFvMesh::normalisation(), ijkMesh::nPoints(), MeshedSurface< Foam::face >::nTriangles(), TroeFallOffFunction::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), csvTableReader< Type >::operator()(), sector::operator()(), polyline::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), UPtrList< T >::iterator::operator+(), IntRange< IntType >::const_iterator::operator+(), sliceRange::const_iterator::operator+(), UPtrList< T >::const_iterator::operator+(), IntRange< IntType >::const_reverse_iterator::operator+(), sliceRange::const_reverse_iterator::operator+(), IntRange< label >::operator+=(), UPtrList< T >::iterator::operator+=(), IntRange< IntType >::const_iterator::operator+=(), sliceRange::const_iterator::operator+=(), UPtrList< T >::const_iterator::operator+=(), IntRange< IntType >::const_reverse_iterator::operator+=(), sliceRange::const_reverse_iterator::operator+=(), Matrix< RectangularMatrix< Type >, Type >::operator+=(), UPtrList< T >::iterator::operator-(), IntRange< IntType >::const_iterator::operator-(), sliceRange::const_iterator::operator-(), UPtrList< T >::const_iterator::operator-(), IntRange< IntType >::const_reverse_iterator::operator-(), sliceRange::const_reverse_iterator::operator-(), IntRange< label >::operator-=(), UPtrList< T >::iterator::operator-=(), IntRange< IntType >::const_iterator::operator-=(), sliceRange::const_iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), IntRange< IntType >::const_reverse_iterator::operator-=(), sliceRange::const_reverse_iterator::operator-=(), Matrix< RectangularMatrix< Type >, Type >::operator-=(), Foam::operator<<(), SymmetricSquareMatrix< Type >::operator=(), SquareMatrix< cmptType >::operator=(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::operator=(), interpolationTable< scalar >::operator[](), interpolationLookUpTable< scalar >::operator[](), UPtrList< T >::iterator::operator[](), IntRange< IntType >::const_iterator::operator[](), sliceRange::const_iterator::operator[](), UPtrList< T >::const_iterator::operator[](), IntRange< IntType >::const_reverse_iterator::operator[](), sliceRange::const_reverse_iterator::operator[](), memorybuf::out::out(), faceAreaWeightAMI::overlaps(), faceAreaIntersect::overlaps(), scalarRanges::parse(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), particle< Type >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), noiseFFT::Pf(), noiseModel::Pf(), primitiveMesh::pointCells(), cyclicAMIPolyPatch::pointFace(), ijkMesh::pointLabel(), PatchTools::pointNormals(), points_delaunay_naive_2d(), eddy::position(), polyline::positionAndDirection(), RecycleInteraction< CloudType >::postEvolve(), FaceInteraction< CloudType >::postFace(), sliceRange::indexer::prev(), decompositionInformation::printDetails(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), surfaceFieldValue::processValues(), projectFace::project(), cellModel::ptr(), interpolationTable< scalar >::rateOfChange(), face::ray(), triangle< Point, PointRef >::ray(), Foam::readBlock(), STARCDMeshReader::readCells(), ensightSurfaceReader::readField(), reader::readField(), SR1::readFromDict(), DBFGS::readFromDict(), BFGS::readFromDict(), FIREMeshReader::readPoints(), FIRECore::readPoints(), fft::realTransform1D(), string::removeEnd(), AMIWeights::reportPatch(), OListStreamAllocator::reserve(), fieldSelection::resetFieldFilters(), adaptiveSolver::resize(), SquareMatrix< cmptType >::resize(), IntRange< label >::resize(), FixedList< Type, 3 >::resize(), Matrix< RectangularMatrix< Type >, Type >::resize(), FixedList< Type, 3 >::resize_nocopy(), ODESolver::resizeField(), Foam::reverse(), ReynoldsAnalogy::rho(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::S(), s_len_trim(), general::sample(), mappedPatchBase::samplePoints(), PPCG::scalarSolveCG(), UPtrList< const Foam::UList >::setAddressableSize(), UList< Foam::wordRe >::setAddressableSize(), PtrListDetail< const Foam::UList >::setAddressableSize(), OListStreamAllocator::setBlockSize(), rotorDiskSource::setFaceArea(), faceSetOption::setFaceSelection(), vtuSizing::setNumAddPoints(), vtuSizing::setNumPoints(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), IntRange< label >::setSize(), Matrix< RectangularMatrix< Type >, Type >::setSize(), PackedList< 2 >::setSize(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), cellQuality::skewness(), ensightSurfaceReader::skip(), ITstream::skip(), ParSortableList< Type >::sort(), regionProperties::sortedNames(), meshRefinement::splitFacesUndo(), SquareMatrix< cmptType >::SquareMatrix(), AMIInterpolation::srcPointFace(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), string::string_printf(), ensightFile::subDir(), ensightFile::subDirWidth(), masterUncollatedFileOperation::subRanks(), reconstructionSchemes::surface(), interfaceTrackingFvMesh::surfaceTensionGrad(), SquareMatrix< cmptType >::symmetric(), SymmetricSquareMatrix< Type >::SymmetricSquareMatrix(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), fvMeshDistribute::testField(), AMIInterpolation::tgtPointFace(), dictionary::toc(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), triangle< Point, PointRef >::triangleOverlap(), MeshedSurface< Foam::face >::triangulate(), SquareMatrix< cmptType >::tridiagonal(), pointConstraint::unconstrainedDirections(), triFace::unitNormal(), face::unitNormal(), triangle< Point, PointRef >::unitNormal(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), turbulentDFSEMInletFvPatchVectorField::updateCoeffs(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), solverInfo::updateSolverInfo(), eddy::uPrime(), movingWallVelocityFvPatchVectorField::Uwall(), sliceRange::indexer::value(), Foam::meshTools::visNormal(), faNVDscheme< Type, NVDweight >::weights(), while(), ensightCase::options::width(), Foam::vtk::write(), foamVtkBase64Layer::write(), legacyRawFormatter::write(), appendRawFormatter::write(), ABAQUSsurfaceFormat< Face >::write(), base64Layer::write(), OBJstream::write(), areaWrite::write(), Foam::vtk::write< double >(), Foam::vtk::write< float >(), Foam::vtk::write< label >(), eddy::writeCentreOBJ(), topoSet::writeDebug(), advancingFrontAMI::writeIntersectionOBJ(), MeshedSurface< Foam::face >::writeStats(), eddy::writeSurfaceOBJ(), streamLineBase::writeToFile(), Foam::Xinterpolate(), memorybuf::in::xsgetn(), countstreambuf::xsputn(), memorybuf::out::xsputn(), Foam::XstepForwardsToNextPoint(), and meshRefinement::zonify().

◆ found

bool found = false

Definition at line 32 of file TABSMDCalcMethod2.H.

Referenced by fieldAverage::addMeanFieldType(), fieldAverage::addPrime2MeanFieldType(), cellZoneSet::addSet(), pointZoneSet::addSet(), IOobjectList::append(), directMethod::appendToDirectSeeds(), List< vectorField >::appendUniq(), DynamicList< Foam::FixedList< scalar, 3 > >::appendUniq(), patchInteractionDataList::applyToPatch(), argList::argList(), addPatchCellLayer::calcExtrudeInfo(), enrichedPatch::checkSupport(), AMIInterpolation::checkSymmetricWeights(), fvPatch::constraintType(), polyPatch::constraintType(), eddy::eddy(), HashPtrTable< exprResult >::emplace(), Foam::findEtcEntry(), Foam::findEtcFile(), Foam::FOAM_DEPRECATED_FOR(), properties::foundObjectProperty(), parseDriver::getField(), argList::getList(), properties::getObjectDict(), properties::getObjectProperty(), properties::getObjectResult(), argList::getOrDefault(), Foam::hasBadEntries(), properties::hasObjectDict(), properties::hasResultObject(), properties::hasResultObjectEntry(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), processorFaPatch::makeNonGlobalPatchPoints(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::meshEdges(), triSurface::New(), properties::objectResultEntries(), properties::objectResultNames(), properties::objectResultType(), scalars::operator()(), HashSet< word, Hash< word > >::operator()(), Foam::operator==(), HashSet< word, Hash< word > >::operator==(), HashSet< word, Hash< word > >::operator[](), HashSet< word, Hash< word > >::operator^=(), dictionary::operator|=(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), parseDriver::patchNormalField(), perm_check(), perrorParse(), phaseSystem::phaseSystem(), Foam::printBadEntries(), Foam::printManOption(), eddyViscosity< RASModel< BasicTurbulenceModel > >::R(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), argList::readIfPresent(), argList::readListIfPresent(), PFA< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), schemesLookup::schemesDict(), timeSelector::select(), Time::setControls(), properties::setObjectProperty(), properties::setObjectResult(), solution::solutionDict(), twoPhaseSystem::solve(), cellZoneSet::subset(), pointZoneSet::subset(), Time::Time(), propellerInfo::updateSampleDiskCells(), while(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), FIREMeshWriter::write(), areaWrite::write(), properties::writeAllResultEntries(), properties::writeResultEntries(), and nastranWriter::writeTemplate().

◆ random

scalar random = rndGen.sample01<scalar>()

Definition at line 33 of file TABSMDCalcMethod2.H.

Referenced by while().

◆ rNew

rNew = minValue + range*(n - 0.5)/100.0

Definition at line 45 of file TABSMDCalcMethod2.H.