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.

◆ forAll()

forAll ( rrd  ,
n   
)

Definition at line 25 of file TABSMDCalcMethod2.H.

References Foam::exp(), n, and Foam::pow().

Here is the call graph for this function:

◆ while()

while ( !found &&  n< 100)

Definition at line 35 of file TABSMDCalcMethod2.H.

Variable Documentation

◆ delta

scalar delta = rs/factorGamma

Definition at line 5 of file TABSMDCalcMethod2.H.

◆ minValue

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

Definition at line 7 of file TABSMDCalcMethod2.H.

◆ maxValue

scalar maxValue = rs*4.0

Definition at line 8 of file TABSMDCalcMethod2.H.

◆ range

scalar range = maxValue - minValue

Definition at line 10 of file TABSMDCalcMethod2.H.

◆ nExp

scalar nExp = 3.5

Definition at line 18 of file TABSMDCalcMethod2.H.

◆ rrd

FixedList<scalar, 100> rrd

Definition at line 19 of file TABSMDCalcMethod2.H.

◆ probFactorMin

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

Definition at line 21 of file TABSMDCalcMethod2.H.

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

◆ n

label n = 0

Definition at line 31 of file TABSMDCalcMethod2.H.

Referenced by greyMean::aCont(), wideBand::aCont(), preserveBafflesConstraint::add(), distribution::add(), normalToFace::applyToSet(), Foam::average(), Matrix< RectangularMatrix< Type >, Type >::block(), cellToFaceStencil::calcFaceStencil(), decomposedBlockData::calcNumProcs(), Foam::calcPE15(), interpolationCellPointWallModified< Type >::calcPointField(), Foam::calcQE11(), Foam::calcQE16(), Foam::checkNonManifoldEdge(), triSurface::checkTriangles(), cellSizeFunction::coeffsDict(), triFace::collapse(), pointConstraint::combine(), contactAngleForce::correct(), LRR< BasicMomentumTransportModel >::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), meshRefinement::createZoneBaffles(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), TroeFallOffFunction::ddc(), TroeFallOffFunction::ddT(), JanevReactionRate::ddT(), powerSeriesReactionRate::ddT(), QRMatrix< MatrixType >::decompose(), absorptionEmissionModel::dict(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), triSurfaceMesh::extractPointCloseness(), extrudePatchMesh::extrudePatchMesh(), primitiveMeshTools::faceFlatness(), cellQuality::faceSkewness(), Foam::factorial(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), face::flip(), flowRateInletVelocityFvPatchVectorField::flowRateInletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField::flowRateOutletVelocityFvPatchVectorField(), forAll(), Foam::gAverage(), meshRefinement::gAverage(), get_edge_list(), get_num_edges_list(), repatchMesh::getNearest(), correctorConvergenceControl::getNSolves(), treeDataFace::getVolumeType(), string::hash::hash(), if(), Foam::incGammaRatio_Q(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< Foam::DSMCCloud >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), linearInterpolationWeights::integrationWeights(), faceAreaWeightAMI::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToFaceStencil::merge(), cellToCellStencil::merge(), meshRefinement::mergeEdgesUndo(), Cloud< passiveParticle >::move(), regionModel1D::moveMesh(), multiNormal::multiNormal(), Foam::mvBak(), NamedEnum< compressibleField, 8 >::names(), polygonTriangulate::nIntersections(), surfaceLocation::normal(), fileOperation::nProcs(), meshWave::nUnset(), minEqOp< labelPair >::operator()(), listPlusEqOp< T >::operator()(), findUniqueIntersectOp::operator()(), lessProcPatches::operator()(), directionalDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), TroeFallOffFunction::operator()(), sector::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), masterUncollatedFileOperation::readDirOp::operator()(), UPtrList< T >::iterator::operator+(), UPtrList< T >::const_iterator::operator+(), UPtrList< T >::iterator::operator+=(), UPtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-(), UPtrList< T >::const_iterator::operator-(), UPtrList< T >::iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), SquareMatrix< Foam::Field *>::operator=(), interpolationLookUpTable::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), surfaceFieldValue::processValues(), projectFace::project(), polygonTriangulate::randomPolygon(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), string::removeRepeated(), string::removeTrailing(), cyclicRepeatAMIPolyPatch::resetAMI(), ODESolver::resizeField(), Foam::rotateList(), s_len_trim(), multiNormal::sample(), general::sample(), mappedPatchBase::samplePoints(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), List< Field< scalar > >::size(), cellQuality::skewness(), snappyRefineDriver::snappyRefineDriver(), ParSortableList< Type >::sort(), adiabaticPerfectFluid< Specie >::Sp(), fileOperation::splitProcessorPath(), SquareMatrix< Foam::Field *>::SquareMatrix(), ensightFile::subDir(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), ThermoCloud< Foam::DSMCCloud >::Tmax(), ThermoCloud< Foam::DSMCCloud >::Tmin(), fft::transform(), cyclicAMIPolyPatch::transform(), MeshedSurface< Foam::face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), movingWallVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), pressureInletOutletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), patchDistMethod::updateMesh(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), 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(), while(), ensightFile::write(), streamlines::write(), MeshedSurface< Foam::face >::writeStats(), sha1streambuf::xsputn(), meshRefinement::zonify(), adaptiveSolver::~adaptiveSolver(), linearDistance::~linearDistance(), linearSpatial::~linearSpatial(), medialAxisMeshMover::~medialAxisMeshMover(), ODESolver::~ODESolver(), surfaceOffsetLinearDistance::~surfaceOffsetLinearDistance(), uniform::~uniform(), and uniformDistance::~uniformDistance().

◆ found

◆ random

scalar random = rndGen.sample01<scalar>()

Definition at line 33 of file TABSMDCalcMethod2.H.

◆ rNew

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

Definition at line 45 of file TABSMDCalcMethod2.H.