reactingEulerFoam: dragModels: Typo in AttouFerschneider constructor

This change made the trickleBed case not exhibit the instability, so the
parameters have been modified a bit to keep the flow field non-trivial.
This commit is contained in:
Will Bainbridge
2018-04-05 13:46:15 +01:00
parent c3f30630e4
commit f068c0935a
10 changed files with 60 additions and 11 deletions

View File

@ -109,7 +109,7 @@ Foam::dragModels::AttouFerschneider::AttouFerschneider
liquidName_(dict.lookup("liquid")), liquidName_(dict.lookup("liquid")),
solidName_(dict.lookup("solid")), solidName_(dict.lookup("solid")),
E1_("E1", dimless, dict), E1_("E1", dimless, dict),
E2_("E1", dimless, dict) E2_("E2", dimless, dict)
{} {}

View File

@ -20,7 +20,14 @@ internalField uniform 300;
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type inletOutlet;
phi phi.air;
inletValue $internalField;
value $internalField;
}
"(top|walls)"
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -10,7 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
object T.air; object T.solid;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -20,7 +20,14 @@ internalField uniform 300;
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type inletOutlet;
phi phi.water;
inletValue $internalField;
value $internalField;
}
"(top|walls)"
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -20,7 +20,13 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type pressureInletOutletVelocity;
phi phi.air;
value $internalField;
}
"(top|walls)"
{ {
type noSlip; type noSlip;
} }

View File

@ -20,7 +20,13 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type pressureInletOutletVelocity;
phi phi.water;
value $internalField;
}
"(top|walls)"
{ {
type noSlip; type noSlip;
} }

View File

@ -20,7 +20,14 @@ internalField uniform 0.5;
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type inletOutlet;
phi phi.air;
inletValue $internalField;
value $internalField;
}
"(top|walls)"
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -20,7 +20,14 @@ internalField uniform 0;
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
type inletOutlet;
phi phi.water;
inletValue $internalField;
value $internalField;
}
"(top|walls)"
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -20,7 +20,16 @@ internalField uniform 1e5;
boundaryField boundaryField
{ {
"(bottom|top|walls)" bottom
{
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;

View File

@ -29,8 +29,8 @@ regions
box (0 0.5001 -0.1) (0.15 1.0 0.1); box (0 0.5001 -0.1) (0.15 1.0 0.1);
fieldValues fieldValues
( (
volScalarFieldValue alpha.air 0.4 volScalarFieldValue alpha.air 0.35
volScalarFieldValue alpha.water 0.1 volScalarFieldValue alpha.water 0.15
volScalarFieldValue alpha.solid 0.5 volScalarFieldValue alpha.solid 0.5
); );
} }