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< Type >::add(), anisotropic< SolidThermophysicalTransportModel >::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(), conformedFvPatchField< Type >::conform(), 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(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), triSurfaceMesh::extractPointCloseness(), face::faceEdge(), triFace::faceEdge(), Foam::meshCheck::faceFlatness(), FacePatchIntersection< SrcPatchType, TgtPatchType >::FacePatchIntersection(), 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(), Table< Type >::integral(), linearInterpolationWeights::integrationWeights(), stepInterpolationWeights::integrationWeights(), twoPhaseMixture::interfaceFraction(), interpolationCellPointFace< Type >::interpolate(), intersectedSurface::intersectedSurface(), MomentumTransferPhaseSystem< BasePhaseSystem >::invADVfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::invADVs(), cellZoneSet::invert(), faceZoneSet::invert(), pointZoneSet::invert(), Foam::cutPoly::iterableAverage(), ivec_heap_d(), ivec_indicator(), ivec_sort_heap_a(), ivec_sorted_unique(), Foam::jn(), anisotropic< SolidThermophysicalTransportModel >::kappa(), thermo< Thermo, Type >::Kn(), lduPrimitiveMesh::lduPrimitiveMesh(), momentOfInertia::massPropertiesSolid(), UList< label >::max_size(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), multiLevel::multiLevel(), Foam::mvBak(), polygonTriangulate::nIntersections(), surfaceLocation::normal(), fileOperation::nProcs(), OldTimeField< FieldType >::oldTime(), OldTimeField< FieldType >::oldTimeRef(), directionalDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), transformPositionList::operator()(), sector::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), TroeFallOffFunction::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), UPtrList< T >::const_iterator::operator+(), UPtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-(), UPtrList< T >::const_iterator::operator-(), UPtrList< const lduInterface >::iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), SquareMatrix< Type >::operator=(), SquareMatrix< Foam::Field * >::operator=(), directionInfo::operator==(), HashList< Type, Key, Hash >::operator[](), UPtrList< T >::const_iterator::operator[](), interpolationLookUpTable::operator[](), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), LiaoBase::precompute(), singleRegionCorrectorConvergenceControl::printCorrResidualControls(), projectFace::project(), anisotropic< SolidThermophysicalTransportModel >::qCorr(), polygonTriangulate::randomPolygon(), face::ray(), triangle< Point, PointRef >::ray(), nonConformalCyclicPolyPatch::ray(), STARCD::readCells(), string::remove(), string::removeRepeated(), string::removeTrailing(), patchIntersection::report(), adaptiveSolver::resize(), HashList< label, Foam::edge, Foam::QuickHashEdge >::resizeAndClear(), ODESolver::resizeField(), Foam::rotateList(), s_len_trim(), multiNormal::sample(), FieldDistribution< Base, Derived >::sample(), randomGenerator::sample01(), randomGenerator::sampleAB(), randomGenerator::scalar01(), randomGenerator::scalarAB(), SCOPE::SCOPE(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), addPatchCellLayer::setRefinement(), combineFaces::setRefinement(), Matrix< Form, Type >::shallowResize(), List< T >::size(), 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(), movingMappedWallVelocityFvPatchVectorField::updateCoeffs(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), noSlipFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::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(), stepInterpolationWeights::valueWeights(), Foam::meshTools::visNormal(), fvMeshStitcher::volumeConservationError(), while(), OBJstream::write(), ensightFile::write(), unintegrable::write(), MeshedSurface< Face >::writeStats(), distribution::x(), exponential::x(), multiNormal::x(), normal::x(), RosinRammler::x(), standardNormal::x(), basicSubGrid::XiEq(), Foam::yn(), and meshRefinement::zonify().

◆ found

bool found = false

Definition at line 32 of file TABSMDCalcMethod2.H.

Referenced by Foam::addToRunTimeSelectionTableToC(), anisotropic< SolidThermophysicalTransportModel >::anisotropic(), ZoneList< ZoneType, ZonesType, MeshType >::append(), Foam::cutPoly::cellCuts(), Foam::debug::debugSwitch(), DemandDrivenMeshObject< pointMesh, TopoChangeableMeshObject, pointConstraints >::DemandDrivenMeshObject(), fvSchemes::dict(), solution::dict(), argList::displayDoc(), PopulationBalancePhaseSystem< BasePhaseSystem >::dmdtf(), fieldsExpression::execute(), Foam::debug::floatOptimisationSwitch(), DemandDrivenMeshObject< Mesh, MeshObjectType, Type >::found(), Residuals< Type >::found(), greyMean::greyMean(), Foam::debug::infoSwitch(), cell::labels(), Foam::Function2s::lookupValueTypeAndRank(), Foam::MapDimensionedFields(), Foam::MapGeometricFields(), fvMeshAdder::MapPointFields(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), PrimitivePatch< FaceList, PointField >::meshEdges(), DemandDrivenMeshObject< Mesh, MeshObjectType, Type >::New(), DemandDrivenMeshObject< pointMesh, TopoChangeableMeshObject, pointConstraints >::New(), Foam::operator==(), HashSet< Key, Hash >::operator[](), HashSet< Key, Hash >::operator^=(), dictionary::operator|=(), Foam::debug::optimisationSwitch(), argList::parse(), perm_check(), Maxwell< BasicMomentumTransportModel >::readModeCoefficients(), DAC< ThermoType >::reduceMechanism(), DRG< ThermoType >::reduceMechanism(), DRGEP< ThermoType >::reduceMechanism(), PFA< ThermoType >::reduceMechanism(), timeSelector::select(), cellTable::setName(), Foam::unitsDict(), while(), wideBand::wideBand(), Foam::debug::wordOptimisationSwitch(), fieldValueDelta::write(), regionSizeDistribution::write(), codedBase::writeCode(), Henry::Yf(), Raoult::Yf(), and Raoult::YfPrime().

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