Go to the documentation of this file.
29 #include "phasePair.H"
30 #include "phaseSystem.H"
37 namespace phaseTransferModels
54 dropletName_(
dict.lookup(
"droplet")),
55 surfaceName_(
dict.lookup(
"surface")),
56 efficiency_(readScalar(
dict.lookup(
"efficiency")))
73 if (dropletName_ == pair_.first())
75 dropletPtr = &pair_.phase1();
78 else if (dropletName_ == pair_.second())
80 dropletPtr = &pair_.phase2();
86 <<
"The specified droplet phase, " << dropletName_ <<
", is not in "
87 <<
"the " << pair_ <<
" pair"
96 *droplet.
rho()*droplet*surface/surface.
d()
97 *
mag(droplet.
U() - surface.
U());
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
addToRunTimeSelectionTable(phaseTransferModel, deposition, dictionary)
A class for managing temporary objects.
virtual tmp< volScalarField > rho() const =0
Return the density field.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
virtual tmp< volScalarField > dmdt() const
The mass transfer rate.
dimensionedScalar sign(const dimensionedScalar &ds)
deposition(const dictionary &dict, const phasePair &pair)
Construct from components.
defineTypeNameAndDebug(deposition, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const phaseSystem & fluid() const
Return the system to which this phase belongs.
virtual tmp< volVectorField > U() const =0
Return the velocity.
const phaseModelList & phases() const
Return the phase models.
virtual ~deposition()
Destructor.
Phase transfer model representing change from a dispersed phase to a film as a result of deposition o...