multiphaseEulerFoam, phasePair: Made aspect ratio method consistent
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -81,10 +81,4 @@ Foam::word Foam::orderedPhasePair::otherName() const
|
||||
}
|
||||
|
||||
|
||||
Foam::tmp<Foam::volScalarField> Foam::orderedPhasePair::E() const
|
||||
{
|
||||
return phase1().fluid().E(*this);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -79,9 +79,6 @@ public:
|
||||
|
||||
//- Other pair name
|
||||
virtual word otherName() const;
|
||||
|
||||
//- Aspect ratio
|
||||
virtual tmp<volScalarField> E() const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2014-2020 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2014-2021 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -196,11 +196,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::Ta() const
|
||||
|
||||
Foam::tmp<Foam::volScalarField> Foam::phasePair::E() const
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Requested aspect ratio of the dispersed phase in an unordered pair"
|
||||
<< exit(FatalError);
|
||||
|
||||
return phase1();
|
||||
return dispersed().fluid().E(*this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -136,7 +136,7 @@ public:
|
||||
tmp<volScalarField> Ta() const;
|
||||
|
||||
//- Aspect ratio
|
||||
virtual tmp<volScalarField> E() const;
|
||||
tmp<volScalarField> E() const;
|
||||
|
||||
// Access
|
||||
|
||||
|
||||
Reference in New Issue
Block a user