Go to the documentation of this file.
42 int main(
int argc,
char *argv[])
48 #include "readGravitationalAcceleration.H"
57 if (solveTD) {
Info <<
nl<<
"Solving for the turbulent dispersion of raindrops" <<
endl; }
58 else {
Info <<
nl<<
"Turbulent dispersion of raindrops is neglected" <<
endl; }
62 Info <<
nl<<
"Temperature: " << temp.value() <<
" K" <<
endl;
63 Info <<
"Air density: " << rhoa.value() <<
" kg/m3" <<
endl;
64 Info <<
"Air dynamic viscosity: " << mua.value() <<
" kg/m-s" <<
endl;
65 Info <<
"Water density: " << rhop.value() <<
" kg/m3" <<
endl;
69 Info<<
nl <<
"Time = " << runTime.timeName() <<
nl;
71 for (
int nonOrth=0; nonOrth<=
simple.nNonOrthCorr(); nonOrth++)
73 for (
int phase_no = 0; phase_no <
phases.size(); phase_no++)
90 #include "CourantNo.H"
98 Re = (magUr*dp*rhoa)/mua;
100 CdRe.correctBoundaryConditions();
105 tp = (4*rhop*dp*dp)/(3*mua*CdRe);
116 if (runTime.outputTime())
118 for (
int phase_no = 0; phase_no <
phases.size(); phase_no++)
120 Urain[phase_no].write();
127 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
128 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
132 Info<<
"Writing final output\n" <<
endl;
133 for (
int phase_no = 0; phase_no <
phases.size(); phase_no++)
135 Urain[phase_no].write();
142 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
143 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
SIMPLE control class to supply convergence information/checks for the SIMPLE loop.
PtrList< volScalarField > Ctrain
scalarField Re(const UList< complex > &cf)
PtrList< surfaceScalarField > phirain
volScalarField tp(IOobject("tp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar("tp", dimensionSet(0, 0, 1, 0, 0, 0, 0), 0))
Ostream & endl(Ostream &os)
Add newline and flush stream.
Dimension set for the base types.
dimensioned< scalar > mag(const dimensioned< Type > &)
Simple relative velocity model.
void GET_parameters(dimensionedScalar temp_, dimensionedScalar &rhoa_, dimensionedScalar &mua_, dimensionedScalar &rhop_)
volScalarField GET_CdRe(volScalarField Reynolds)
Generic dimensioned Type class.
PtrList< volScalarField > alpharain
int main(int argc, char *argv[])
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dictionary & simple
PtrList< volVectorField > Urain
volScalarField tfl(IOobject("tfl", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar("tfl", dimensionSet(0, 0, 1, 0, 0, 0, 0), 0))
dimensionedScalar sqrt(const dimensionedScalar &ds)
volScalarField nutrain(IOobject("nutrain", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar("nutrain", dimensionSet(0, 2,-1, 0, 0, 0, 0), 1))
multiphaseSystem::phaseModelList & phases
label k
Boltzmann constant.
Generic GeometricField class.