FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

sameCell.H File Reference


Detailed Description

Definition in file sameCell.H.

Go to the source code of this file.

Functions

 if (dMin > dMax)
 if ((xx > collProb)&&(mMin > VSMALL)&&(mMax > VSMALL))

Variables

vector  v1 = p1().U()
vector  v2 = p2().U()
vector  vRel = v1 - v2
scalar  magVRel = mag(vRel)
scalar  sumD = p1().d() + p2().d()
scalar  pc = spray_.p()[p1().cell()]
spray::iterator  pMin = p1
spray::iterator  pMax = p2
scalar  dMin = pMin().d()
scalar  dMax = pMax().d()
scalar  rhoMax = spray_.fuels().rho(pc, pMax().T(), pMax().X())
scalar  rhoMin = spray_.fuels().rho(pc, pMin().T(), pMin().X())
scalar  mMax = pMax().m()
scalar  mMin = pMin().m()
scalar  mTot = mMax + mMin
scalar  nMax = pMax().N(rhoMax)
scalar  nMin = pMin().N(rhoMin)
scalar  mdMin = mMin/nMin
scalar  nu0 = 0.25*mathematicalConstant::pi*sumD*sumD*magVRel*dt/vols_[cell1]
scalar  nu = nMin*nu0
scalar  collProb = exp(-nu)
scalar  xx = rndGen_.scalar01()

Function Documentation

if ( dMin   ,
dMax    
)

Definition at line 16 of file sameCell.H.

References pMax, and pMin.

if ( (xx > collProb)&&(mMin > VSMALL)&&(mMax > VSMALL)    )

Definition at line 40 of file sameCell.H.

References Foam::cbrt(), collProb, e, f(), forAll, Foam::max(), mdMin, Foam::min(), mMin, nMax, pMax, pMin, Foam::pow(), rho, rho1, rho2, Foam::sqrt(), T, v1, v2, and vRel.


Variable Documentation

vector vRel = v1 - v2

Definition at line 4 of file sameCell.H.

Referenced by SHF::breakupParcel(), and if().

scalar magVRel = mag(vRel)

Definition at line 5 of file sameCell.H.

scalar sumD = p1().d() + p2().d()

Definition at line 7 of file sameCell.H.

Referenced by if().

spray::iterator pMin = p1

Definition at line 10 of file sameCell.H.

Referenced by if().

spray::iterator pMax = p2

Definition at line 11 of file sameCell.H.

Referenced by if().

scalar dMin = pMin().d()

Definition at line 13 of file sameCell.H.

Referenced by ChomiakInjector::direction(), and if().

scalar dMax = pMax().d()

Definition at line 14 of file sameCell.H.

Referenced by ChomiakInjector::direction(), and if().

scalar rhoMax = spray_.fuels().rho(pc, pMax().T(), pMax().X())

Definition at line 23 of file sameCell.H.

Referenced by forAll(), and if().

scalar rhoMin = spray_.fuels().rho(pc, pMin().T(), pMin().X())

Definition at line 24 of file sameCell.H.

Referenced by forAll(), and if().

scalar mMax = pMax().m()

Definition at line 25 of file sameCell.H.

Referenced by if().

scalar mMin = pMin().m()

Definition at line 26 of file sameCell.H.

Referenced by if().

scalar mTot = mMax + mMin

Definition at line 27 of file sameCell.H.

Referenced by if(), and spray::liquidPenetration().

scalar nMax = pMax().N(rhoMax)

Definition at line 29 of file sameCell.H.

Referenced by if().

scalar nMin = pMin().N(rhoMin)

Definition at line 30 of file sameCell.H.

Referenced by if().

scalar mdMin = mMin/nMin

Definition at line 32 of file sameCell.H.

Referenced by if().

scalar nu0 = 0.25*mathematicalConstant::pi*sumD*sumD*magVRel*dt/vols_[cell1]

Definition at line 34 of file sameCell.H.

scalar collProb = exp(-nu)

Definition at line 36 of file sameCell.H.

Referenced by if().

scalar xx = rndGen_.scalar01()