27 #include "phasePair.H" 35 namespace phaseTransferModels
47 const dictionary&
dict,
51 phaseTransferModel(dict, pair),
52 dropletName_(dict.
lookup(
"droplet")),
53 surfaceName_(dict.
lookup(
"surface")),
69 const phaseModel* dropletPtr =
nullptr;
84 <<
"The specified droplet phase, " << dropletName_ <<
", is not in " 85 <<
"the " <<
pair_ <<
" pair" 89 const phaseModel& droplet = *dropletPtr;
90 const phaseModel& surface = droplet.fluid().phases()[surfaceName_];
94 *droplet.rho()*droplet*surface/surface.d()
95 *
mag(droplet.U() - surface.U());
const phaseModel & phase2() const
Return phase 2.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const phasePair & pair_
Phase pair.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const phaseModel & phase1() const
Return phase 1.
Macros for easy insertion into run-time selection tables.
deposition(const dictionary &dict, const phasePair &pair)
Construct from components.
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual tmp< volScalarField > dmdt() const
The mass transfer rate.
virtual ~deposition()
Destructor.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
const Type & second() const
Return second.
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
const Type & first() const
Return first.