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

Temperature/Energy in sonicFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 22, 2010, 04:48
Default Temperature/Energy in sonicFoam
  #1
New Member
 
Yu
Join Date: May 2010
Location: Cambridge, MA
Posts: 11
Rep Power: 7
Ruehri is on a distinguished road
Dear Foamers,

I have seen several threads about getting wrong results with the solver sonicFoam and have unfortunately got a similar experience with this solver.

In my specific case, it seemed that the heat/energy flux was too high in the solution, that's why I searched the implementation for it in the code and I found 2 issues that bug me about this solver.

1. The internal energy and temperature are calculated in a predictor step, but not corrected after solving the pressure equation (at least I couldn"t find where). Wouldn't this result in a fairly bad calculated temperature field? It seems to me, that the predictor step should actually yield the corrected temperatures for the previous step.

2. The pressure equation in sonicFoam is derived from continuity, momentum and the equation of state. Wouldn't this mean that the corrector step actually doesn't solve for energy conservation? Even if the predictor obeys the energy conservation, couldn't there still could be huge issues with the corrector step?

It would be great if someone could have a look at it and confirm my assumptions, I think it would be at least fairly easy to build in a corrector for temperature in the solver.

Best,
Yu
Ruehri is offline   Reply With Quote

Old   July 24, 2010, 03:19
Default
  #2
Member
 
Join Date: May 2009
Posts: 31
Rep Power: 8
KrisT is on a distinguished road
Quote:
Originally Posted by Ruehri View Post
It would be great if someone could have a look at it and confirm my assumptions, I think it would be at least fairly easy to build in a corrector for temperature in the solver.
I too think it would be great if sonicFoam could be fixed - or removed from the distribution - it is kind of stupid to keep it while it gives the wrong results (even on the tutorial cases included with the distribution).
KrisT 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
Crash when using sonicFoam Horus OpenFOAM 1 June 16, 2010 12:57
Setting a case with sonicFoam achilleslaststand OpenFOAM Pre-Processing 0 December 4, 2009 12:29
Can't simulate pressures over 80 bar in sonicFoam shangzung OpenFOAM 6 October 30, 2009 11:21
energy in sonicFoam joern OpenFOAM Running, Solving & CFD 0 June 16, 2009 15:53
SonicFoam forwardStepTutorial doesnbt complete the run alberto OpenFOAM Bugs 1 June 10, 2007 15:35


All times are GMT -4. The time now is 04:50.