|
[Sponsors] |
Domain Reference Pressure vs. Material Properties Reference Pressure |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 24, 2019, 15:36 |
Domain Reference Pressure vs. Material Properties Reference Pressure
|
#1 |
New Member
Nolan Dyck
Join Date: Dec 2013
Posts: 13
Rep Power: 13 |
I'd like to understand what the difference is between the reference pressure specified in the Domain tab and the reference pressure specified in the Material tab.
I have searched the documentation but I can't see a clear difference. In particular I've looked at section 1.2.8 in the CFX Solver Modeling guide, which discusses the influence of reference pressure on computations, but doesn't clarify my question. Furthermore, I've read through many posts on this forum discussing reference pressure in CFX, including this forum post where something similar is asked, but the answer isn't very clear. I'm running compressible flow simulations of the Ranque-Hilsch vortex tube (using Air Ideal Gas as my working fluid). Calculations are performed in a stationary reference frame, and buoyancy has been neglected, a mass flow inlet has been used with pressure outlet BCs. I'm using a range of turbulence models. Currently I've set the reference pressure to 14.7 psi in both the domain and the air ideal gas material. Absolute Pressure varies throughout the domain between 16.7-100 psi.
Thanks! |
|
May 24, 2019, 17:09 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Careful here.
Reference Pressure in the materials definition is for property calculations. For example, say the calculation for entropy at a given (p,T) conditions is given for an ideal gas (constant Cp) as S = S_ref + Cp * ln (Temperature / T_ref) - R * ln( Absolute Pressure / P_ref) As long as the value for S_ref is consistent with T_ref, P_ref, the calculation should work, Reference Pressure in the domain only shifts the Absolute Pressure to a relative pressure. Say you decide to use P_ref_domain then when evaluating the properties Absolute Pressure = Pressure + P_ref_domain Material Reference Pressure is completely independent of the domain reference pressure. |
|
May 25, 2019, 16:03 |
|
#3 | ||
New Member
Nolan Dyck
Join Date: Dec 2013
Posts: 13
Rep Power: 13 |
Thanks for the response Opaque!
Quote:
S_ref = - Cp * ln(T_ref) + R * ln(P_ref) This also has sparked a follow-up question. The static enthalpy of an ideal gas in CFX is defined as (according to section 1.1.3.9.2 of the CFX Solver Modelling guide) h_static - h_ref = integrate Cp(T) * dT from T_ref to T The guide says: Quote:
h_static - h_ref = Cp * (T - T_ref) So if I choose anything other than h_ref = Cp * T_ref that would mean the static temperatures (and contour plots) are off by a constant value? |
|||
May 25, 2019, 16:49 |
|
#4 |
New Member
Nolan Dyck
Join Date: Dec 2013
Posts: 13
Rep Power: 13 |
Further to my above post, The ideal gas equation depends on the thermodynamic (static) temperature (using the notation from section 1.2.2.2):
rho = w * P_abs / (R_0 * T) Does anyone know if the Temperature T here is calculated using the equation from my above post? If so, then the density is incorrect whenever h_ref is not equal to Cp*Tref (for perfect gases anyway). As the density is used in the momentum equation, the velocities and pressures will be incorrect, and all the computed quantities are wrong. I'm going to do some testing to see if there's a difference. |
|
May 27, 2019, 10:24 |
|
#5 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
All the above seems correct. Temperature can only be computed from the equation you described since the known thermodynamic state is defined by P, and h. For ideal gases, h is not a function of P; therefore, only h is needed.
As you described, the reference state consistency matters. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
CFX error | RyanBari | CFX | 3 | April 26, 2018 07:37 |
Simple piston movement in cylinder- fluid models | arun1994 | CFX | 4 | July 8, 2016 03:54 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |