Go to the documentation of this file.
30 #include "phasePair.H"
31 #include "phaseSystem.H"
38 namespace phaseTransferModels
55 dropletName_(
dict.get<
word>(
"droplet")),
56 surfaceName_(
dict.get<
word>(
"surface")),
57 efficiency_(
dict.get<scalar>(
"efficiency"))
74 if (dropletName_ == pair_.first())
76 dropletPtr = &pair_.phase1();
79 else if (dropletName_ == pair_.second())
81 dropletPtr = &pair_.phase2();
87 <<
"The specified droplet phase, " << dropletName_ <<
", is not in "
88 <<
"the " << pair_ <<
" pair"
97 *droplet.
rho()*droplet*surface/surface.
d()
98 *
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 handling words, derived from Foam::string.
A class for managing temporary objects.
tmp< volScalarField > d() const
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.
const volVectorField & U() const
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const phaseSystem & fluid() const
Return the system to which this phase belongs.
const phaseModelTable & phases() const
Constant access the phases.
const dimensionedScalar & rho() const
virtual ~deposition()
Destructor.
Phase transfer model representing change from a dispersed phase to a film as a result of deposition o...