mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
AttouFerschneider: Correction to cube-root of volume fraction ratio
This commit is contained in:
@ -52,7 +52,10 @@ Foam::dragModels::AttouFerschneider::KGasLiquid
|
|||||||
const phaseModel& solid = gas.fluid().phases()[solidName_];
|
const phaseModel& solid = gas.fluid().phases()[solidName_];
|
||||||
|
|
||||||
const volScalarField oneMinusGas(max(1 - gas, liquid.residualAlpha()));
|
const volScalarField oneMinusGas(max(1 - gas, liquid.residualAlpha()));
|
||||||
const volScalarField cbrtR(solid/oneMinusGas);
|
const volScalarField cbrtR
|
||||||
|
(
|
||||||
|
cbrt(max(solid, solid.residualAlpha())/oneMinusGas)
|
||||||
|
);
|
||||||
const volScalarField magURel(mag(gas.U() - liquid.U()));
|
const volScalarField magURel(mag(gas.U() - liquid.U()));
|
||||||
|
|
||||||
return
|
return
|
||||||
@ -70,7 +73,10 @@ Foam::dragModels::AttouFerschneider::KGasSolid
|
|||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
const volScalarField oneMinusGas(max(1 - gas, solid.residualAlpha()));
|
const volScalarField oneMinusGas(max(1 - gas, solid.residualAlpha()));
|
||||||
const volScalarField cbrtR(solid/oneMinusGas);
|
const volScalarField cbrtR
|
||||||
|
(
|
||||||
|
cbrt(max(solid, solid.residualAlpha())/oneMinusGas)
|
||||||
|
);
|
||||||
|
|
||||||
return
|
return
|
||||||
E1_*gas.mu()*sqr(oneMinusGas/solid.d())*sqr(cbrtR)
|
E1_*gas.mu()*sqr(oneMinusGas/solid.d())*sqr(cbrtR)
|
||||||
|
|||||||
@ -20,14 +20,7 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type inletOutlet;
|
|
||||||
phi phi.air;
|
|
||||||
inletValue $internalField;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,7 +10,7 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class volScalarField;
|
class volScalarField;
|
||||||
object T.solid;
|
object T.air;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -20,14 +20,7 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type inletOutlet;
|
|
||||||
phi phi.water;
|
|
||||||
inletValue $internalField;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,13 +20,7 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type pressureInletOutletVelocity;
|
|
||||||
phi phi.air;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type noSlip;
|
type noSlip;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,13 +20,7 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type pressureInletOutletVelocity;
|
|
||||||
phi phi.water;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type noSlip;
|
type noSlip;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,14 +20,7 @@ internalField uniform 0.5;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type inletOutlet;
|
|
||||||
phi phi.air;
|
|
||||||
inletValue $internalField;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,14 +20,7 @@ internalField uniform 0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type inletOutlet;
|
|
||||||
phi phi.water;
|
|
||||||
inletValue $internalField;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,16 +20,7 @@ internalField uniform 1e5;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
bottom
|
"(bottom|top|walls)"
|
||||||
{
|
|
||||||
type prghTotalPressure;
|
|
||||||
p0 $internalField;
|
|
||||||
U U.air;
|
|
||||||
phi phi.air;
|
|
||||||
rho thermo:rho.air;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
"(top|walls)"
|
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
|
|||||||
Reference in New Issue
Block a user