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, minValue, n, nExp, probFactor, probFactorMin, range, and rrd.

◆ 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(), temperatureCoupledBase::alpha(), List< T >::append(), DynamicList< T, SizeMin >::append(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), face::areaNormal(), Foam::average(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), binaryTree< CompType, ThermoType >::balance(), uniformBin::binAddr(), Foam::BitOps::bit_count(), Matrix< Form, Type >::block(), 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(), UList< CloudFunctionObject< CloudType > * >::cbegin(), dynamicOversetFvMesh::cellAverage(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), triSurface::checkTriangles(), averageNeighbourFvGeometryScheme::clipFaceTet(), averageNeighbourFvGeometryScheme::clipPyramids(), edge::collapse(), triFace::collapse(), Matrix< RectangularMatrix< Type >, Type >::columnNorm(), pointConstraint::combine(), constraintProjection::computeCorrection(), reconstructedDistanceFunction::constructRDF(), face::contactSphereDiameter(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), EBRSM< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), contactAngleForce::correct(), directionalMeshWave::correct(), advectionDiffusion::correct(), meshWave::correct(), Poisson::correct(), exact::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), regionProperties::count(), edge::count(), CStringList::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(), binModel::decomposePatchValues(), patchIdentifier::defaultName(), geometricSurfacePatch::defaultName(), surfZoneIdentifier::defaultName(), Foam::discard(), pointSet::distribute(), cellSet::distribute(), faceSet::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(), PatchTools::edgeNormals(), triSurfaceTools::edgeSide(), base64Layer::encodedLength(), foamVtkBase64Layer::encodedLength(), formatter::encodedLength(), edge::erase(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), ABAQUSCore::faceDecomposition(), NASCore::faceDecomposition(), primitiveMeshTools::faceFlatness(), Patch::faceNormals(), cellQuality::faceSkewness(), faceTriangulation::faceTriangulation(), Foam::factorial(), Antal::Fi(), Frank::Fi(), TomiyamaWallLubrication::Fi(), refinementSurfaces::findAllIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), face::flip(), for(), forAll(), IntRange< label >::found(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), meshRefinement::gAverage(), Foam::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(), KinematicCloud< CloudType >::info(), MPPICCloud< CloudType >::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< Type >::interpolateValue(), Foam::interpolateXY(), intersectedSurface::intersectedSurface(), IntRange< label >::IntRange(), updateMethod::inv(), cellZoneSet::invert(), faceZoneSet::invert(), pointZoneSet::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(), primitiveMeshTools::makeFaceCentresAndAreas(), deltaBoundary::makeFaceCentresAndAreas_d(), averageNeighbourFvGeometryScheme::makePyrHeights(), gradAlpha::mapAlphaField(), plicRDF::mapAlphaField(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), McCowan::mn(), regionModel1D::moveMesh(), Foam::mvBak(), regionProperties::names(), ijkMesh::nBoundaryFaces(), Foam::fac::ndiv(), List< T >::newElmt(), McCowan::newtonRapsonF2(), sliceRange::indexer::next(), ijkMesh::nFaces(), coordSetWriter::nFields(), surfaceWriter::nFields(), faPatch::ngbPolyPatchPointNormals(), Foam::fac::ngrad(), ijkMesh::nInternalFaces(), surfaceLocation::normal(), dynamicOversetFvMesh::normalisation(), ijkMesh::nPoints(), MeshedSurface< Face >::nTriangles(), csvTableReader< Type >::operator()(), polyline::operator()(), sector::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), TroeFallOffFunction::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), IntRange< IntType >::const_reverse_iterator::operator+(), sliceRange::const_iterator::operator+(), sliceRange::const_reverse_iterator::operator+(), UPtrList< T >::const_iterator::operator+(), IntRange< IntType >::operator+=(), IntRange< IntType >::const_iterator::operator+=(), IntRange< IntType >::const_reverse_iterator::operator+=(), sliceRange::const_iterator::operator+=(), sliceRange::const_reverse_iterator::operator+=(), Matrix< Form, Type >::operator+=(), UPtrList< T >::const_iterator::operator+=(), IntRange< IntType >::const_iterator::operator-(), IntRange< IntType >::const_reverse_iterator::operator-(), sliceRange::const_iterator::operator-(), sliceRange::const_reverse_iterator::operator-(), UPtrList< T >::iterator::operator-(), UPtrList< T >::const_iterator::operator-(), IntRange< IntType >::operator-=(), IntRange< IntType >::const_iterator::operator-=(), sliceRange::const_iterator::operator-=(), sliceRange::const_reverse_iterator::operator-=(), Matrix< Form, Type >::operator-=(), UPtrList< T >::const_iterator::operator-=(), Foam::operator<<(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::operator=(), SquareMatrix< Type >::operator=(), SymmetricSquareMatrix< Type >::operator=(), IntRange< IntType >::const_iterator::operator[](), UPtrList< CloudFunctionObject< CloudType > >::operator[](), sliceRange::const_iterator::operator[](), sliceRange::const_reverse_iterator::operator[](), interpolationLookUpTable< Type >::operator[](), UPtrList< T >::const_iterator::operator[](), interpolationTable< Type >::operator[](), memorybuf::out::out(), faceAreaIntersect::overlaps(), faceAreaWeightAMI::overlaps(), scalarRanges::parse(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), particle< Type >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), noiseModel::Pf(), noiseFFT::Pf(), primitiveMesh::pointCells(), cyclicAMIPolyPatch::pointFace(), ijkMesh::pointLabel(), PatchTools::pointNormals(), points_delaunay_naive_2d(), CircularBuffer< T >::pop_back(), CircularBuffer< T >::pop_front(), eddy::position(), polyline::positionAndDirection(), FaceInteraction< CloudType >::postFace(), sliceRange::indexer::prev(), decompositionInformation::printDetails(), surfaceFieldValue::processSameTypeValues(), surfaceFieldValue::processValues(), volFieldValue::processValues(), projectFace::project(), cellModel::ptr(), face::ray(), triangle< Point, PointRef >::ray(), uniformBin::read(), Foam::readBlock(), STARCDMeshReader::readCells(), ensightSurfaceReader::readField(), reader::readField(), BFGS::readFromDict(), DBFGS::readFromDict(), SR1::readFromDict(), FIREMeshReader::readPoints(), FIRECore::readPoints(), fft::realTransform1D(), string::removeEnd(), AMIWeights::reportPatch(), OListStreamAllocator::reserve(), fieldSelection::resetFieldFilters(), IntRange< IntType >::resize(), Matrix< Form, Type >::resize(), SquareMatrix< Type >::resize(), adaptiveSolver::resize(), ODESolver::resizeField(), CircularBuffer< T >::reverse(), Foam::reverse(), ReynoldsAnalogy::rho(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::S(), s_len_trim(), general::sample(), mappedPatchBase::samplePoints(), PPCG::scalarSolveCG(), Foam::BitOps::select(), PtrListDetail< T >::setAddressableSize(), UPtrList< T >::setAddressableSize(), OListStreamAllocator::setBlockSize(), rotorDiskSource::setFaceArea(), vtuSizing::setNumAddPoints(), vtuSizing::setNumPoints(), addPatchCellLayer::setRefinement(), combineFaces::setRefinement(), IntRange< IntType >::setSize(), Matrix< Form, Type >::setSize(), PackedList< Width >::setSize(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), Matrix< Form, Type >::shallowResize(), cellQuality::skewness(), ensightSurfaceReader::skip(), ITstream::skip(), ParSortableList< Type >::sort(), regionProperties::sortedNames(), meshRefinement::splitFacesUndo(), AMIInterpolation::srcPointFace(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), string::string_printf(), ensightFile::subDir(), ensightFile::subDirWidth(), masterUncollatedFileOperation::subRanks(), Foam::subsetSubset(), reconstructionSchemes::surface(), interfaceTrackingFvMesh::surfaceTensionGrad(), SquareMatrix< Type >::symmetric(), Matrix< Form, Type >::T(), TAB< CloudType >::TAB(), fvMeshDistribute::testField(), AMIInterpolation::tgtPointFace(), dictionary::toc(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), triangle< Point, PointRef >::triangleOverlap(), MeshedSurface< Face >::triangulate(), SquareMatrix< Type >::tridiagonal(), pointConstraint::unconstrainedDirections(), triangle< Point, PointRef >::unitNormal(), face::unitNormal(), triFace::unitNormal(), TAB< CloudType >::update(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), turbulentDFSEMInletFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), primitiveMeshTools::updateFaceCentresAndAreas(), cellZoneSet::updateMesh(), faceZoneSet::updateMesh(), pointZoneSet::updateMesh(), solverInfo::updateSolverInfo(), eddy::uPrime(), movingWallVelocityFvPatchVectorField::Uwall(), sliceRange::indexer::value(), Foam::meshTools::visNormal(), exprDriver::weightedAverage(), faNVDscheme< Type, NVDweight >::weights(), while(), ensightCase::options::width(), areaWrite::write(), ParticleZoneInfo< CloudType >::write(), appendRawFormatter::write(), foamVtkBase64Layer::write(), legacyRawFormatter::write(), base64Layer::write(), ABAQUSsurfaceFormat< Face >::write(), OBJstream::write(), Foam::vtk::write(), Foam::vtk::write< double >(), Foam::vtk::write< float >(), Foam::vtk::write< label >(), eddy::writeCentreOBJ(), topoSet::writeDebug(), advancingFrontAMI::writeIntersectionOBJ(), MeshedSurface< Face >::writeStats(), eddy::writeSurfaceOBJ(), streamLineBase::writeToFile(), Foam::Xinterpolate(), memorybuf::in::xsgetn(), memorybuf::out::xsputn(), countstreambuf::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(), adjointSimple::adjointSimple(), List< CloudFunctionObject< CloudType > * >::append(), IOobjectList::append(), directMethod::appendToDirectSeeds(), CircularBuffer< T >::appendUniq(), DynamicList< T, SizeMin >::appendUniq(), patchInteractionDataList::applyToPatch(), enrichedPatch::checkSupport(), AMIInterpolation::checkSymmetricWeights(), fvPatch::constraintType(), polyPatch::constraintType(), hashedWordList::contains(), eddy::eddy(), Foam::findEtcEntry(), Foam::findEtcFile(), dictionary::found(), properties::foundObjectProperty(), simplifiedFvMesh::fvPatchFieldExists(), parseDriver::getField(), argList::getList(), properties::getObjectDict(), properties::getObjectProperty(), properties::getObjectResult(), argList::getOrDefault(), Foam::hasBadEntries(), properties::hasObjectDict(), properties::hasResultObject(), properties::hasResultObjectEntry(), IDDESDelta::IDDESDelta(), cellZoneSet::invert(), faceZoneSet::invert(), pointZoneSet::invert(), PrimitivePatch< FaceList, PointField >::meshEdges(), multiphaseInterSystem::multiphaseInterSystem(), triSurface::New(), properties::objectResultEntries(), properties::objectResultNames(), properties::objectResultType(), IntRange< IntType >::operator()(), HashSet< Key, Hash >::operator()(), scalars::operator()(), Foam::operator==(), HashSet< Key, Hash >::operator[](), HashSet< labelPairPair >::operator[](), dictionary::operator|=(), argList::optionFound(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), parseDriver::patchNormalField(), perm_check(), perrorParse(), Foam::printBadEntries(), Foam::printManOption(), eddyViscosity< BasicTurbulenceModel >::R(), argList::readIfPresent(), argList::readListIfPresent(), DAC< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), schemesLookup::schemesDict(), timeSelector::select(), cellSetOption::setCellSelection(), Time::setControls(), cellTable::setName(), properties::setObjectProperty(), properties::setObjectResult(), solution::solutionDict(), twoPhaseSystem::solve(), cellZoneSet::subset(), pointZoneSet::subset(), Time::Time(), HashSet< labelPairPair >::unset(), propellerInfo::updateSampleDiskCells(), polyBoundaryMesh::whichPatch(), while(), areaWrite::write(), FIREMeshWriter::write(), properties::writeAllResultEntries(), and properties::writeResultEntries().

◆ 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.