|
[Sponsors] |
How to add total pressure in state equation in CFX |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 30, 2019, 08:56 |
How to add total pressure in state equation in CFX
|
#1 |
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7 |
Hi all,
I have a problem regarding initial condition. I have velocity, temperature and pressure (Pin) as inlet conditions. At a time, I can assign velocity or pressure so i assign velocity. Now how to add pressure in equation of state? I am using CEL expression for chemical reaction and in rate equation I put the Pin= 101.235 [kPa] but still the pressure in post-CFX is based on the inlet velocity and temperature (0.1m/s, 793k) and turns out to be max 0.25 Pa. Inlet area (1mm by 6.1mm). Last edited by Goenitz; July 30, 2019 at 09:03. Reason: correction |
|
July 30, 2019, 22:15 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You can define pressure, temperature and velocity as initial conditions. You can define pressure or velocity at a subsonic inlet boundary, in CFX you cannot define both. The normal approach is to define velocity at the outlet and pressure at the inlet.
If this is not possible you better explain what you are doing more fully so we can help you. Also, I do not understand what you are asking in your second paragraph.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 31, 2019, 08:22 |
|
#3 |
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7 |
Sure man,
I have extracted velocity profile from one session at outlet. Then used this profile (for next session) at outlet and pressure inlet as Pin=1 atm. However, the results deviated a lot from original work. I am using chemical reaction. So the rate equation is Rate=Ae^(-E/R/T) *P_H2O* P_CH4 So when I use velocity as 0.1 m/s and I cannot assign pressure then what I do is: P_H2O = Pin *H2O.molconc 1 atm * water mole concentration I thought as I assign pressure in chemical reaction so it will reflect in static pressure. But that is limited to < 0.25Pa in post. If i calculate in post chart/table the Pin*H2O.molconc quantity then that value exist (2..e4 Pa) |
|
July 31, 2019, 08:41 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
I would assume that P_H2O, and P_CH4 are partial pressures; therefore, you only need to write as
P_H2O = Absolute Pressure * H2O.molconc P_CH4 = Absolute Pressure * CH4.molconc Those two expressions above are generic; therefore, you can use it in the interior of the domain, and boundaries. Pin can only be used as a boundary condition if StaticPressure option used, or to verify the model if velocity option used at the corresponding location |
|
July 31, 2019, 08:55 |
|
#5 | |
Member
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7 |
Quote:
and I am clear that Pabs= Pref+Pstatic =1atm+Pstatic (<0.25 pa) Ptot=Pstatic+Pdyamic=0.25 Pa (my case) I will try that now. |
||
July 31, 2019, 09:09 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Not sure, but I think there is confusion here.
Dalton's law never talks about total pressure, but absolute pressure instead. The textbook may have intended to say "not gauge pressure" since the law applies to gases. Total pressure implies isentropic flow from stagnation conditions to local conditions. |
|
Tags |
cfx, pressure, state equation |
|
|
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 |
Difference between total pressure, total pressure in Stn and in Rel frames | turbo5 | CFX | 6 | January 21, 2016 17:05 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) | HB &DS | CFX | 0 | January 9, 2000 14:19 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |