NREL / SOWFA

Other
136 stars 113 forks source link

buoyantPressure is not supported in the versions above 2.3.0 of OpenFOAM #3

Closed ghost closed 6 years ago

ghost commented 8 years ago

In the file SOWFA/tutorials/precursorABL/generic.neutral/0.original/p_rgh, buoyantPressure type is still used for ABLSolver which is not supported in new OpenFOAM versions,

lower
{
    type            buoyantPressure;
    rho             rhok;
}

From the disscussion on cfd-online, http://www.cfd-online.com/Forums/openfoam-pre-processing/130887-buoyantpressure-boundary-condition.html fixedFluxPressure type of p_rgh is used instead. It should be used like myPatch { type fixedFluxPressure; }

refer to https://github.com/OpenFOAM/OpenFOAM-2.3.x/blob/master/src/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.H

mchurchf commented 6 years ago

This is all fixed to use fixedFluxPressure now. This is reflected in the solvers and the example cases.