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

compressibleinterfoam and continuity

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 7, 2011, 13:43
Default compressibleinterfoam and continuity
  #1
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 10
idrama is on a distinguished road
Hallo Foamers,

I ran a compressibleInterFoam case; now I want to check continuity, what do i do? How can I compute

d(rho)/dt+div(rho U)

?

Cheers in advance!
idrama is offline   Reply With Quote

Old   February 8, 2011, 17:02
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,195
Blog Entries: 1
Rep Power: 16
nimasam is on a distinguished road
i guess something like this will give u what you want
volScalarField mdot=fvc::ddt(rho)+fvc::div(phi,rho);

then i guess u should summation in the whole doamin

Last edited by nimasam; February 8, 2011 at 21:07.
nimasam is offline   Reply With Quote

Old   February 9, 2011, 14:37
Default
  #3
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 10
idrama is on a distinguished road
Thanks a lot for your post! i have written a little program which I also could compile. For Testing I have to wait until the current case is done.

I let you know!
idrama 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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


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