CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

energy in sonicFoam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2009, 15:53
Default energy in sonicFoam
Joern Bader
Join Date: Mar 2009
Posts: 33
Rep Power: 17
joern is on a distinguished road

i posted my problem yesterday here, but i got no reply so i post it here, again. I hope someone can help cause my time is running and i have to understand the sonicFoam solver.

here is my problem again:

I think I understand most of sonicFoam. It's a solver with PISO loop for the compressible Navier-Stokes equations. But one think is absolutely not clear:

if i set mu=0 in sonicFoam it solves the Euler Equations for a compressible, inviscid, perfect gas. (thats what i want to simulate)
But there is a little difference to the standart equations. sonicFoam just looks at the inner energy e=T*Cv (just thermal energy). The Euler Equations (and also the Navier-Stokes) work with the energy e=T*Cv+1/2*mag(v)^2 (thermal energy + kinetic energy).

why can the kinetic energy be ignored? And why is the the solver still consisten to the Euler-/Navier-Stokes Equations?

Today i made some tests with sonicFoam and rhoSonicfoam. If i use rhoSonicfoam without kinetic energy the solution becomes wrong. And if i put kinetic energy to sonicFoam the solution becomes wrong, too.
For both solvers the energy hast to be, as it is.
So i think there is a kinetic energy in sonicFoam, but i can't find the term for it.

pls help me,

ps: i post it in the "solving" forum, because for me it's a problem of consistens of a solver.
joern is offline   Reply With Quote

Old   September 24, 2019, 00:15
Senior Member
Join Date: Sep 2013
Location: Hyderabad
Posts: 154
Rep Power: 12
AshwaniAssam is on a distinguished road
The kinetic energy term is in the form of K=1/2*mag(v)^2.

Sorry this thread is very old but I just posted it for a quick answer for someone looking for the something same.
AshwaniAssam is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Total Energy -thermal energy Herold CFX 8 April 7, 2017 05:07
Energy imbalance seojaho CFX 6 June 21, 2016 20:35
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
question about energy equation zhou FLUENT 0 February 23, 2004 23:55
about energy source in fluent5.4 Devy FLUENT 1 March 26, 2001 00:13

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