34 namespace phaseTransferModels
51 interface_(interface),
52 dropletName_(
dict.lookup(
"droplet")),
53 surfaceName_(
dict.lookup(
"surface")),
54 efficiency_(
dict.lookup<scalar>(
"efficiency"))
77 if (dropletName_ == interface_.phase1().name())
79 dropletPtr = &interface_.phase1();
82 else if (dropletName_ == interface_.phase2().name())
84 dropletPtr = &interface_.phase2();
90 <<
"The specified droplet phase, " << dropletName_ <<
", is not in "
91 <<
"the " << interface_.name() <<
" pair"
100 *droplet.
rho()*droplet*surface/surface.
d()
101 *
mag(droplet.
U() - surface.
U());
Macros for easy insertion into run-time selection tables.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
const phaseSystem & fluid() const
Return the system to which this phase belongs.
tmp< volScalarField > d() const
Return the Sauter-mean diameter.
virtual tmp< volVectorField > U() const =0
Return the velocity.
virtual const volScalarField & rho() const =0
Return the density field.
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...
deposition(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
virtual bool mixture() const
Whether or not there is a mass transfer rate for the mixture.
virtual tmp< volScalarField > dmdtf() const
The mass transfer rate for the mixture.
virtual ~deposition()
Destructor.
A class for managing temporary objects.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(cavitation, 0)
addToRunTimeSelectionTable(phaseTransferModel, cavitation, dictionary)
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensionedScalar sign(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)