LISASMDCalcMethod2.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 (!success &&(k< 500))
 

Variables

scalar delta = dD/factorGamma
 
scalar minValue = dD/10.0
 
scalar maxValue = dD
 
scalar range = maxValue - minValue
 
scalar nExp = 3
 
FixedList< scalar, 500 > rrd
 
scalar probFactorMin = exp(-pow(minValue/delta, nExp))
 
scalar probFactorMax = exp(-pow(maxValue/delta, nExp))
 
scalar probFactor = 1.0/(probFactorMin - probFactorMax)
 
bool success = false
 
scalar y = rndGen.sample01<scalar>()
 
label k = 0
 Boltzmann constant. More...
 
 x = minValue + range*(k - 0.5)/500.0
 

Function Documentation

◆ if()

if ( )

Definition at line 18 of file LISASMDCalcMethod2.H.

References maxValue, and minValue.

◆ forAll()

forAll ( rrd  ,
n   
)

Definition at line 31 of file LISASMDCalcMethod2.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 ( !success &&  k< 500)

Definition at line 43 of file LISASMDCalcMethod2.H.

References k, rrd, success, and y.

Variable Documentation

◆ delta

scalar delta = dD/factorGamma

Definition at line 8 of file LISASMDCalcMethod2.H.

Referenced by Moment< Type >::add(), maxDurationCondition::apply(), DEShybrid< Type >::blendingFactor(), averageCondition::calc(), highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::calculate(), dynamicKEqn< BasicTurbulenceModel >::Ce(), dynamicKEqn< BasicTurbulenceModel >::Ck(), patchInjection::correct(), drippingInjection::correct(), BrunDrippingInjection::correct(), curvatureSeparation::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), kEqn< BasicTurbulenceModel >::correct(), dynamicLagrangian< BasicTurbulenceModel >::correct(), thixotropicViscosity::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), dynamicLagrangian< BasicTurbulenceModel >::correctNut(), kEqn< BasicTurbulenceModel >::correctNut(), WALE< BasicTurbulenceModel >::correctNut(), DeardorffDiffStress< BasicTurbulenceModel >::correctNut(), SmagorinskyZhang< BasicTurbulenceModel >::correctNut(), NicenoKEqn< BasicTurbulenceModel >::correctNut(), Smagorinsky< BasicTurbulenceModel >::correctNut(), dynamicKEqn< BasicTurbulenceModel >::correctNut(), fvMesh::delta(), kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasDDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasIDDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasDES< BasicTurbulenceModel >::dTilda(), LESModel< BasicTurbulenceModel >::epsilon(), PDRblock::location::findIndex(), forAll(), kOmegaSSTLM< BasicTurbulenceModel >::Fthetat(), viewFactor::initialise(), Moment< Type >::interpolate(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::jacobian(), TDACChemistryModel< CompType, ThermoType >::jacobian(), StandardChemistryModel< ReactionThermo, ThermoType >::jacobian(), WALE< BasicTurbulenceModel >::k(), Smagorinsky< BasicTurbulenceModel >::k(), faPatch::makeCorrectionVectors(), faPatch::makeDeltaCoeffs(), basicFvGeometryScheme::nonOrthCorrectionVectors(), basicFvGeometryScheme::nonOrthDeltaCoeffs(), continuousGasKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), NicenoKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), kOmegaSSTSAS< BasicTurbulenceModel >::Qsas(), eddyDissipationDiffusionModel< ReactionThermo, ThermoType >::rtDiff(), PPCG::scalarSolveCG(), globalIndex::setLocalSize(), standardRadiation::Shs(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::solve(), laminar::Su(), LISAAtomization< CloudType >::update(), adjointOutletNuaTildaFvPatchScalarField::updateCoeffs(), adjointFarFieldVelocityFvPatchVectorField::updateCoeffs(), adjointFarFieldNuaTildaFvPatchScalarField::updateCoeffs(), adjointFarFieldPressureFvPatchScalarField::updateCoeffs(), reactingOneDim::updateqr(), histogram::write(), sizeDistribution::write(), and regionSizeDistribution::write().

◆ minValue

◆ maxValue

scalar maxValue = dD

Definition at line 13 of file LISASMDCalcMethod2.H.

Referenced by if().

◆ range

scalar range = maxValue - minValue

Definition at line 23 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ nExp

scalar nExp = 3

Definition at line 25 of file LISASMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ rrd

FixedList<scalar, 500> rrd

Definition at line 26 of file LISASMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ probFactorMin

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

Definition at line 27 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ probFactorMax

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

Definition at line 28 of file LISASMDCalcMethod2.H.

◆ probFactor

scalar probFactor = 1.0/(probFactorMin - probFactorMax)

Definition at line 29 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ success

bool success = false

Definition at line 38 of file LISASMDCalcMethod2.H.

Referenced by while().

◆ y

scalar y = rndGen.sample01<scalar>()

Definition at line 40 of file LISASMDCalcMethod2.H.

Referenced by while().

◆ k

label k = 0

Boltzmann constant.

Definition at line 41 of file LISASMDCalcMethod2.H.

Referenced by dictionary::add(), multiphaseStabilizedTurbulence::addSup(), phaseChange::addToDriftRate(), QRMatrix< MatrixType >::applyLeftReflector(), QRMatrix< MatrixType >::applyRightReflector(), atmBoundaryLayerInletKFvPatchScalarField::atmBoundaryLayerInletKFvPatchScalarField(), QRMatrix< MatrixType >::backSubstitution(), PDRblock::C(), alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), energySpectrum::calcAndWriteSpectrum(), BrownianMotionForce< CloudType >::calcCoupled(), addPatchCellLayer::calcExtrudeInfo(), uniformBinary::calcNik(), LaakkonenAlopaeusAittamaaDsd::calcNik(), nutkWallFunctionFvPatchScalarField::calcNut(), nutkRoughWallFunctionFvPatchScalarField::calcNut(), atmNutkWallFunctionFvPatchScalarField::calcNut(), atmNutWallFunctionFvPatchScalarField::calcNut(), atmOmegaWallFunctionFvPatchScalarField::calculate(), atmEpsilonWallFunctionFvPatchScalarField::calculate(), MUCSheterogeneousRate< CloudType >::calculate(), epsilonWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), nutkFilmWallFunctionFvPatchScalarField::calcUTau(), binaryNode< CompType, ThermoType >::calcV(), formatter::canWriteAttr(), ijkMesh::cellLabel(), ijkAddressing::checkIndex(), CompactListList< T, Container >::CompactListList(), MixedDiffuseSpecular< CloudType >::correct(), phaseChange::correct(), daughterSizeDistributionModel::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), radiativeIntensityRay::correct(), EDC< ReactionThermo >::correct(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), multiphaseStabilizedTurbulence::correct(), trackedParticle::correctAfterParallelTransfer(), WALE< BasicTurbulenceModel >::correctNut(), DeardorffDiffStress< BasicTurbulenceModel >::correctNut(), SmagorinskyZhang< BasicTurbulenceModel >::correctNut(), Smagorinsky< BasicTurbulenceModel >::correctNut(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), LLTMatrix< Type >::decompose(), dmat_uniform(), kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), dtris2(), PDRblock::dz(), blockDescriptor::edge(), Foam::Ek(), pairPotential::energy(), pairPotential::energyTable(), LESModel< BasicTurbulenceModel >::epsilon(), RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::epsilon(), SpalartAllmaras< BasicTurbulenceModel >::epsilon(), Foam::Math::erfInv(), proudmanAcousticPower::execute(), comfort::execute(), Foam::facePointN(), blockDescriptor::facePoints(), inverseDistance::fill(), voxelMeshSearch::fill(), blockDescriptor::flatFaceOrEdge(), pairPotential::force(), pairPotential::forceTable(), NURBS3DVolume::getCPID(), PDRblock::grid(), Foam::HasherInt(), if(), ijkAddressing::index(), inverseDistance::index3(), distribution::insertMissingKeys(), BlendedInterfacialModel< wallLubricationModel >::K(), Kmesh::Kmesh(), kOmegaSSTDES< BasicTurbulenceModel >::LESRegion(), Foam::LUDecompose(), faPatch::makeCorrectionVectors(), distribution::mean(), Distribution< Type >::mean(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), daughterSizeDistributionModel::nik(), distribution::normalised(), Distribution< Type >::normalised(), RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > >::omega(), LESModel< BasicTurbulenceModel >::omega(), SpalartAllmaras< BasicTurbulenceModel >::omega(), Foam::operator&(), IjkField< Foam::Vector< bool > >::operator()(), Foam::operator*(), triad::operator+=(), Foam::operator^(), inverseDistance::overlaps(), voxelMeshSearch::overlaps(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), ijkMesh::pointLabel(), points_delaunay_naive_2d(), argList::printCompat(), IOobjectList::prune_0(), eddyViscosity< RASModel< BasicTurbulenceModel > >::R(), continuousGasKEpsilon< BasicTurbulenceModel >::R(), distribution::raw(), Distribution< Type >::raw(), energySpectrum::read(), IjkField< Foam::Vector< bool > >::resize(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), eddyDissipationModelBase< ReactionThermo, ThermoType >::rtTurb(), general::sample(), dictionary::set(), pairPotential::setLookupTables(), seulex::seulex(), block::shapes(), solidBodyMotionSolver::solidBodyMotionSolver(), Foam::solve(), SIBS::solve(), seulex::solve(), extendedEdgeMesh::sortPointsAndEdges(), PDRblock::span(), SVD::SVD(), triangulation_plot_eps(), triangulation_print(), StokesII::UfBase(), StokesI::UfBase(), StochasticDispersionRAS< CloudType >::update(), GradientDispersionRAS< CloudType >::update(), LISAAtomization< CloudType >::update(), alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), reactingOneDim::updatePhiGas(), reactingOneDim::updateqr(), IATEsource::Ut(), PDRblock::V(), blockDescriptor::vertex(), ijkMesh::vertLabels(), while(), PDRblock::width(), voxelMeshSearch::write(), ensightWrite::write(), vtkWrite::write(), formatter::writeAttr(), voxelMeshSearch::writeGrid(), Enum< faceAction >::writeList(), formatter::xmlAttr(), nutkWallFunctionFvPatchScalarField::yPlus(), and zoneMotion::zoneMotion().

