CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Bug in porousZone.H (http://www.cfd-online.com/Forums/openfoam-bugs/72236-bug-porouszone-h.html)

 jens_klostermann January 29, 2010 09:37

Bug in porousZone.H

Description:
Bug in the descripion of the Darcy-Forchheimer model there is one U to much for the Darcy coefficient
Darcy-Forchheimer (@e d and @e f parameters)
00044 @f[
00045 S = - (\mu \, d \, U + \frac{\rho |U|}{2} \, f) U
00046 @f]

Change to:

00044 @f[
00045 S = - (\mu \, d + \frac{\rho |U|}{2} \, f) U
00046 @f]

Solver/Application:

Since the model is correctly implemented in porousZoneTemplates.C it has no effect on any solver. But it is still very annoying!

Source file:
porousZone.H line 45

Testcase:
N/A

Platform:
all

Version:
all

Thanks Jens

 olesen February 1, 2010 03:31

Quote:
 Originally Posted by jens_klostermann (Post 244214) Description: Bug in the descripion of the Darcy-Forchheimer model there is one U to much for the Darcy coefficient
I remember this being reported already (maybe 1/2 year ago). I suspect it's fixed for the next major release, but probably isn't important enough to change for 1.6.x though.

 mattijs February 1, 2010 06:14

I pushed the comment change to 1.6.x.

Thanks,

Mattijs

 All times are GMT -4. The time now is 20:23.