|
[Sponsors] |
October 29, 2008, 12:44 |
Is there a tool available to c
|
#1 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Is there a tool available to calculate the kinetic energy for one or all timesteps of a calculation?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
October 31, 2008, 15:55 |
I don't think there is no exis
|
#2 |
Member
Ville Tossavainen
Join Date: Mar 2009
Posts: 60
Rep Power: 17 |
I don't think there is no existing utility for kinetic energy.
Don't be afraid to take the next step. You can utilize a postprocessing utility for velocity field (.../applications/utilities/postProcessing/velocityField/). - Copy a utility folder to a new name (for example "cp -r Lambda2 KE") - Change the file name (Lambda2.C->KE.C) corresponding to your new utility and make the same change in "/Make/files"-file - don't forget to change the executable file name (Lambda2->KE) - Run command "wmake" in your new utility folder... and hopefully you get a successful compilation. Test if you can run it by typing "KE" (ok, the utility does the same thing as the original and you'll get an error because you're not in the case folder) - Now modify the "KE.C" file. Remove "gradU" and "SSplusWW" definitions. Rename any "Lambda2" to "KE" in the file. The last line (-eigenvalue...) in the scalar field definition is crucial. Change that to "0.5*U&U". Isn't that what you want to calculate from velocity field? - Recompile the utility "wmake" and try it with your case. Hope that works since I didn't test it by myself But you got the idea what's the most powerful thing in OpenFOAM! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
turbulent kinetic energy | mike | CFX | 2 | November 30, 2006 09:31 |
kinetic energy | jj | Main CFD Forum | 7 | November 18, 2006 09:55 |
Kinetic Energy Gradient | sebastien | FLUENT | 2 | July 25, 2006 10:11 |
Turbulent Kinetic Energy | Meri | CFX | 0 | February 22, 2005 07:00 |
kinetic energy. | A. Student | Main CFD Forum | 2 | October 31, 2001 16:10 |