CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Potential bug(s) in driftFluxFoam viscosityModel code (https://www.cfd-online.com/Forums/openfoam-programming-development/140226-potential-bug-s-driftfluxfoam-viscositymodel-code.html)

Astrodan August 11, 2014 04:13

Potential bug(s) in driftFluxFoam viscosityModel code
 
Servus everyone,

I'm currently trying to understand the driftFluxFoam solver (formerly settlingFoam). While doing so I stumpled upon the reading of the transport dictionary.

Since I'm still trying to learn stuff I'm not 100% certain, but have the impression that the Model::read(...) function tries to read the wrong entries for (at least) the following two classes:
BinghamPlastic.C
Plastic.C
Since those labels do not exist in e.g. this example transportProperties dictionary I would the method should fail, however, the solver runs fine for me.

I assume the error got introduced when converting from the linearly written settlingFoam (OF 2.2.x) to the modular (and hundred times more complex) driftFluxFoam (compare settlingFoam createFields.H).

I would report this as a bug, but since I'm not that familiar with the code I thought I'd ask here first.

TIA,
-Timm


All times are GMT -4. The time now is 21:47.