|
[Sponsors] |
July 22, 2010, 05:48 |
Temperature/Energy in sonicFoam
|
#1 |
New Member
Yu
Join Date: May 2010
Location: Cambridge, MA
Posts: 11
Rep Power: 16 |
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 |
|
July 24, 2010, 04:19 |
|
#2 |
Member
Join Date: May 2009
Posts: 32
Rep Power: 17 |
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).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
energy in sonicFoam | joern | OpenFOAM Running, Solving & CFD | 1 | September 24, 2019 01:15 |
Crash when using sonicFoam | Horus | OpenFOAM | 1 | June 16, 2010 13: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 |
SonicFoam forwardStepTutorial doesnbt complete the run | alberto | OpenFOAM Bugs | 1 | June 10, 2007 16:35 |