◆ x

x = minValue + range*(k - 0.5)/500.0

Definition at line 52 of file LISASMDCalcMethod2.H.

Referenced by Matrix< RectangularMatrix< Type >, Type >::Amul(), Matrix< RectangularMatrix< Type >, Type >::AmulImpl(), obstacleGrouping::append(), Foam::atan2(), binaryTree< CompType, ThermoType >::balance(), BarycentricTensor< Cmpt >::BarycentricTensor(), Foam::BitOps::bit_count(), boolVector::boolVector(), targetCoeffTrim::calcCoeffs(), uniformBinary::calcNik(), LaakkonenAlopaeusAittamaaDsd::calcNik(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), Stochastic< CloudType >::calculate(), TableBase< Type >::checkMaxBounds(), TableBase< Type >::checkMinBounds(), Tensor2D< Cmpt >::cols(), Tensor< scalar >::cols(), EigenMatrix< cmptType >::complexEVecs(), rotorDiskSource::constructGeometry(), treeBoundBox::corner(), triSurfaceTools::curvatures(), triad::cx(), triad::cy(), triad::cz(), d_max(), d_min(), binaryTree< CompType, ThermoType >::deleteLeaf(), quadraticEqn::derivative(), Polynomial< 8 >::derivative(), cubicEqn::derivative(), Foam::Math::erfInv(), linearEqn::error(), quadraticEqn::error(), cubicEqn::error(), Grimshaw::eta(), McCowan::eta(), quaternion::eulerAngles(), BlendedInterfacialModel< wallLubricationModel >::evaluate(), setFlow::execute(), blockDescriptor::facePointLabel(), blockDescriptor::flatFaceOrEdge(), forAll(), rigidBodyModel::forwardDynamics(), exprDriver::getFunctionValue(), Foam::hypot(), Foam::Math::incGamma_P(), Foam::Math::incGamma_Q(), Foam::Math::incGammaRatio_P(), Foam::Math::incGammaRatio_Q(), waveModel::initialiseGeometry(), patchTransformedInterpolation::interpolate(), uniformInterpolationTable< scalar >::interpolate(), uniformInterpolationTable< scalar >::interpolateLog10(), Foam::interpolateSplineXY(), Foam::interpolateXY(), QRMatrix< MatrixType >::inv(), Vector2D< label >::isClose(), thermoCoupleProbes::jacobian(), Foam::kShellIntegration(), Foam::kShellMean(), Foam::LAB_to_XYZ(), Foam::less(), makeFaGradScheme(), Foam::makeGraph(), Foam::minMax(), Foam::minMaxMag(), McCowan::newtonRapsonF1(), McCowan::newtonRapsonF2(), isNotEqOp< T >::operator()(), minEqOpFace::operator()(), hypotOp< T >::operator()(), minEqOp< labelPair >::operator()(), faceEqOp< T, CombineOp >::operator()(), listPlusEqOp< T >::operator()(), ifEqEqOp< value >::operator()(), scalarDivideOp< T, T2 >::operator()(), statsEqOp::operator()(), combineEqOp< Type, TrackingData >::operator()(), volumeCombineOp::operator()(), nearestFaceAMI::nearestEqOp::operator()(), scalarModuloOp< T, T2 >::operator()(), reduceFileStates::operator()(), combine< Type, TrackingData >::operator()(), offsetOp< T >::operator()(), combineReduceFileStates::operator()(), combineConstraintsEqOp::operator()(), minMaxOp< T >::operator()(), csvTableReader< Type >::operator()(), nearestEqOp::operator()(), minMaxEqOp< T >::operator()(), mappedPatchBase::nearestEqOp::operator()(), offsetOp< labelledTri >::operator()(), UPstream::listEq::operator()(), mappedPatchBase::maxProcEqOp::operator()(), mappedPatchBase::nearestWorldEqOp::operator()(), minMaxMagOp< T >::operator()(), minFirstEqOp< T1 >::operator()(), minMaxMagEqOp< T >::operator()(), areaIntegrateOp< Type >::operator()(), maxFirstEqOp< T1 >::operator()(), volumeIntegrateOp< Type >::operator()(), updateOp< PrimitivePatchType, Type, TrackingData >::operator()(), listUpdateOp< Type, TrackingData >::operator()(), offsetOp< triFace >::operator()(), offsetOp< face >::operator()(), floorOp< Scalar >::operator()(), ceilOp< Scalar >::operator()(), roundOp< Scalar >::operator()(), appendEqOp< T >::operator()(), uniqueEqOp< T >::operator()(), unionEqOp::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), Foam::operator*(), AveragingMethod< Foam::Vector >::operator*=(), Foam::operator+(), listOp< N >::result::operator+(), AveragingMethod< Foam::Vector >::operator+=(), Foam::operator/(), AveragingMethod< Foam::Vector >::operator/=(), triad::operator=(), AveragingMethod< Foam::Vector >::operator=(), InflationInjection< CloudType >::parcelsToInject(), Vector2D< label >::perp(), Foam::pinv(), weightedPosition::plusEqOp(), Foam::pow(), ArdenBuck::pSatPrime(), quaternion::R(), NASedgeFormat::read(), OFFsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), fixedTrim::read(), NASsurfaceFormat< Face >::read(), energySpectrum::read(), general::readDict(), STARCDMeshReader::readPoints(), STARCDCore::readPoints(), Foam::RGB_to_XYZ(), Roots< N >::Roots(), quadraticEqn::roots(), cubicEqn::roots(), starcd::rotation(), Tensor2D< Cmpt >::row(), Tensor< scalar >::row(), Tensor2D< Cmpt >::rows(), Tensor< scalar >::rows(), normal::sample(), massRosinRammler::sample(), multiNormal::sample(), searchableDisk::searchableDisk(), binaryTree< CompType, ThermoType >::secondaryBTSearch(), scanToken::setVector(), Foam::Sn(), LLTMatrix< Type >::solve(), adaptiveSolver::solve(), Trapezoid::solve(), Euler::solve(), EulerSI::solve(), Rosenbrock12::solve(), LUscalarMatrix::solve(), rodas23::solve(), Rosenbrock23::solve(), RKCK45::solve(), rodas34::solve(), RKDP45::solve(), RKF45::solve(), Rosenbrock34::solve(), SIBS::solve(), seulex::solve(), ODESolver::solve(), QRMatrix< MatrixType >::solve(), triad::sortxyz(), Foam::srange01(), SVD::SVD(), swapec(), colourTable::table(), Tensor< scalar >::Tensor(), Tensor2D< Cmpt >::Tensor2D(), Foam::tetCutPrism0(), Foam::tetCutPrism01(), Foam::tetCutPrism23(), Foam::tetCutTet(), Foam::tetReorder(), targetCoeffTrim::thetag(), Matrix< RectangularMatrix< Type >, Type >::Tmul(), Matrix< RectangularMatrix< Type >, Type >::TmulImpl(), CV2D::toPoint2D(), binaryTree< CompType, ThermoType >::treeSuccessor(), Foam::triCutQuad(), Foam::triCutTri(), Foam::triReorder(), Grimshaw::Uf(), McCowan::Uf(), irregularMultiDirectional::Uf(), StokesII::UfBase(), StokesI::UfBase(), pointConstraint::unconstrainedDirections(), azizChen::unscaledEnergy(), Foam::unzip(), Foam::unzipCols(), Foam::unzipRows(), LISAAtomization< CloudType >::update(), SHF< CloudType >::update(), ReactingLookupTableInjection< CloudType >::updateMesh(), ThermoLookupTableInjection< CloudType >::updateMesh(), ReactingMultiphaseLookupTableInjection< CloudType >::updateMesh(), KinematicLookupTableInjection< CloudType >::updateMesh(), linearEqn::value(), sinImplicitFunction::value(), OneConstant< Type >::value(), TimeFunction1< Type >::value(), quadraticEqn::value(), TableBase< Type >::value(), Polynomial< 8 >::value(), Function1Expression< Type >::value(), UniformValueField< Type >::value(), Polynomial< Type >::value(), Constant< Type >::value(), cubicEqn::value(), PatchExprField< Type >::value(), polynomialFunction::value(), colourTable::value(), CodedFunction1< Type >::value(), CodedField< Type >::value(), MappedFile< scalar >::value(), FieldFunction1< Function1Type >::value(), vbedg(), Foam::vectorMag(), Foam::vectorMagSqr(), Relaxation< CloudType >::velocityCorrection(), while(), histogram::write(), regionSizeDistribution::write(), general::writeDict(), eddy::writeSurfaceOBJ(), x3dWriter::writeTemplate(), graph::writer::writeXY(), general::x(), Foam::XYZ_to_LAB(), Foam::XYZ_to_RGB(), Foam::zip(), Foam::zipCols(), and Foam::zipRows().