CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   A kineticTheoryC bug (https://www.cfd-online.com/Forums/openfoam-bugs/62448-kinetictheoryc-bug.html)

juho July 28, 2008 08:57

Problem: kineticTheory.lamb
 
Problem:

kineticTheory.lambda()

returns a zero field.

Fix:

/kineticTheory/kineticTheory/kineticTheory.C

Line 259:

Current:

volScalarField lambda_ = (4.0/3.0)*...

Fixed:

lambda_ = (4.0/3.0)*...

henry August 4, 2008 12:14

Thanks for the bug-report, the
 
Thanks for the bug-report, there is also a similar error for kappa_. I have put the fixes in our patched version of 1.5 which will be released soon.

H

juho August 4, 2008 12:55

Yes. I didn't include kappa_ a
 
Yes. I didn't include kappa_ as a bug as there is no .kappa() function in the kineticTheory class and kappa_ is only used in the .solve(). Meaning it's only a problem if the user wants to write the kappa field to disk.

henry August 4, 2008 13:20

I will add a kappa() member fu
 
I will add a kappa() member function for consistency.

H


All times are GMT -4. The time now is 12:50.