CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Understanding turbFoam sourcecode

Register Blogs Members List Search Today's Posts Mark Forums Read

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

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.


lasb is offline   Reply With Quote

Old   July 31, 2007, 10:21
Default What you are looking at is the
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,810
Rep Power: 25
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).


Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting:
hjasak is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding interFoam sega OpenFOAM Running, Solving & CFD 24 October 23, 2017 09:38
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 03:19
LUSGS understanding Gustavo Main CFD Forum 0 February 14, 2007 11:12

All times are GMT -4. The time now is 03:16.