38namespace 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());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const volVectorField & U() const
const phaseSystem & fluid() const
Return the system to which this phase belongs.
const dimensionedScalar & rho() const
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
const phaseModelList & phases() const
Return the phase models.
Phase transfer model representing change from a dispersed phase to a film as a result of deposition o...
virtual ~deposition()
Destructor.
virtual tmp< volScalarField > dmdt() const
The mass transfer rate.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
errorManipArg< error, int > exit(error &err, const int errNo=1)