mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Improvements on kinetic theory models and twoPhaseEulerFoam
This commit is contained in:
@ -102,7 +102,7 @@ Foam::tmp<Foam::volScalarField> Foam::JohnsonJacksonFrictionalStress::muf
|
||||
const volScalarField& alpha,
|
||||
const dimensionedScalar& alphaMax,
|
||||
const volScalarField& pf,
|
||||
const volTensorField& D,
|
||||
const volSymmTensorField& D,
|
||||
const dimensionedScalar& phi
|
||||
) const
|
||||
{
|
||||
|
||||
@ -93,7 +93,7 @@ public:
|
||||
const volScalarField& alpha,
|
||||
const dimensionedScalar& alphaMax,
|
||||
const volScalarField& pf,
|
||||
const volTensorField& D,
|
||||
const volSymmTensorField& D,
|
||||
const dimensionedScalar& phi
|
||||
) const;
|
||||
};
|
||||
|
||||
@ -99,7 +99,7 @@ Foam::tmp<Foam::volScalarField> Foam::SchaefferFrictionalStress::muf
|
||||
const volScalarField& alpha,
|
||||
const dimensionedScalar& alphaMax,
|
||||
const volScalarField& pf,
|
||||
const volTensorField& D,
|
||||
const volSymmTensorField& D,
|
||||
const dimensionedScalar& phi
|
||||
) const
|
||||
{
|
||||
@ -124,9 +124,9 @@ Foam::tmp<Foam::volScalarField> Foam::SchaefferFrictionalStress::muf
|
||||
|
||||
volScalarField& muff = tmuf();
|
||||
|
||||
forAll(D, celli)
|
||||
forAll (D, celli)
|
||||
{
|
||||
if (alpha[celli] > alphaMax.value()-5e-2)
|
||||
if (alpha[celli] > alphaMax.value() - 5e-2)
|
||||
{
|
||||
muff[celli] =
|
||||
0.5*pf[celli]*sin(phi.value())
|
||||
|
||||
@ -93,7 +93,7 @@ public:
|
||||
const volScalarField& alpha,
|
||||
const dimensionedScalar& alphaMax,
|
||||
const volScalarField& pf,
|
||||
const volTensorField& D,
|
||||
const volSymmTensorField& D,
|
||||
const dimensionedScalar& phi
|
||||
) const;
|
||||
};
|
||||
|
||||
@ -48,7 +48,7 @@ namespace Foam
|
||||
|
||||
class frictionalStressModel
|
||||
{
|
||||
// Private Member Functions
|
||||
// Private member functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
frictionalStressModel(const frictionalStressModel&);
|
||||
@ -127,7 +127,7 @@ public:
|
||||
const volScalarField& alpha,
|
||||
const dimensionedScalar& alphaMax,
|
||||
const volScalarField& pf,
|
||||
const volTensorField& D,
|
||||
const volSymmTensorField& D,
|
||||
const dimensionedScalar& phi
|
||||
) const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user