STYLE: twoPhaseEulerFoam: updated interfacial model headers to reflect changes in the definition of K

This commit is contained in:
william
2014-03-18 09:07:35 +00:00
committed by Andrew Heather
parent cfdd46ef15
commit e71b49311c
8 changed files with 14 additions and 28 deletions

View File

@ -134,13 +134,8 @@ public:
virtual tmp<volScalarField> CdRe() const = 0; virtual tmp<volScalarField> CdRe() const = 0;
//- The drag function K used in the momentum equation //- The drag function K used in the momentum equation
// ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(U1-U2) // ddt(alpha1*rho1*U1) + ... = ... K*(U1-U2)
// ddt(alpha2*rho2*U2) + ... = ... alpha1*alpha2*K*(U2-U1) // ddt(alpha2*rho2*U2) + ... = ... K*(U2-U1)
// ********************************** NB! *****************************
// for numerical reasons alpha1 and alpha2 has been extracted from the
// drag function K, so you MUST divide K by alpha1*alpha2 when
// implemnting the drag function
// ********************************** NB! *****************************
virtual tmp<volScalarField> K() const; virtual tmp<volScalarField> K() const;
//- Dummy write for regIOobject //- Dummy write for regIOobject

View File

@ -47,7 +47,7 @@ namespace heatTransferModels
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class RanzMarshall Declaration Class RanzMarshall Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class RanzMarshall class RanzMarshall

View File

@ -46,7 +46,7 @@ namespace Foam
class phasePair; class phasePair;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class heatTransferModel Declaration Class heatTransferModel Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class heatTransferModel class heatTransferModel
@ -115,13 +115,8 @@ public:
// Member Functions // Member Functions
//- The heat transfer function K used in the enthalpy equation //- The heat transfer function K used in the enthalpy equation
// ddt(alpha1*rho1*ha) + ... = ... alpha1*alpha2*K*(Ta - Tb) // ddt(alpha1*rho1*ha) + ... = ... K*(Ta - Tb)
// ddt(alpha2*rho2*hb) + ... = ... alpha1*alpha2*K*(Tb - Ta) // ddt(alpha2*rho2*hb) + ... = ... K*(Tb - Ta)
// ********************************** NB!*****************************
// for numerical reasons alpha1 and alpha2 has been extracted from the
// heat transfer function K, so you MUST divide K by alpha1*alpha2 when
// implementing the heat transfer function
// ********************************** NB!*****************************
virtual tmp<volScalarField> K() const = 0; virtual tmp<volScalarField> K() const = 0;
}; };

View File

@ -47,7 +47,7 @@ namespace turbulentDispersionModels
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class noTurbulentDispersion Declaration Class noTurbulentDispersion Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class noTurbulentDispersion class noTurbulentDispersion

View File

@ -48,7 +48,7 @@ namespace virtualMassModels
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class constantVirtualMassCoefficient Declaration Class constantVirtualMassCoefficient Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class constantVirtualMassCoefficient class constantVirtualMassCoefficient

View File

@ -47,7 +47,7 @@ namespace virtualMassModels
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class noVirtualMass Declaration Class noVirtualMass Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class noVirtualMass class noVirtualMass
@ -80,6 +80,7 @@ public:
//- Virtual mass coefficient //- Virtual mass coefficient
virtual tmp<volScalarField> Cvm() const; virtual tmp<volScalarField> Cvm() const;
//- The virtual mass function K used in the momentum equation
virtual tmp<volScalarField> K() const; virtual tmp<volScalarField> K() const;
}; };

View File

@ -47,7 +47,7 @@ namespace Foam
class phasePair; class phasePair;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class virtualMassModel Declaration Class virtualMassModel Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class virtualMassModel class virtualMassModel
@ -120,13 +120,8 @@ public:
virtual tmp<volScalarField> Cvm() const = 0; virtual tmp<volScalarField> Cvm() const = 0;
//- The virtual mass function K used in the momentum equation //- The virtual mass function K used in the momentum equation
// ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(DU1_Dt - DU2_Dt) // ddt(alpha1*rho1*U1) + ... = ... K*(DU1_Dt - DU2_Dt)
// ddt(alpha2*rho2*U2) + ... = ... alpha1*alpha2*K*(DU1_Dt - DU2_Dt) // ddt(alpha2*rho2*U2) + ... = ... K*(DU1_Dt - DU2_Dt)
// ********************************** NB! *****************************
// for numerical reasons alpha1 and alpha2 has been extracted from the
// virtual mass function K, so you MUST divide K by alpha1*alpha2 when
// implemnting the virtual mass function
// ********************************** NB! *****************************
virtual tmp<volScalarField> K() const; virtual tmp<volScalarField> K() const;
// Dummy write for regIOobject // Dummy write for regIOobject

View File

@ -47,7 +47,7 @@ namespace Foam
class phasePair; class phasePair;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class wallLubricationModel Declaration Class wallLubricationModel Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class wallLubricationModel class wallLubricationModel