Go to the source code of this file.
Functions | |
Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, simple.dict());mesh.schemes().setFluxRequired(p.name());Info<< "Reading field pa\n"<< endl;volScalarField pa(IOobject("pa", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Ua\n"<< endl;volVectorField Ua(IOobject("Ua", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);label paRefCell=0;scalar paRefValue=0.0;setRefCell(pa, simple.dict(), paRefCell, paRefValue);mesh.schemes().setFluxRequired(pa.name());autoPtr< viscosityModel > | viscosity (viscosityModel::New(mesh)) |
autoPtr< incompressible::momentumTransportModel > | turbulence (incompressible::momentumTransportModel::New(U, phi, viscosity)) |
dimensionedScalar | zeroSensitivity ("0", dimVelocity *dimVelocity, 0.0) |
dimensionedScalar | zeroAlpha ("0", dimless/dimTime, 0.0) |
dimensionedScalar | lambda (viscosity->lookup("lambda")) |
dimensionedScalar | alphaMax (viscosity->lookup("alphaMax")) |
volScalarField | alpha (IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity)) |
zeroCells (alpha, inletCells) | |
Variables | |
const labelList & | inletCells = mesh.boundary()["inlet"].faceCells() |
Info<< "Reading field p\n" << endl;volScalarField p( IOobject ( "p", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);pressureReference pressureReference(p, simple.dict());mesh.schemes().setFluxRequired(p.name());Info<< "Reading field pa\n" << endl;volScalarField pa( IOobject ( "pa", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Reading field Ua\n" << endl;volVectorField Ua( IOobject ( "Ua", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);label paRefCell = 0;scalar paRefValue = 0.0;setRefCell( pa, simple.dict(), paRefCell, paRefValue);mesh.schemes().setFluxRequired(pa.name());autoPtr<viscosityModel> viscosity | ( | viscosityModel::New(mesh) | ) |
autoPtr<incompressible::momentumTransportModel> turbulence | ( | incompressible::momentumTransportModel::New(U, phi, viscosity) | ) |
dimensionedScalar zeroSensitivity | ( | "0" | , |
dimVelocity * | dimVelocity, | ||
0. | 0 | ||
) |
dimensionedScalar zeroAlpha | ( | "0" | , |
dimless/ | dimTime, | ||
0. | 0 | ||
) |
dimensionedScalar lambda | ( | viscosity-> | lookup"lambda" | ) |
Referenced by Foam::calcTE18(), aerosolDrag::CdRe(), tetrahedron< Point, PointRef >::circumSphere(), cubic< Type >::correction(), displacementLinearMotionMotionSolver::curPoints(), cutPolyIsoSurface::cutPolyIsoSurface(), blackBodyEmission::EblambdaT(), Foam::cutPoly::edgeCutValue(), Foam::eigenValues(), Foam::eigenVector(), Foam::incGammaRatio_Q(), surfaceInterpolationScheme< scalar >::interpolate(), integratedNonUniformTable::intfdT(), function::jcalc(), functionDot::jcalc(), segregated::K(), HrenyaSinclair::kappa(), Foam::MULES::limit(), Foam::MULES::limitCorr(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), Foam::MULES::limitSum(), polyLine::localParameter(), main(), HrenyaSinclair::nu(), BSpline::position(), polyLineEdge::position(), CatmullRomSpline::position(), arcEdge::position(), lineEdge::position(), polyLine::position(), projectEdge::position(), solidDisplacement::pressureCorrector(), kOmegaSSTLM< BasicMomentumTransportModel >::ReThetat0(), tractionDisplacementFvPatchVectorField::updateCoeffs(), NonUniformTable< Type >::value(), and UniformTable< Type >::value().
dimensionedScalar alphaMax | ( | viscosity-> | lookup"alphaMax" | ) |
Referenced by MichaelsBolger::correct(), JohnsonJackson::frictionalPressure(), JohnsonJacksonSchaeffer::frictionalPressure(), JohnsonJackson::frictionalPressurePrime(), JohnsonJacksonSchaeffer::frictionalPressurePrime(), LunSavage::g0(), SinclairJackson::g0(), LunSavage::g0prime(), SinclairJackson::g0prime(), MPPICCloud< CloudType >::info(), main(), and randomCoalescence::R().
volScalarField alpha | ( | IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE) | , |
lambda * | maxUa &U, zeroSensitivity | ||
) |
Referenced by Foam::fvc::absolute(), VoFTurbulenceDamping::addSup(), interfaceTurbulenceDamping::addSup(), phaseTurbulenceStabilisation::addSup(), buoyancyEnergy::addSup(), solidThermalEquilibrium::addSup(), heatTransfer::addSup(), multicomponentPhaseChange::addSup(), singleComponentPhaseChange::addSup(), acceleration::addSup(), actuationDisk::addSup(), buoyancyForce::addSup(), porosityForce::addSup(), sixDoFAcceleration::addSup(), interRegionPorosityForce::addSup(), propellerDisk::addSup(), isotropicDamping::addSup(), verticalDamping::addSup(), VoFCavitation::addSup(), VoFFilmTransfer::addSup(), homogeneousCondensation::addSup(), homogeneousLiquidPhaseSeparation::addSup(), coefficientPhaseChange::addSup(), coefficientMassTransfer::addSup(), waveForcing::addSup(), filmCloudTransfer::addSup(), filmVoFTransfer::addSup(), fvSpecificSource::addSupType(), fvTotalSource::addSupType(), massTransfer::addSupType(), densityChangeDrift::addToDriftRate(), MomentumCloud< CloudType >::alpha(), incompressibleDriftFlux::alphaPhi(), twoPhaseSolver::alphaPhi(), DenseDragForce< CloudType >::cacheFields(), Implicit< CloudType >::cacheFields(), BrownianMotionForce< CloudType >::calcCoupled(), forcesBase::calcForcesMoments(), pointMVCWeight::calcWeights(), lookupProfile::Cdl(), seriesProfile::Cdl(), solitary::celerity(), TrajectoryCollision< CloudType >::collideParcels(), VoFFilmTransfer::correct(), kineticTheoryModel::correct(), fractal::correct(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::correct(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::correct(), lambdaThixotropic< BasicMomentumTransportModel >::correct(), Maxwell< BasicMomentumTransportModel >::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::correct(), dynamicKEqn< BasicMomentumTransportModel >::correct(), dynamicLagrangian< BasicMomentumTransportModel >::correct(), kEqn< BasicMomentumTransportModel >::correct(), SpalartAllmarasDES< BasicMomentumTransportModel >::correct(), kEpsilon< BasicMomentumTransportModel >::correct(), kOmega< BasicMomentumTransportModel >::correct(), kOmega2006< BasicMomentumTransportModel >::correct(), LaunderSharmaKE< BasicMomentumTransportModel >::correct(), LRR< BasicMomentumTransportModel >::correct(), realizableKE< BasicMomentumTransportModel >::correct(), RNGkEpsilon< BasicMomentumTransportModel >::correct(), SpalartAllmaras< BasicMomentumTransportModel >::correct(), SSG< BasicMomentumTransportModel >::correct(), v2f< BasicMomentumTransportModel >::correct(), phaseSystem::correctContinuityError(), phaseStabilisedSnGrad< Type >::correction(), phaseSystem::correctPhi(), kOmegaSSTLM< BasicMomentumTransportModel >::correctReThetatGammaInt(), PengRobinsonGas< Specie >::Cp(), PengRobinsonGas< Specie >::CpMCv(), Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvc::ddtCorr(), QRMatrix< MatrixType >::decompose(), forcesBase::devTau(), unityLewisFourier< BasicThermophysicalTransportModel >::divj(), Fickian< BasicThermophysicalTransportModel >::divq(), Fourier< BasicThermophysicalTransportModel >::divq(), MaxwellStefan< BasicThermophysicalTransportModel >::divq(), unityLewisFourier< BasicThermophysicalTransportModel >::divq(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), anisotropic< SolidThermophysicalTransportModel >::divq(), isotropic< SolidThermophysicalTransportModel >::divq(), exponential::dTaudTheta(), HarrisCrighton::dTaudTheta(), SpalartAllmarasIDDES< BasicMomentumTransportModel >::dTilda(), PengRobinsonGas< Specie >::e(), LaheyKEpsilon< BasicMomentumTransportModel >::epsilonSource(), phaseScalarTransport::execute(), JohnsonJackson::frictionalPressure(), JohnsonJacksonSchaeffer::frictionalPressure(), Schaeffer::frictionalPressure(), JohnsonJackson::frictionalPressurePrime(), JohnsonJacksonSchaeffer::frictionalPressurePrime(), Schaeffer::frictionalPressurePrime(), backwardDdtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdtPhiCorr(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), localEulerDdtScheme< Type >::fvcDdtPhiCorr(), backwardDdtScheme< Type >::fvcDdtUfCorr(), EulerDdtScheme< Type >::fvcDdtUfCorr(), localEulerDdtScheme< Type >::fvcDdtUfCorr(), backwardDdtScheme< Type >::fvmDdt(), boundedDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), steadyStateDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::fvmDdt(), CarnahanStarling::g0(), LunSavage::g0(), SinclairJackson::g0(), CarnahanStarling::g0prime(), LunSavage::g0prime(), SinclairJackson::g0prime(), multiphaseExternalTemperatureFvPatchScalarField::getKappa(), coupledMultiphaseTemperatureFvPatchScalarField::getNbr(), coupledMultiphaseTemperatureFvPatchScalarField::getThis(), PengRobinsonGas< Specie >::h(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), SolidThermalPhaseModel< BasePhaseModel >::heEqn(), Foam::incGammaRatio_Q(), MPPICCloud< CloudType >::info(), triangleFuncs::intersectAxesBundle(), unityLewisEddyDiffusivity< Foam::RASThermophysicalTransportModel< Foam::ThermophysicalTransportModel< Foam::compressibleMomentumTransportModel, Foam::fluidThermo > > >::j(), NicenoKEqn< BasicMomentumTransportModel >::kSource(), LaheyKEpsilon< BasicMomentumTransportModel >::kSource(), main(), makeMomentumTransportModelTypes(), zeroDimensionalFixedPressureConstraint::massSource(), isothermalFilm::momentumPredictor(), laminarModel< BasicMomentumTransportModel >::New(), LESModel< BasicMomentumTransportModel >::New(), RASModel< BasicMomentumTransportModel >::New(), phaseSolidThermophysicalTransportModel::New(), filmCompressibleMomentumTransportModel::New(), phaseCompressibleMomentumTransportModel::New(), phaseIncompressibleMomentumTransportModel::New(), momentumTransportModel::New(), Foam::filmCompressible::New(), Foam::phaseCompressible::New(), Foam::phaseIncompressible::New(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), equilibrium::oneByTau(), isotropic::oneByTau(), nonEquilibrium::oneByTau(), blendingMethod::parameter(), SprayCloud< CloudType >::penetration(), continuousGasKEqn< BasicMomentumTransportModel >::phaseTransferCoeff(), NicenoKEqn< BasicMomentumTransportModel >::phaseTransferCoeff(), continuousGasKEpsilon< BasicMomentumTransportModel >::phaseTransferCoeff(), LaheyKEpsilon< BasicMomentumTransportModel >::phaseTransferCoeff(), ParticleTrap< CloudType >::preEvolve(), ParticleErosion< CloudType >::preFace(), Fickian< BasicThermophysicalTransportModel >::q(), Fourier< BasicThermophysicalTransportModel >::q(), MaxwellStefan< BasicThermophysicalTransportModel >::q(), unityLewisFourier< BasicThermophysicalTransportModel >::q(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), anisotropic< SolidThermophysicalTransportModel >::q(), isotropic< SolidThermophysicalTransportModel >::q(), anisotropic< SolidThermophysicalTransportModel >::qCorr(), KochFriedlander::R(), randomCoalescence::R(), fvMatrix< Type >::relax(), GeometricField< Type, PatchField, GeoMesh >::relax(), JONSWAP::S(), fvMatrix< Type >::setValues(), populationBalanceModel::solve(), phaseSystem::solve(), PBiCCCG< Type, DType, LUType >::solve(), PBiCICG< Type, DType, LUType >::solve(), PCICG< Type, DType, LUType >::solve(), PBiCG::solve(), PBiCGStab::solve(), PCG::solve(), fvModels::source(), fvModel::source(), fvModels::sourceProxy(), fvModel::sourceProxy(), CloudFilmTransfer< CloudType >::splashDirection(), Foam::fvc::spread(), MPLIC::surfaceAlpha(), Foam::fvc::sweep(), exponential::tau(), HarrisCrighton::tau(), Lun::tau(), ParticleStressModel::tau(), MovingPhaseModel< BasePhaseModel >::UEqn(), MovingPhaseModel< BasePhaseModel >::UfEqn(), JohnsonJacksonParticleSlipFvPatchVectorField::updateCoeffs(), JohnsonJacksonParticleThetaFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), waveAlphaFvPatchScalarField::updateCoeffs(), solitary::velocity(), Explicit< CloudType >::velocityCorrection(), regionSizeDistribution::write(), FacePostProcessing< CloudType >::write(), ParticleCollector< CloudType >::write(), blendingMethod::x(), MulticomponentPhaseModel< BasePhaseModel >::YiEqn(), and PengRobinsonGas< Specie >::Z().
zeroCells | ( | alpha | , |
inletCells | |||
) |
const labelList& inletCells = mesh.boundary()["inlet"].faceCells() |
Definition at line 94 of file createFields.H.
Referenced by main().