55 dropletName_(
dict.get<
word>(
"droplet")),
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"
92 const phaseModel& droplet = *dropletPtr;
93 const phaseModel&
surface = droplet.fluid().phases()[surfaceName_];
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.
phaseTransferModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
const phasePair & pair_
Phase pair.
Phase transfer model representing change from a dispersed phase to a film as a result of deposition o...
deposition(const dictionary &dict, const phasePair &pair)
Construct from components.
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.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc).
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)