openfoam/src
Henry Weller fc2ce73723 Solvers: Added support for extrapolated pressure boundary conditions
The boundary conditions of HbyA are now constrained by the new "constrainHbyA"
function which applies the velocity boundary values for patches for which the
velocity cannot be modified by assignment and pressure extrapolation is
not specified via the new
"fixedFluxExtrapolatedPressureFvPatchScalarField".

The new function "constrainPressure" sets the pressure gradient
appropriately for "fixedFluxPressureFvPatchScalarField" and
"fixedFluxExtrapolatedPressureFvPatchScalarField" boundary conditions to
ensure the evaluated flux corresponds to the known velocity values at
the boundary.

The "fixedFluxPressureFvPatchScalarField" boundary condition operates
exactly as before, ensuring the correct flux at fixed-flux boundaries by
compensating for the body forces (gravity in particular) with the
pressure gradient.

The new "fixedFluxExtrapolatedPressureFvPatchScalarField" boundary
condition may be used for cases with or without body-forces to set the
pressure gradient to compensate not only for the body-force but also the
extrapolated "HbyA" which provides a second-order boundary condition for
pressure.  This is useful for a range a problems including impinging
flow, extrapolated inlet conditions with body-forces or for highly
viscous flows, pressure-induced separation etc.  To test this boundary
condition at walls in the motorBike tutorial case set

    lowerWall
    {
        type            fixedFluxExtrapolatedPressure;
    }

    motorBikeGroup
    {
        type            fixedFluxExtrapolatedPressure;
    }

Currently the new extrapolated pressure boundary condition is supported
for all incompressible and sub-sonic compressible solvers except those
providing implicit and tensorial porosity support.  The approach will be
extended to cover these solvers and options in the future.

Note: the extrapolated pressure boundary condition is experimental and
requires further testing to assess the range of applicability,
stability, accuracy etc.

Henry G. Weller
CFD Direct Ltd.
2016-02-13 17:48:26 +00:00
..
combustionModels Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
conversion Make disallowed member functions private 2016-01-20 10:41:14 +00:00
dummyThirdParty Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
dynamicFvMesh Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
dynamicMesh processorPolyPatch, processorCyclicPolyPatch: Rationalized the construction of the patch name 2016-02-02 20:07:16 +00:00
edgeMesh Info -> InfoInFunction and updated comments 2016-01-20 17:51:15 +00:00
engine Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
fileFormats Update headers 2016-01-11 13:02:52 +00:00
finiteVolume Solvers: Added support for extrapolated pressure boundary conditions 2016-02-13 17:48:26 +00:00
fvAgglomerationMethods Updates for changes to etc/config structure 2016-02-10 16:20:19 +00:00
fvMotionSolver Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
fvOptions Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
genericPatchFields Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
lagrangian particle: Updated property list 2016-02-10 15:43:31 +00:00
mesh Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
meshTools coordinateSystems/coordinateRotation: Corrected e1, e2 and e3 and updated documentation 2016-01-29 09:56:59 +00:00
ODE Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
OpenFOAM OpenFOAM/matrices/solution: Simplify debug messages for consistency 2016-02-12 14:45:53 +00:00
OSspecific/POSIX Info -> InfoInFunction 2016-01-19 21:58:11 +00:00
parallel Updates for changes to etc/config structure 2016-02-10 16:20:19 +00:00
postProcessing Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
Pstream Completed update ...ErrorIn -> ...ErrorInFunction 2015-11-11 09:03:39 +00:00
randomProcesses fftRenumber: Corrected namespace 2016-02-09 15:41:52 +00:00
regionCoupled Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
regionModels fvPatchFields: Added "assignable()" attribute 2016-02-12 14:26:49 +00:00
renumber Updates for changes to etc/config structure 2016-02-10 16:20:19 +00:00
sampling rawSurfaceWriter: Added support for compressed output 2016-02-02 20:22:27 +00:00
sixDoFRigidBodyMotion Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
surfMesh Info -> InfoInFunction and updated comments 2016-01-20 17:51:15 +00:00
thermophysicalModels Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
topoChangerFvMesh Info -> InfoInFunction and updated comments 2016-01-20 10:18:13 +00:00
transportModels Rename DataEntry -> Function1 2016-02-08 16:18:07 +00:00
triSurface Add support for flex-2.6 2016-01-18 19:44:38 +00:00
TurbulenceModels TurbulenceModels: Reorder stress component evaluation 2016-02-04 20:23:22 +00:00
Allwmake fvOptions: wmakeLnInclude before building the TurbulenceModels libraries 2015-12-01 13:10:51 +00:00