CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Understanding interFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 12, 2009, 05:47
Default
  #21
New Member
 
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 8
nikos_fb16 is on a distinguished road
isabel,

gamma.boundaryField().types() imposes on the volScalarField rho the same types of boundary conditions that are specified for the field gamma.

rho.oldTime() stores the values of rho as the old time values
nikos_fb16 is offline   Reply With Quote

Old   November 12, 2009, 08:09
Default
  #22
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 171
Rep Power: 8
isabel is on a distinguished road
Thank you very much, nikos

Does "rho.oldTime()" store the value at the previous iteration? Why do you need to do that?
isabel is offline   Reply With Quote

Old   November 12, 2009, 08:48
Default
  #23
New Member
 
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 8
nikos_fb16 is on a distinguished road
you need to do this, because the time derivative in the momentum equation includes rho. so you need an old time value of rho.

nikos
nikos_fb16 is offline   Reply With Quote

Reply

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 dimensionedScalar jaswi OpenFOAM Running, Solving & CFD 7 December 4, 2014 13:55
Basic Understanding Abduri CFX 8 March 7, 2009 07:12
Understanding k from kepsilon markh83 OpenFOAM Post-Processing 3 December 5, 2008 04:42
Understanding ODE transFuncj0 david_flo1 OpenFOAM Running, Solving & CFD 1 March 8, 2008 13:30
LUSGS understanding Gustavo Main CFD Forum 0 February 14, 2007 11:12


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