35 namespace phaseTransferModels
47 const dictionary&
dict,
51 phaseTransferModel(dict, pair),
52 dropletName_(dict.
lookup(
"droplet")),
53 surfaceName_(dict.
lookup(
"surface")),
54 efficiency_(dict.
lookup<scalar>(
"efficiency"))
75 const phaseModel* dropletPtr =
nullptr;
90 <<
"The specified droplet phase, " << dropletName_ <<
", is not in " 91 <<
"the " <<
pair_ <<
" pair" 95 const phaseModel& droplet = *dropletPtr;
96 const phaseModel& surface = droplet.fluid().phases()[surfaceName_];
100 *droplet.rho()*droplet*surface/surface.d()
101 *
mag(droplet.U() - surface.U());
const phaseModel & phase2() const
Return phase 2.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const phaseModel & phase1() const
Return phase 1.
const phasePair & pair_
Phase pair.
virtual bool mixture() const
Whether or not there is a mass transfer rate for the mixture.
Macros for easy insertion into run-time selection tables.
deposition(const dictionary &dict, const phasePair &pair)
Construct from components.
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual ~deposition()
Destructor.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
const Type & second() const
Return second.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual tmp< volScalarField > dmdtf() const
The mass transfer rate for the mixture.
A class for managing temporary objects.
const Type & first() const
Return first.