mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Removed twoPhaseEulerFoam and renamed compressibleTwoPhaseEulerFoam -> twoPhaseEulerFoam
This commit is contained in:
@ -114,12 +114,12 @@ public:
|
||||
//- the dragfunction K used in the momentum eq.
|
||||
// ddt(alpha1*rho1*U1) + ... = ... alpha1*alpha2*K*(U1-U2)
|
||||
// ddt(alpha2*rho2*U2) + ... = ... alpha1*alpha2*K*(U2-U1)
|
||||
// ********************************** NB ! *****************************
|
||||
// ********************************** NB! *****************************
|
||||
// for numerical reasons alpha1 and alpha2 has been
|
||||
// extracted from the dragFunction K,
|
||||
// so you MUST divide K by alpha1*alpha2 when implemnting the drag
|
||||
// function
|
||||
// ********************************** NB ! *****************************
|
||||
// ********************************** NB! *****************************
|
||||
virtual tmp<volScalarField> K(const volScalarField& Ur) const = 0;
|
||||
};
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ Foam::autoPtr<Foam::dragModel> Foam::dragModel::New
|
||||
{
|
||||
word dragModelType
|
||||
(
|
||||
interfaceDict.lookup("dragModel" + phase1.name())
|
||||
interfaceDict.lookup(phase1.name())
|
||||
);
|
||||
|
||||
Info << "Selecting dragModel for phase "
|
||||
@ -50,14 +50,12 @@ Foam::autoPtr<Foam::dragModel> Foam::dragModel::New
|
||||
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
{
|
||||
FatalError
|
||||
<< "dragModel::New : " << endl
|
||||
<< " unknown dragModelType type "
|
||||
<< dragModelType
|
||||
<< ", constructor not in hash table" << endl << endl
|
||||
<< " Valid dragModel types are : " << endl;
|
||||
Info << dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< abort(FatalError);
|
||||
FatalErrorIn("dragModel::New")
|
||||
<< "Unknown dragModelType type "
|
||||
<< dragModelType << endl << endl
|
||||
<< "Valid dragModel types are : " << endl
|
||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
return cstrIter()(interfaceDict, alpha1, phase1, phase2);
|
||||
|
||||
Reference in New Issue
Block a user