Functions | Variables
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 greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), preserveBafflesConstraint::add(), distribution::add(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), Foam::average(), Matrix< RectangularMatrix< Type >, Type >::block(), cellToFaceStencil::calcFaceStencil(), sampledSet::calcSign(), cyclicPolyPatch::calcTransforms(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), TableBase< Type >::check(), interpolationTable< scalar >::check(), interpolation2DTable< scalar >::checkOrder(), triSurface::checkTriangles(), cyclicAMIPolyPatch::clone(), cellSizeFunction::coeffsDict(), triFace::collapse(), pointConstraint::combine(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), contactAngleForce::correct(), LRR< BasicTurbulenceModel >::correct(), gaussGrad< Type >::correctBoundaryConditions(), dynamicRefineFvMesh::count(), meshRefinement::createZoneBaffles(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), QRMatrix< MatrixType >::decompose(), absorptionEmissionModel::dict(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), extrudePatchMesh::extrudePatchMesh(), primitiveMeshTools::faceFlatness(), hexRef8::faceLevel(), 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(), boundaryMesh::getNearest(), treeDataFace::getVolumeType(), string::hash::hash(), if(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< Foam::DSMCCloud >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), faceAreaWeightAMI< SourcePatch, TargetPatch >::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), Foam::interpolateXY(), interpolation2DTable< scalar >::interpolation2DTable(), intersectedSurface::intersectedSurface(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), primitiveMesh::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), Cloud< streamLineParticle >::move(), regionModel1D::moveMesh(), multiNormal::multiNormal(), Foam::mvBak(), NamedEnum< directionType, 3 >::names(), surfaceLocation::normal(), face::normal(), meshWave::nUnset(), minEqOp< labelPair >::operator()(), listPlusEqOp< T >::operator()(), lessProcPatches::operator()(), TroeFallOffFunction::operator()(), sector::operator()(), powerSeriesReactionRate::operator()(), JanevReactionRate::operator()(), solidParticle::iNew::operator()(), interpolationTable< scalar >::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), KinematicParcel< ParcelType >::iNew::operator()(), UPtrList< T >::iterator::operator+=(), UPtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), SquareMatrix< cmptType >::operator=(), interpolationTable< scalar >::operator[](), interpolationLookUpTable< scalar >::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), surfaceFieldValue::processValues(), projectFace::project(), interpolationTable< scalar >::rateOfChange(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), ODESolver::resizeField(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::S(), s_len_trim(), general::sample(), multiNormal::sample(), mappedPatchBase::samplePoints(), rotorDiskSource::setFaceArea(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), List< Field< scalar > >::size(), cellQuality::skewness(), snappyRefineDriver::snappyRefineDriver(), ParSortableList< Type >::sort(), SquareMatrix< cmptType >::SquareMatrix(), ensightFile::subDir(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), ThermoCloud< Foam::DSMCCloud >::Tmax(), ThermoCloud< Foam::DSMCCloud >::Tmin(), fft::transform(), MeshedSurface< Foam::face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), cellZoneSet::updateMesh(), patchDistMethod::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(), while(), ensightFile::write(), streamLine::write(), topoSet::writeDebug(), MeshedSurface< Foam::face >::writeStats(), sha1streambuf::xsputn(), meshRefinement::zonify(), adaptiveSolver::~adaptiveSolver(), linearDistance::~linearDistance(), linearSpatial::~linearSpatial(), medialAxisMeshMover::~medialAxisMeshMover(), ODESolver::~ODESolver(), particle< Type >::~particle(), surfaceOffsetLinearDistance::~surfaceOffsetLinearDistance(), uniform::~uniform(), and uniformDistance::~uniformDistance().

◆ found

bool found = false

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