44 #ifndef MovingPhaseModel_H 45 #define MovingPhaseModel_H 47 #include "phaseModel.H" 60 template<
class ThermoModel>
79 template<
class BasePhaseModel>
92 typename BasePhaseModel::thermoModel
134 > thermophysicalTransport_;
158 const word& phaseName,
159 const bool referencePhase,
177 virtual void correctKinematics();
180 virtual void correctTurbulence();
183 virtual void correctEnergyTransport();
192 virtual bool stationary()
const;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Base-class for multi-component fluid thermodynamic properties.
label k
Boltzmann constant.
Templated base class for multiphase thermophysical transport models.
CGAL::Exact_predicates_exact_constructions_kernel K
Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model and can ...
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from string.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-9/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
Base-class for multi-component fluid thermodynamic properties based on density.
Base-class for fluid thermodynamic properties.
void correctUf(autoPtr< surfaceVectorField > &Uf, const volVectorField &U, const surfaceScalarField &phi)
MovingPhaseModelTransportThermoModel< typename BasePhaseModel::thermoModel >::type transportThermoModel
Thermo type for the thermophysical transport model.
surfaceScalarField alphaPhi(phi.name()+alpha1.name(), fvc::flux(phi, alpha1, alphaScheme))
autoPtr< surfaceVectorField > Uf
tmp< volScalarField > divU
PhaseCompressibleMomentumTransportModel< dynamicTransportModel > momentumTransportModel
fvModels source(alpha1, mixture.thermo1().rho())
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Base-class for fluid thermodynamic properties based on density.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.