30 #include "phasePair.H" 38 namespace phaseTransferModels
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_];
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
dimensionedScalar sign(const dimensionedScalar &ds)
virtual tmp< volScalarField > dmdt() const
The mass transfer rate.
errorManipArg< error, int > exit(error &err, const int errNo=1)
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...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
addToRunTimeSelectionTable(phaseTransferModel, deposition, dictionary)
defineTypeNameAndDebug(deposition, 0)
Macros for easy insertion into run-time selection tables.
deposition(const dictionary &dict, const phasePair &pair)
Construct from components.
A class for handling words, derived from Foam::string.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
virtual ~deposition()
Destructor.
Phase transfer model representing change from a dispersed phase to a film as a result of deposition o...
A class for managing temporary objects.
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...