CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

A kineticTheoryC bug

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2008, 07:57
Default Problem: kineticTheory.lamb
  #1
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17
juho is on a distinguished road
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)*...
juho is offline   Reply With Quote

Old   August 4, 2008, 11:14
Default Thanks for the bug-report, the
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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
henry is offline   Reply With Quote

Old   August 4, 2008, 11:55
Default Yes. I didn't include kappa_ a
  #3
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 89
Rep Power: 17
juho is on a distinguished road
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.
juho is offline   Reply With Quote

Old   August 4, 2008, 12:20
Default I will add a kappa() member fu
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
I will add a kappa() member function for consistency.

H
henry is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 18:52.