NREL / SOWFA

Other
131 stars 113 forks source link

Updates to ABLSolver and ABLTerrainSolver #29

Closed mchurchf closed 5 years ago

mchurchf commented 5 years ago

Two updates:

1). Allows for the use of zeroGradient or fixedFluxPressure for p_rgh. I am undecided which is more correct, so at least we have the option for both ways and the solver seamlessly deals with it through different modes of the use of adjustPhi.

2). A fix to the Schumann Grotzbach surface stress model to make it no have a divide by zero error when the flow speed above is zero.

ewquon commented 5 years ago

Looks good!