TUT: Updated RutlandVortex case - Thanks to Thilo Knacke

This commit is contained in:
Andrew Heather
2017-06-29 19:49:32 +01:00
parent 07d9d3fc04
commit 4518004df4
2 changed files with 3 additions and 20 deletions

View File

@ -20,26 +20,9 @@ internalField uniform 224;
boundaryField boundaryField
{ {
top ".*"
{ {
type slip; type calculated;
}
bottom
{
type slip;
}
left
{
type fixedValue;
value $internalField;
}
right
{
type inletOutlet;
inletValue $internalField;
value $internalField; value $internalField;
} }

View File

@ -36,7 +36,7 @@ functions
scalar pInf = 101325; scalar pInf = 101325;
scalar TInf = 224; scalar TInf = 224;
scalar gamma = 1.4; scalar gamma = 1.4;
scalar A = 0.3*D*UInf; scalar A = -0.3*D*UInf;
const dimensionedScalar rhoRef("rhoRef", dimDensity, 1); const dimensionedScalar rhoRef("rhoRef", dimDensity, 1);
const volScalarField& rho = const volScalarField& rho =
mesh().lookupObject<volScalarField>("rho"); mesh().lookupObject<volScalarField>("rho");