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 | |
if | ( | ) |
Definition at line 12 of file TABSMDCalcMethod2.H.
Definition at line 25 of file TABSMDCalcMethod2.H.
References delta, Foam::exp(), minValue, n, nExp, Foam::pow(), probFactor, probFactorMin, range, and rrd.
while | ( | !found && | n< 100 | ) |
scalar delta = rs/factorGamma |
Definition at line 5 of file TABSMDCalcMethod2.H.
Referenced by forAll().
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.
Referenced by if().
Definition at line 10 of file TABSMDCalcMethod2.H.
Referenced by forAll().
scalar nExp = 3.5 |
Definition at line 18 of file TABSMDCalcMethod2.H.
Referenced by forAll().
FixedList<scalar, 100> rrd |
Definition at line 19 of file TABSMDCalcMethod2.H.
Definition at line 21 of file TABSMDCalcMethod2.H.
Referenced by forAll().
Definition at line 22 of file TABSMDCalcMethod2.H.
scalar probFactor = 1./(probFactorMin - probFactorMax) |
Definition at line 23 of file TABSMDCalcMethod2.H.
Referenced by forAll().
label n = 0 |
Definition at line 31 of file TABSMDCalcMethod2.H.
Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), preserveBafflesConstraint::add(), distribution::add(), Distribution::add(), geometrySurface::addGeometryToScene(), immersedBoundaryFvPatch::addIbCornerCells(), autoLayerDriver::addLayers(), mapDistribute::applyDummyInverseTransforms(), mapDistribute::applyDummyTransforms(), mapDistribute::applyInverseTransforms(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), mapDistribute::applyTransforms(), Foam::average(), faceAreaIntersect::calc(), Foam::meshTools::calcBoxPointNormals(), pointToPointPlanarInterpolation::calcCoordinateSystem(), IDDESDelta::calcDelta(), polyDualMesh::calcDual(), PrimitivePatch< labelledTri, List, pointField, point >::calcFaceNormals(), FECCellToFaceStencil::calcFaceStencil(), cellToFaceStencil::calcFaceStencil(), globalMeshData::calcGlobalPointBoundaryCells(), globalMeshData::calcGlobalPointBoundaryFaces(), globalMeshData::calcGlobalPointEdges(), globalMeshData::calcPointConnectivity(), PrimitivePatch< labelledTri, List, pointField, point >::calcPointNormals(), surfaceSlipDisplacementPointPatchVectorField::calcProjection(), surfaceDisplacementPointPatchVectorField::calcProjection(), sampledSet::calcSign(), isoSurfaceCell::calcSnappedPoint(), rotatingPressureInletOutletVelocityFvPatchVectorField::calcTangentialVelocity(), faceHeatShading::calculate(), faceShading::calculate(), medialAxisMeshMover::calculateDisplacement(), boundaryLayerOptimisation::calculateNormalVectorsSmother(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), TableBase::check(), interpolationTable< scalar >::check(), tetCreatorOctree::checkAndAppendTet(), hexRef8::checkBoundaryOrientation(), primitiveMesh::checkFaceFlatness(), Foam::polyMeshGenChecks::checkFaceFlatness(), Foam::polyMeshGenChecks::checkFaceSkewness(), checkFlatRegionEdge(), hexRef8::checkInternalOrientation(), interpolation2DTable< Type >::checkOrder(), triSurfaceClassifyEdges::checkOrientation(), triSurface::checkTriangles(), triFace::collapse(), pointConstraint::combine(), faceDecomposition::concaveVertex(), face::contactSphereDiameter(), combineFaces::convexFace(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), contactAngleForce::correct(), meshWave::correct(), Poisson::correct(), LRR< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), gaussGrad< Type >::correctBoundaryConditions(), multiComponentMixture< ThermoType >::correctMassFractions(), dynamicRefineFvMesh::count(), conformalVoronoiMesh::createBafflePointPair(), boundaryLayers::createNewCellFromNode(), meshOctreeAddressing::createOctreeFaces(), conformalVoronoiMesh::createPointPair(), tetCreatorOctree::createTetsAroundSplitEdges(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), multiLevelDecomp::decompose(), symmetryPlaneOptimisation::detectSymmetryPlanes(), dmat_transpose_print(), dmat_transpose_print_some(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), meshRefinement::dupNonManifoldBoundaryPoints(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_print(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), extrudePatchMesh::extrudeMesh(), triFace::faceEdge(), face::faceEdge(), primitiveMeshTools::faceFlatness(), cellQuality::faceSkewness(), faceTriangulation::faceTriangulation(), Foam::factorial(), autoSnapDriver::featureAttractionUsingReconstruction(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), meshSearch::findCellLinear(), meshRefinement::findEdgeConnectedProblemCells(), cyclicPolyPatch::findFaceMaxRadius(), cyclicAMIPolyPatch::findFaceNormalMaxRadius(), searchableSurfaceCollection::findLine(), Foam::help::findMinimizerPoint(), searchableSphere::findNearest(), meshUntangler::cutRegion::findNewVertices(), triangulateNonPlanarBaseFaces::findNonPlanarBoundaryFaces(), autoSnapDriver::findNormal(), interpolationCellPointFace< Type >::findTet(), orientedSurface::findZoneSide(), router::fixWeights(), face::flip(), forAll(), meshRefinement::freeStandingBaffles(), autoRefineDriver::gapOnlyRefine(), Foam::gAverage(), meshRefinement::gAverage(), meshRefinement::generateRays(), fvMeshDistribute::generateTestField(), get_edge_list(), get_num_edges_list(), topoCellLooper::getAlignedNonFeatureEdge(), geomCellLooper::getBase(), boundaryMesh::getNearest(), searchablePlane::getNormal(), autoLayerDriver::getPatchDisplacement(), treeDataFace::getVolumeType(), improvedNoSlipFvPatchVectorField::gradientBoundaryCoeffs(), mappedInternalCoupled::gradientBoundaryCoeffs(), improvedNoSlipFvPatchVectorField::gradientInternalCoeffs(), mappedInternalCoupled::gradientInternalCoeffs(), autoLayerDriver::handleFeatureAngle(), autoLayerDriver::handleWarpedFaces(), particle< Type >::hitWallFaces(), if(), imat_transpose_print(), imat_transpose_print_some(), Distribution::index(), FreeStream< CloudType >::inflow(), MPPICCloud< CloudType >::info(), regionModel1D::initialise(), viewFactor::initialise(), fvDOM::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZoneAndDirection(), moleculeCloud::initialiseMolecules(), edgeIntersections::inlinePerturb(), Foam::inplaceRotateList(), CV2D::insertPointPair(), tetrahedron::inside(), faceAreaWeightAMI< SourcePatch, TargetPatch >::interArea(), Foam::interpolate(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), interpolation2DTable< Type >::interpolateValue(), Foam::interpolateXY(), edgeIntersections::intersectEdges(), intersectedSurface::intersectedSurface(), lineRefinement::intersectsObject(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), triSurface2DCheck::is2DSurface(), wallBoundedParticle::isTriAlongTrack(), ivec_heap_d(), ivec_indicator(), ivec_sort_heap_a(), ivec_sorted_unique(), Foam::jn(), temperatureCoupledBase::kappa(), thermo< Thermo, Type >::Kn(), knuppMetric::knuppMetric(), layerParameters::layerExpansionRatio(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::LUBacksubstitute(), Foam::LUDecompose(), LUscalarMatrix::LUscalarMatrix(), main(), polyMeshGenAddressing::makeFaceCentresAndAreas(), primitiveMesh::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), meshRefinement::markFacesOnProblemCells(), momentOfInertia::massPropertiesSolid(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), face::mostConcaveAngle(), Cloud< streamLineParticle >::move(), meshSurfaceEngineModifier::moveBoundaryVertex(), regionModel1D::moveMesh(), extrudeLayer::movePoints(), particle< Type >::movingTetLambda(), multiLevelDecomp::multiLevelDecomp(), multiNormal::multiNormal(), intersectedSurface::nextEdge(), partTriMeshSimplex::normal(), surfaceLocation::normal(), face::normal(), moleculeCloud::nSites(), searchableSurfaceWithGaps::offsetVecs(), sector::operator()(), TroeFallOffFunction::operator()(), powerSeriesReactionRate::operator()(), JanevReactionRate::operator()(), interpolationTable< scalar >::operator()(), string::operator()(), transformPositionList::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), partInfo::operator+=(), vtkPV3blockMesh::arrayRange::operator+=(), vtkPV4blockMesh::arrayRange::operator+=(), vtkPV3Foam::arrayRange::operator+=(), vtkPV4Foam::arrayRange::operator+=(), UPtrList::iterator::operator+=(), PtrList::iterator::operator+=(), PtrList::const_iterator::operator+=(), UPtrList::iterator::operator-=(), PtrList::iterator::operator-=(), PtrList::const_iterator::operator-=(), simpleMatrix::operator=(), directionInfo::operator==(), interpolationTable< scalar >::operator[](), interpolationLookUpTable< scalar >::operator[](), UPtrList::iterator::operator[](), PtrList::iterator::operator[](), PtrList::const_iterator::operator[](), tetMeshOptimisation::optimiseBoundaryVolumeOptimizer(), boundaryLayerOptimisation::optimiseHairNormalsInside(), volumeOptimizer::optimiseSteepestDescent(), boundaryLayerOptimisation::optimiseThicknessVariation(), meshUntangler::optimizeNodePosition(), KinematicCloud< CloudType >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), patchFaces(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), Foam::help::planeIntersectsEdge(), primitiveMesh::pointCells(), cyclicAMIPolyPatch::pointFace(), Foam::help::pointInsideFace(), PatchTools::pointNormals(), points_delaunay_naive_2d(), SIBS::polyExtrapolate(), LUscalarMatrix::printDiagonalDominance(), faceSource::processSameTypeValues(), cellSource::processValues(), faceSource::processValues(), orientedSurface::propagateOrientation(), quadricMetric::quadricMetric(), interpolationTable< scalar >::rateOfChange(), face::ray(), triangle< Foam::Vector, Foam::Vector >::ray(), CSV::read(), vtkUnstructuredReader::readBlock(), STARCD::readCells(), autoRefineDriver::refinementInterfaceRefine(), Foam::reverse(), Foam::rotateList(), edgeIntersections::rotatePerturb(), adiabaticPerfectFluid::s(), s_len_trim(), general::sample(), multiNormal::sample(), mappedPatchBase::samplePoints(), fvMeshDistribute::select(), rotorDiskSource::setFaceArea(), immersedBoundaryVelocityWallFunctionFvPatchVectorField::setIbCellValues(), meshOctreeCubeBasic::setProcNo(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), cellQuality::skewness(), twoDPointCorrector::snapToWedge(), Foam::solve(), ParSortableList< Type >::sort(), intersectedSurface::splitFace(), meshRefinement::splitFacesUndo(), SquareMatrix< scalar >::SquareMatrix(), AMIInterpolation< SourcePatch, TargetPatch >::srcPointFace(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), ensightFile::subDir(), ensightFile::subDirWidth(), fvMeshSubset::subset(), distributedTriSurfaceMesh::subsetMesh(), SHA1::swapBytes(), SymmetricSquareMatrix< Type >::SymmetricSquareMatrix(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), fvMeshDistribute::testField(), particle< Type >::tetLambda(), AMIInterpolation< SourcePatch, TargetPatch >::tgtPointFace(), ThermoCloud< CloudType >::Tmax(), ThermoCloud< CloudType >::Tmin(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), fft::transform(), extendedUpwindCellToFaceStencil::transportStencil(), faceTriangulation::triangleContainsPoint(), faceAreaIntersect::triangleIntersect(), triangle< Foam::Vector, Foam::Vector >::triangleOverlap(), isoSurface::trimToBox(), pointConstraint::unconstrainedDirections(), Foam::uniqueOrder(), unmarkBaffles(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), immersedBoundaryEpsilonWallFunctionFvPatchScalarField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), ibSwirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), immersedBoundaryOmegaWallFunctionFvPatchScalarField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), flowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), solarLoad::updateDirectHitRadiation(), solarHeatLoad::updateDirectHitRadiation(), primitiveMeshGeometry::updateFaceCentresAndAreas(), polyMeshGeometry::updateFaceCentresAndAreas(), meshSurfaceEngineModifier::updateGeometry(), polyMeshGenAddressing::updateGeometry(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), meshSurfaceEngine::updatePointNormalsAtProcBoundaries(), solarLoad::updateSkyDiffusiveRadiation(), solarHeatLoad::updateSkyDiffusiveRadiation(), 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(), Foam::help::vertexInPlane(), Foam::meshTools::visNormal(), intersectedSurface::walkFace(), while(), OBJstream::write(), ensightFile::write(), streamLineBase::write(), topoSet::writeDebug(), MeshedSurface< Foam::face >::writeStats(), triSurface::writeSTLASCII(), triSurface::writeSTLBINARY(), nastranSurfaceWriter::writeTemplate(), PrimitivePatch< labelledTri, List, pointField, point >::writeVTKNormals(), Foam::Xinterpolate(), sha1streambuf::xsputn(), Foam::XstepForwardsToNextPoint(), Foam::yn(), and meshRefinement::zonify().
bool found = false |
Definition at line 32 of file TABSMDCalcMethod2.H.
Referenced by cellTable::addDefaults(), meshOctreeModifier::addLayerFromNeighbouringProcessors(), decomposeCells::addNewCells(), fvMeshDistribute::addProcPatches(), directAMI< SourcePatch, TargetPatch >::appendToDirectSeeds(), directMethod::appendToDirectSeeds(), fieldValueDelta::apply(), Foam::help::areElementsInChain(), PrimitivePatch< labelledTri, List, pointField, point >::calcAddressing(), primitiveMesh::calcEdges(), meshOctreeAddressing::calcGlobalPointLabels(), meshReader::calcPointCells(), enrichedPatch::calcPointPoints(), meshSurfaceEngine::calculateBoundaryNodes(), meshSurfaceEngine::calculateEdgesAndAddressing(), boundaryLayerOptimisation::calculateHairVectorsAtTheBoundary(), meshToMesh0::cellAddresses(), meshOctreeAddressing::checkAndFixIrregularConnections(), enrichedPatch::checkSupport(), triSurfaceClassifyEdges::classifyEdgesTypes(), laminar< Type >::correct(), voronoiMeshExtractor::createAddressing(), partTetMesh::createBOUNDARYPointsOrdering(), sortEdgesIntoChains::createChainFromEdges(), meshSurfaceEdgeExtractor::createEdgeVertices(), boundaryLayers::createNewEdgeVerticesParallel(), boundaryLayers::createNewVertex(), meshReader::createPolyCells(), partTetMesh::createSMOOTHPointsOrdering(), argList::displayDoc(), JobInfo::end(), fieldValueDelta::execute(), polyMesh::facePatchFaceCells(), meshOctree::findNearestCorner(), meshOctree::findNearestPointToEdge(), meshOctree::findNearestSurfacePoint(), meshOctree::findNearestSurfacePointInRegion(), sortEdgesIntoChains::findPointsBelongingToTheChain(), greyMeanAbsorptionEmission::greyMeanAbsorptionEmission(), diffusionMulticomponent< CombThermoType, ThermoType >::init(), viewFactor::initialise(), fvDOM::initialise(), cell::labels(), PrimitivePatch< labelledTri, List, pointField, point >::meshEdges(), Foam::operator==(), HashSet< label, Hash< label > >::operator==(), HashSet< label, Hash< label > >::operator[](), HashSet< label, Hash< label > >::operator^=(), dictionary::operator|=(), boundaryLayerOptimisation::optimiseHairNormalsAtTheBoundary(), boundaryLayerOptimisation::optimiseHairNormalsInside(), boundaryLayerOptimisation::optimiseThicknessVariation(), argList::parse(), perm_check(), eddyViscosity< RASModel< BasicTurbulenceModel > >::R(), CSV::read(), GeometricField::GeometricBoundaryField::readField(), meshOctreeAutomaticRefinement::refineBasedOnContainedPartitions(), meshUntangler::cutRegion::removeCoincidentVertices(), phaseProperties::reorder(), fvSchemes::schemesDict(), timeSelector::select(), Time::setControls(), addPatchCellLayer::setFaceProps(), cellTable::setName(), polyMesh::setTopology(), Foam::help::sharedVertex(), solution::solutionDict(), meshUntangler::cutRegion::tieBreak(), meshSurfaceOptimizer::transformIntoPlane(), externalCoupledFunctionObject::wait(), and while().
scalar random = rndGen.sample01<scalar>() |
Definition at line 33 of file TABSMDCalcMethod2.H.
Referenced by while().
Definition at line 45 of file TABSMDCalcMethod2.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.