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

Understanding turbFoam sourcecode

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2007, 10:47
Default Hi, In the turbFoam.C file
  #1
Member
 
Lasse Boehling
Join Date: Mar 2009
Posts: 35
Rep Power: 17
lasb is on a distinguished road
Hi,

In the turbFoam.C file under // Momentum predictor there is a line which says:

+ turbulence->divR(U)

What does that mean? Or where can I read about it? It hasn't been possible for me to find it in the OpenFOAM guide. Furthermore there is a minus in front of some equalitysigns. How do I interpret that?

I really hope that someone can help me.

Regards

Lasse
lasb is offline   Reply With Quote

Old   July 31, 2007, 11:21
Default What you are looking at is the
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
What you are looking at is the contribution of the turbulence model to the momentum equation, which comes in (its most general) matrix form.

Have a look at the k-epsilon model code to see what's in there, it should be clear (basically a laplacian with nu_t + nu_l).

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding interFoam sega OpenFOAM Running, Solving & CFD 26 February 10, 2022 04:21
Understanding dimensionedScalar jaswi OpenFOAM Running, Solving & CFD 7 December 4, 2014 13:55
Basic Understanding Abduri CFX 8 March 7, 2009 07:12
Understanding sourcecode of solvers karen OpenFOAM Running, Solving & CFD 0 August 14, 2008 04:19
LUSGS understanding Gustavo Main CFD Forum 0 February 14, 2007 11:12


All times are GMT -4. The time now is 11:00.