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
 
 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(), dynamicKEqn< BasicMomentumTransportModel >::Ce(), dynamicKEqn< BasicMomentumTransportModel >::Ck(), BrunDripping::correct(), curvatureSeparation::correct(), dripping::correct(), filmVoFTransfer::correct(), VoFFilmTransfer::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::correct(), dynamicKEqn< BasicMomentumTransportModel >::correct(), dynamicLagrangian< BasicMomentumTransportModel >::correct(), kEqn< BasicMomentumTransportModel >::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::correctNut(), kEqn< BasicMomentumTransportModel >::correctNut(), Smagorinsky< BasicMomentumTransportModel >::correctNut(), WALE< BasicMomentumTransportModel >::correctNut(), NicenoKEqn< BasicMomentumTransportModel >::correctNut(), SmagorinskyZhang< BasicMomentumTransportModel >::correctNut(), dynamicLagrangian< BasicMomentumTransportModel >::correctNut(), dynamicKEqn< BasicMomentumTransportModel >::correctNut(), cyclicTransform::cyclicTransform(), fvMesh::delta(), SpalartAllmarasDDES< BasicMomentumTransportModel >::dTilda(), SpalartAllmarasDES< BasicMomentumTransportModel >::dTilda(), SpalartAllmarasIDDES< BasicMomentumTransportModel >::dTilda(), DeardorffDiffStress< BasicMomentumTransportModel >::epsilon(), dynamicKEqn< BasicMomentumTransportModel >::epsilon(), kEqn< BasicMomentumTransportModel >::epsilon(), LESeddyViscosity< BasicMomentumTransportModel >::epsilon(), WALE< BasicMomentumTransportModel >::epsilon(), treeBoundBox::extend(), kOmegaSSTDES< BasicMomentumTransportModel >::FDES(), forAll(), kOmegaSSTLM< BasicMomentumTransportModel >::Fthetat(), Moment< Type >::interpolate(), dynamicLagrangian< BasicMomentumTransportModel >::k(), Smagorinsky< BasicMomentumTransportModel >::k(), WALE< BasicMomentumTransportModel >::k(), main(), coupledFvPatch::makeWeights(), nonConformalCoupledFvPatch::makeWeights(), DeardorffDiffStress< BasicMomentumTransportModel >::omega(), LESeddyViscosity< BasicMomentumTransportModel >::omega(), kOmegaSSTSAS< BasicMomentumTransportModel >::Qsas(), LISAAtomisation< CloudType >::update(), histogram::write(), and regionSizeDistribution::write().

◆ minValue

scalar minValue = dD/10.0

Definition at line 12 of file LISASMDCalcMethod2.H.

Referenced by forAll(), if(), and while().

◆ 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

Definition at line 41 of file LISASMDCalcMethod2.H.

