ENH: 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
committed by Andrew Heather
parent 647e1c892d
commit 8165c462cd
10 changed files with 388 additions and 86 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
{