|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
William Haigh
Join Date: Aug 2020
Posts: 20
Rep Power: 6 ![]() |
Hi everyone,
I have successfully found a solution for my Mach 5 scramjet inlet and displayed the results in ParaView. I have values for temperature, density and pressure. I would like to calculate the enthalpy. Is there an easy way to do so in ParaView using the calculator? If not, can SU2 calculate the enthalpy? Thanks! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 ![]() |
You can use calculator in ParaView to do so.
Make use of pressure, density. Get velocity components by dividing momentum with density and use the enthalpy formula.. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
William Haigh
Join Date: Aug 2020
Posts: 20
Rep Power: 6 ![]() |
Thanks for the help! Would you mind detailing the steps? What formula for entropy are you using?
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 ![]() |
Hi William,
Your first post mentioned Enthalpy so I am assuming that as a variable to be computed. In ParView, press Calculator and compute a variable with any name you like (let us say Vel_vec) and in formula - Momentum/Density Again highlight this Calculator1 and compute Total specific enthalpy (Hs or whatever name you like) with (let's say 2D case) formula - Pressure*3.5/Density+0.5*(Vel_vec_X*Vel_vec_X+Vel_vec_Y*Vel_vec _Y) (here 3.5 is for gamma/(gamma-1)). Best Amit |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
William Haigh
Join Date: Aug 2020
Posts: 20
Rep Power: 6 ![]() |
Hi, sorry for only replying now.
Your method worked well but could you explain how you derived this formula? I've been trying to find similar formula on the Internet but I cannot seem to find it. I also tried to check the units but they didnt seem to add up. Should the total specific enthalpy be in J/kg? Thanks William |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13 ![]() |
Hi WilliamH, You can find it in most of the text books (Gas Dynamics, CFD).
Basically H=h+V^2/2 here - h= CpT = g*RT/(g-1) = 3.5*P/Rho for g=1.4 & V^2=u^2+v^2+w^2 in 3D. Yes it is total specific enthalpy and unit is J/kg or m^2 sec^-2. Here my primary intention was to convey the procedure of calculating a variable of interest in ParaView from available dataset. Best Amit |
|
![]() |
![]() |
![]() |
Tags |
enthalpy, paraview, supersonic inlet |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temperature calculation from total enthalpy in OpenFOAM (XiFOAM) | sharifi | OpenFOAM Running, Solving & CFD | 1 | October 8, 2020 09:16 |
static enthalpy calculation in CFD Post | newbie384 | CFX | 2 | March 22, 2014 07:28 |
Enthalpy calculation in cfd post | bharath | CFX | 0 | October 7, 2011 22:14 |
Problems with enthalpy calculation | giacomo villi | FLUENT | 1 | April 24, 2007 14:05 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |