CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

How to add total pressure in state equation in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2019, 07:56
Default How to add total pressure in state equation in CFX
  #1
Member
 
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7
Goenitz is on a distinguished road
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 08:03. Reason: correction
Goenitz is offline   Reply With Quote

Old   July 30, 2019, 21:15
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   July 31, 2019, 07:22
Default
  #3
Member
 
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7
Goenitz is on a distinguished road
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)
Goenitz is offline   Reply With Quote

Old   July 31, 2019, 07:41
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
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
Opaque is offline   Reply With Quote

Old   July 31, 2019, 07:55
Default
  #5
Member
 
Abdullah Arslan
Join Date: Apr 2019
Posts: 94
Rep Power: 7
Goenitz is on a distinguished road
Quote:
Originally Posted by Opaque View Post
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
You suggested this before but then I was not sure. Now, I know that I have to use 1 atm as 'total' pressure of Dalton's law so I can use Absolute pressure as i have set my reference pressure as 1 atm.
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.
Goenitz is offline   Reply With Quote

Old   July 31, 2019, 08:09
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
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.
Opaque is offline   Reply With Quote

Reply

Tags
cfx, pressure, state equation


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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Difference between total pressure, total pressure in Stn and in Rel frames turbo5 CFX 6 January 21, 2016 16:05
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00


All times are GMT -4. The time now is 18:19.