Referenced by dictionary::add(), ballisticCollisions::addToCoalescenceRate(), BrownianCollisions::addToCoalescenceRate(), phaseChange::addToDriftRate(), alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), Airy::angle(), BrownianMotionForce< CloudType >::calcCoupled(), LaakkonenDaughterSizeDistribution::calcNik(), uniformBinary::calcNik(), adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), addPatchCellLayer::calcSidePatch(), viewFactor::calculate(), epsilonWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), binaryNode::calcV(), aerosolDrag::CdRe(), Airy::celerity(), block::cells(), blendingMethod::constant(), EDC::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::correct(), radiativeIntensityRay::correct(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), trackedParticle::correctAfterParallelTransfer(), DeardorffDiffStress< BasicMomentumTransportModel >::correctNut(), Smagorinsky< BasicMomentumTransportModel >::correctNut(), WALE< BasicMomentumTransportModel >::correctNut(), SmagorinskyZhang< BasicMomentumTransportModel >::correctNut(), kOmegaSSTLM< BasicMomentumTransportModel >::correctReThetatGammaInt(), LangmuirHinshelwoodReactionRate::ddc(), thirdBodyArrheniusReactionRate::ddc(), QRMatrix< MatrixType >::decompose(), LLTMatrix< Type >::decompose(), Airy::deep(), dictionary::dictionary(), dmat_uniform(), dtris2(), blockDescriptor::edge(), Foam::Ek(), Stokes2::elevation(), Stokes5::elevation(), pairPotential::energy(), pairPotential::energyTable(), DeardorffDiffStress< BasicMomentumTransportModel >::epsilon(), dynamicKEqn< BasicMomentumTransportModel >::epsilon(), kEqn< BasicMomentumTransportModel >::epsilon(), LESeddyViscosity< BasicMomentumTransportModel >::epsilon(), WALE< BasicMomentumTransportModel >::epsilon(), DSMCCloud< ParcelType >::equipartitionInternalEnergy(), DSMCCloud< ParcelType >::equipartitionLinearVelocity(), comfort::execute(), turbulenceFields::execute(), Foam::facePointN(), blockDescriptor::facePoints(), blockDescriptor::flatFaceOrEdge(), pairPotential::force(), pairPotential::forceTable(), Foam::HasherDual(), Foam::HasherInt(), if(), FreeStream< CloudType >::inflow(), HashList< label, Foam::edge, Foam::QuickHashEdge >::insert(), distribution::insertMissingKeys(), chemistryModel< ThermoType >::jacobian(), jenkins_hashbig(), jenkins_hashlittle(), blendedDiffusiveMassTransferModel::K(), blendedHeatTransferModel::K(), Distribution< Type >::keys(), Kmesh::Kmesh(), Foam::LUDecompose(), main(), makeMomentumTransportModelTypes(), distribution::mean(), Distribution< Type >::mean(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), daughterSizeDistributionModel::nik(), distribution::normalised(), Distribution< Type >::normalised(), nutkAtmRoughWallFunctionFvPatchScalarField::nut(), nutkRoughWallFunctionFvPatchScalarField::nut(), nutkWallFunctionFvPatchScalarField::nut(), DeardorffDiffStress< BasicMomentumTransportModel >::omega(), LESeddyViscosity< BasicMomentumTransportModel >::omega(), Foam::operator&(), triad::operator+=(), keyType::operator=(), HashList< Type, Key, Hash >::operator[](), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), blockDescriptor::pointLabel(), points_delaunay_naive_2d(), BrownianCollisions::precompute(), daughterSizeDistributionModel::precompute(), phaseChange::precompute(), Foam::printTable(), distribution::raw(), Distribution< Type >::raw(), kOmegaSSTLM< BasicMomentumTransportModel >::ReThetat0(), dictionary::set(), pairPotential::setLookupTables(), UCompactListList< T >::setSizeAndValuesToListList(), seulex::seulex(), eddyViscosity< BasicMomentumTransportModel >::sigma(), continuousGasKEpsilon< BasicMomentumTransportModel >::sigma(), LarsenBorgnakkeVariableHardSphere< CloudType >::sigmaTcR(), VariableHardSphere< CloudType >::sigmaTcR(), solidBodyMotionSolver::solidBodyMotionSolver(), SIBS::solve(), seulex::solve(), Foam::solve(), extendedEdgeMesh::sortPointsAndEdges(), SVD::SVD(), triangulation_plot_eps(), triangulation_print(), GradientDispersionRAS< CloudType >::update(), StochasticDispersionRAS< CloudType >::update(), LISAAtomisation< CloudType >::update(), advectiveFvPatchField< Type >::updateCoeffs(), fWallFunctionFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), v2WallFunctionFvPatchScalarField::updateCoeffs(), IATEsource::Ut(), Airy::velocity(), solitary::velocity(), Stokes2::velocity(), Stokes5::velocity(), blockDescriptor::vertex(), Airy::vi(), while(), dsmcFields::write(), SCOPEXiEq::XiEq(), and nutkWallFunctionFvPatchScalarField::yPlus().

◆ x

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

Definition at line 52 of file LISASMDCalcMethod2.H.

