freestreamPressure, freestreamVelocity: New blended boundary conditions for the freestream

These BCs blend between typical inflow and outflow conditions based on the
velocity orientation.

airFoil2D tutorial updated to demonstrate these new BCs.
This commit is contained in:
Henry Weller
2018-02-23 12:23:06 +00:00
parent c7a5f740d8
commit fb15be492c
10 changed files with 388 additions and 83 deletions

View File

@ -22,14 +22,14 @@ boundaryField
{
inlet
{
type freestream;
freestreamValue uniform (25.75 3.62 0);
type freestreamVelocity;
freestreamValue $internalField;
}
outlet
{
type freestream;
freestreamValue uniform (25.75 3.62 0);
type freestreamVelocity;
freestreamValue $internalField;
}
walls

View File

@ -23,11 +23,13 @@ boundaryField
inlet
{
type freestreamPressure;
freestreamValue $internalField;
}
outlet
{
type freestreamPressure;
freestreamValue $internalField;
}
walls

View File

@ -17,7 +17,7 @@ FoamFile
application simpleFoam;
startFrom latestTime;
startFrom startTime;
startTime 0;

View File

@ -47,8 +47,6 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{