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 greyMean::aCont(), wideBand::aCont(), preserveBafflesConstraint::add(), distribution::add(), Distribution< Type >::add(), anisotropic::anisotropic(), normalToFace::applyToSet(), Foam::average(), XiFluid::bSolve(), Foam::meshTools::calcBoxPointNormals(), cellToFaceStencil::calcFaceStencil(), decomposedBlockData::calcNumProcs(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), lineFace::calcSamples(), Foam::checkNonManifoldEdge(), triSurface::checkTriangles(), triFace::collapse(), pointConstraint::combine(), Foam::patchToPatchTools::constructDistributionMap(), face::contactSphereDiameter(), LRR< BasicMomentumTransportModel >::correct(), advectionDiffusion::correct(), meshWave::correct(), Poisson::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), MovingPhaseModel< BasePhaseModel >::correctUf(), Foam::fvc::correctUf(), dynamic::cosTheta(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), TroeFallOffFunction::ddPr(), JanevReactionRate::ddT(), powerSeriesReactionRate::ddT(), TroeFallOffFunction::ddT(), QRMatrix< MatrixType >::decompose(), distributionMap::distributionMap(), dmat_transpose_print(), dmat_transpose_print_some(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_print(), dvec_swap(), triSurfaceTools::edgeSide(), UPtrList< const lduInterface >::end(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), triSurfaceMesh::extractPointCloseness(), face::faceEdge(), triFace::faceEdge(), primitiveMeshTools::faceFlatness(), cellQuality::faceSkewness(), Foam::factorial(), Antal::Fi(), Frank::Fi(), TomiyamaWallLubrication::Fi(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), face::flip(), forAll(), Foam::gAverage(), meshRefinement::gAverage(), repatchMesh::getNearest(), searchablePlane::getNormal(), correctorConvergenceControl::getNSolves(), correctorConvergenceControl::getNTypeSolves(), treeDataFace::getVolumeType(), if(), imat_transpose_print(), imat_transpose_print_some(), Foam::incGammaRatio_Q(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< CloudType >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), linearInterpolationWeights::integrationWeights(), twoPhaseMixture::interfaceFraction(), interpolationCellPointFace< Type >::interpolate(), intersectedSurface::intersectedSurface(), cellZoneSet::invert(), faceZoneSet::invert(), pointZoneSet::invert(), Foam::cutPoly::iterableAverage(), ivec_heap_d(), ivec_indicator(), ivec_sort_heap_a(), ivec_sorted_unique(), Foam::jn(), anisotropic::kappa(), thermo< Thermo, Type >::Kn(), lduPrimitiveMesh::lduPrimitiveMesh(), momentOfInertia::massPropertiesSolid(), UList< label >::max_size(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), multiLevelDecomp::multiLevelDecomp(), Foam::mvBak(), polygonTriangulate::nIntersections(), surfaceLocation::normal(), fileOperation::nProcs(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), directionalDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), sector::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), TroeFallOffFunction::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), UPtrList< T >::const_iterator::operator+(), UPtrList< const lduInterface >::iterator::operator++(), UPtrList< T >::const_iterator::operator+=(), UPtrList< const lduInterface >::iterator::operator-(), UPtrList< T >::const_iterator::operator-(), UPtrList< T >::const_iterator::operator-=(), SquareMatrix< Type >::operator=(), SquareMatrix< Foam::Field * >::operator=(), directionInfo::operator==(), HashList< Type, Key, Hash >::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), interpolationLookUpTable::operator[](), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), LiaoBase::precompute(), singleRegionCorrectorConvergenceControl::printCorrResidualControls(), surfaceFieldValue::processValues(), projectFace::project(), anisotropic::qCorr(), polygonTriangulate::randomPolygon(), face::ray(), triangle< Point, PointRef >::ray(), nonConformalCyclicPolyPatch::ray(), STARCD::readCells(), string::remove(), string::removeRepeated(), string::removeTrailing(), adaptiveSolver::resize(), HashList< label, Foam::edge, Foam::QuickHashEdge >::resizeAndClear(), ODESolver::resizeField(), Foam::rotateList(), s_len_trim(), multiNormal::sample(), FieldDistribution< Base, Derived >::sample(), SCOPE::SCOPE(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), addPatchCellLayer::setRefinement(), combineFaces::setRefinement(), Matrix< Form, Type >::shallowResize(), List< T >::size(), cellQuality::skewness(), ParSortableList< Type >::sort(), adiabaticPerfectFluid< Specie >::Sp(), fileOperation::splitProcessorPath(), SquareMatrix< Foam::Field * >::SquareMatrix(), intersection::srcBoxStatic(), ensightFile::subDir(), ensightFile::subDirWidth(), masterUncollatedFileOperation::subRanks(), Matrix< Form, Type >::T(), TAB< CloudType >::TAB(), ThermoCloud< CloudType >::Tmax(), ThermoCloud< CloudType >::Tmin(), cellZoneSet::topoChange(), faceZoneSet::topoChange(), pointZoneSet::topoChange(), fft::transform(), polygonTriangulate::triangulate(), MeshedSurface< Face >::triangulate(), pointConstraint::unconstrainedDirections(), Foam::uniqueOrder(), TAB< CloudType >::update(), filmSurfaceVelocityFvPatchVectorField::updateCoeffs(), maxwellSlipUFvPatchVectorField::updateCoeffs(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), noSlipFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), tractionDisplacementFvPatchVectorField::updateCoeffs(), USERD_get_gold_part_build_info(), USERD_get_gold_variable_info(), USERD_get_maxsize_info(), USERD_get_nfaced_conn(), USERD_get_nfaced_nodes_per_face(), USERD_get_part_element_ids_by_type(), USERD_get_part_elements_by_type(), USERD_get_sol_times(), USERD_set_filenames(), linearInterpolationWeights::valueWeights(), Foam::meshTools::visNormal(), fvMeshStitcher::volumeConservationError(), while(), OBJstream::write(), ensightFile::write(), MeshedSurface< Face >::writeStats(), distribution::x(), exponential::x(), multiNormal::x(), normal::x(), RosinRammler::x(), basicSubGrid::XiEq(), Foam::yn(), and meshRefinement::zonify().

◆ found

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