Referenced by Airy::angle(), plane::aPoint(), Foam::atan2(), binaryTree::balance(), BarycentricTensor< Cmpt >::BarycentricTensor(), BarycentricTensor2D< Cmpt >::BarycentricTensor2D(), targetCoeffTrim::calcCoeffs(), treeBoundBox::calcExtremities(), LaakkonenDaughterSizeDistribution::calcNik(), uniformBinary::calcNik(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), Stochastic< CloudType >::calculate(), ODESystem::check(), distribution::clipPDF(), molecule::constantProperties::constantProperties(), treeBoundBox::corner(), triSurface::curvature(), d_max(), d_min(), binaryTree::deleteLeaf(), Polynomial< PolySize >::derivative(), cubicEqn::derivative(), quadraticEqn::derivative(), DiagonalMatrix< scalar >::DiagonalMatrix(), Airy::elevation(), solitary::elevation(), Stokes2::elevation(), Stokes5::elevation(), cubicEqn::error(), linearEqn::error(), quadraticEqn::error(), quaternion::eulerAngles(), Foam::evaluate(), BlendedInterfacialModel< ModelType >::evaluate(), adjustTimeStepToCombustion::execute(), treeBoundBox::faceBits(), rigidBodyModel::forwardDynamics(), Foam::hypot(), Foam::incGamma_P(), Foam::incGamma_Q(), Foam::incGammaRatio_P(), Foam::incGammaRatio_Q(), NonUniformTable< Type >::index(), Foam::integerPow(), Foam::integerRoot(), Polynomial< 8 >::integral(), Square< Type >::integral(), unintegrable::integrate(), unintegrable::integrateX(), QRMatrix< MatrixType >::inv(), Foam::invIncGammaRatio_P(), transformer::invTransform(), function::jcalc(), functionDot::jcalc(), Foam::kShellIntegration(), Foam::kShellMean(), Foam::less(), tabulatedCumulative::mean(), unintegrable::mean(), NonUniformTable< Type >::NonUniformTable(), offsetOp< face >::operator()(), areaIntegrateOp< Type >::operator()(), areaMagIntegrateOp< Type >::operator()(), volumeIntegrateOp< Type >::operator()(), offsetOp< labelledTri >::operator()(), accessOp< T >::operator()(), offsetOp< T >::operator()(), offsetOp< triFace >::operator()(), OpBegin::operator()(), OpDereference::operator()(), OpNext::operator()(), OpScaled< ScaleType >::operator()(), reduceFileStates::operator()(), minEqOpFace::operator()(), ListPlusEqOp< T, Size >::operator()(), IDLListAppendEqOp< Type >::operator()(), ifEqEqOp< value >::operator()(), cellToCellStencil::unionEqOp::operator()(), cellToFaceStencil::unionEqOp::operator()(), minEqOp< labelPair >::operator()(), faceEqOp< T, CombineOp >::operator()(), listPlusEqOp< T >::operator()(), ListAppendEqOp< T >::operator()(), listUpdateOp< Type, TrackingData >::operator()(), nearestEqOp::operator()(), combineConstraintsEqOp::operator()(), RemoteData< Type >::smallestEqOp::operator()(), RemoteData< Type >::smallestFirstEqOp::operator()(), UPstream::listEq::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), isNotEqOp< T >::operator()(), InPlaceOpAdvance::operator()(), updateOp< PrimitivePatchType, Type, TrackingData >::operator()(), combineEqOp< Type, TrackingData >::operator()(), combineReduceFileStates::operator()(), AveragingMethod< Type >::operator*=(), listOp< Type, Size >::result::operator+(), AveragingMethod< Type >::operator+=(), AveragingMethod< Type >::operator/=(), AveragingMethod< Type >::operator=(), triad::operator=(), uniform::PDF(), unintegrable::PDF(), Vector2D< Cmpt >::perp(), RosinRammler::Phi(), unintegrable::Phi(), unintegrable::Phi01(), unintegrableForNonZeroQ::Phi01(), treeBoundBox::posBits(), Foam::pow(), ArdenBuck::pSatPrime(), quaternion::R(), Foam::R(), fixedTrim::read(), NASedgeFormat::read(), OBJedgeFormat::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), STARCD::readPoints(), STARCDCore::readPoints(), cubicEqn::roots(), quadraticEqn::roots(), Roots< N >::Roots(), unintegrable::sample(), unintegrable::sampleInterval(), forcing::scale(), waveSuperposition::scale(), binaryTree::secondaryBTSearch(), Foam::Sn(), adaptiveSolver::solve(), QRMatrix< MatrixType >::solve(), LLTMatrix< Type >::solve(), LUscalarMatrix::solve(), Euler::solve(), EulerSI::solve(), ODESolver::solve(), RKCK45::solve(), RKDP45::solve(), RKF45::solve(), rodas23::solve(), rodas34::solve(), Rosenbrock12::solve(), Rosenbrock23::solve(), Rosenbrock34::solve(), SIBS::solve(), Trapezoid::solve(), seulex::solve(), triad::sortxyz(), Foam::sum(), SVD::SVD(), swapec(), Tensor< scalar >::Tensor(), Tensor2D< Cmpt >::Tensor2D(), Foam::tetCutPrism0(), Foam::tetCutPrism01(), Foam::tetCutPrism23(), Foam::tetCutTet(), Foam::tetReorder(), targetCoeffTrim::thetag(), Switch::toInt(), MomentumLookupTableInjection< CloudType >::topoChange(), ReactingLookupTableInjection< CloudType >::topoChange(), ReactingMultiphaseLookupTableInjection< CloudType >::topoChange(), ThermoLookupTableInjection< CloudType >::topoChange(), transformer::transform(), binaryTree::treeSuccessor(), triad::triad(), Foam::triCutQuad(), Foam::triCutTri(), Foam::triReorder(), pointConstraint::unconstrainedDirections(), azizChen::unscaledEnergy(), SHF< CloudType >::update(), LISAAtomisation< CloudType >::update(), USERD_get_part_coords(), Polynomial< Type >::value(), Scale< Type >::value(), Sine< Type >::value(), Square< Type >::value(), Table< Type >::value(), unknownTypeFunction1::value(), TimeFunction1< Type >::value(), cubicEqn::value(), linearEqn::value(), quadraticEqn::value(), Coded< Type >::value(), FieldFunction1< Type, Function1Type >::value(), Constant< Type >::value(), FieldFunction2< Type, Function2Type >::value(), OneConstant< Type >::value(), ZeroConstant< Type >::value(), NonUniformTable< Type >::value(), UniformTable< Type >::value(), vbedg(), Tensor< Cmpt >::vectorComponent(), Relaxation< CloudType >::velocityCorrection(), Airy::vi(), while(), histogram::write(), regionSizeDistribution::write(), Foam::triIntersect::writeTriProjection(), and Foam::zip().