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 ( )

Definition at line 12 of file TABSMDCalcMethod2.H.

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 ( !found &&  n< 100)

Definition at line 35 of file TABSMDCalcMethod2.H.

Variable Documentation

scalar delta = rs/factorGamma

Definition at line 5 of file TABSMDCalcMethod2.H.

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

Definition at line 7 of file TABSMDCalcMethod2.H.

scalar maxValue = rs*4.0

Definition at line 8 of file TABSMDCalcMethod2.H.

scalar range = maxValue - minValue

Definition at line 10 of file TABSMDCalcMethod2.H.

scalar nExp = 3.5

Definition at line 18 of file TABSMDCalcMethod2.H.

FixedList<scalar, 100> rrd

Definition at line 19 of file TABSMDCalcMethod2.H.

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

Definition at line 21 of file TABSMDCalcMethod2.H.

scalar probFactorMax = exp(-pow(maxValue/delta, nExp))

Definition at line 22 of file TABSMDCalcMethod2.H.

scalar probFactor = 1./(probFactorMin - probFactorMax)

Definition at line 23 of file TABSMDCalcMethod2.H.

label n = 0

Definition at line 31 of file TABSMDCalcMethod2.H.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), distribution::add(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), autoRefineDriver::autoRefineDriver(), Foam::average(), cellToFaceStencil::calcFaceStencil(), sampledSet::calcSign(), cyclicPolyPatch::calcTransforms(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), TableBase< Type >::check(), interpolationTable< Type >::check(), interpolation2DTable< Type >::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(), absorptionEmissionModel::dict(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), extrudePatchMesh::extrudePatchMesh(), primitiveMeshTools::faceFlatness(), cellQuality::faceSkewness(), Foam::factorial(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), face::flip(), forAll(), Foam::gAverage(), meshRefinement::gAverage(), get_edge_list(), get_num_edges_list(), hexRef8::getAnchorLevel(), boundaryMesh::getNearest(), treeDataFace::getVolumeType(), string::hash::hash(), particle< Type >::hitWallFaces(), if(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< CloudType >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), faceAreaWeightAMI< SourcePatch, TargetPatch >::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), Foam::interpolateXY(), interpolation2DTable< Type >::interpolation2DTable(), intersectedSurface::intersectedSurface(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), wallBoundedParticle::isTriAlongTrack(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::LUBacksubstitute(), Foam::LUDecompose(), primitiveMesh::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), Cloud< ParticleType >::move(), regionModel1D::moveMesh(), particle< Type >::movingTetLambda(), multiNormal::multiNormal(), Foam::mv(), NamedEnum< Enum, nEnum >::names(), surfaceLocation::normal(), face::normal(), meshWave::nUnset(), listPlusEqOp< T >::operator()(), minEqOp< labelPair >::operator()(), sector::operator()(), TroeFallOffFunction::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), solidParticle::iNew::operator()(), interpolationTable< Type >::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), KinematicParcel< ParcelType >::iNew::operator()(), partInfo::operator+=(), UPtrList< T >::iterator::operator+=(), PtrList< T >::iterator::operator+=(), PtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-=(), PtrList< T >::iterator::operator-=(), PtrList< T >::const_iterator::operator-=(), interpolationTable< Type >::operator[](), interpolationLookUpTable< Type >::operator[](), UPtrList< T >::iterator::operator[](), PtrList< T >::iterator::operator[](), PtrList< T >::const_iterator::operator[](), KinematicCloud< CloudType >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), faceSource::processValues(), interpolationTable< Type >::rateOfChange(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), mapDistribute::receive(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::s(), s_len_trim(), general::sample(), multiNormal::sample(), mappedPatchBase::samplePoints(), rotorDiskSource::setFaceArea(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), List< T >::size(), cellQuality::skewness(), Foam::solve(), ParSortableList< Type >::sort(), ensightFile::subDir(), TAB< CloudType >::TAB(), ThermoCloud< CloudType >::Tmax(), ThermoCloud< CloudType >::Tmin(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), fft::transform(), MeshedSurface< Face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), flowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), patchDistMethod::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(), powerSeriesReactionRate::write(), JanevReactionRate::write(), ensightFile::write(), streamLine::write(), wallBoundedStreamLine::write(), topoSet::writeDebug(), MeshedSurface< Face >::writeStats(), sha1streambuf::xsputn(), meshRefinement::zonify(), linearDistance::~linearDistance(), linearSpatial::~linearSpatial(), medialAxisMeshMover::~medialAxisMeshMover(), particle< Type >::~particle(), surfaceOffsetLinearDistance::~surfaceOffsetLinearDistance(), uniform::~uniform(), and uniformDistance::~uniformDistance().

bool found = false
scalar random = rndGen.sample01<scalar>()

Definition at line 33 of file TABSMDCalcMethod2.H.

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

Definition at line 45 of file TABSMDCalcMethod2.H.