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

Modeling relative Humidity in CFX

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2012, 07:17
Default Modeling relative Humidity in CFX
  #1
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 16
snpradeep is on a distinguished road
Hi..

I am simulating Euler Lagrange flow in a pipe. Air flowing at 4 bar and 200C.
Water is injected at 15C.

Now I want to plot relative humidiy in CFX. How can I calculate it or post process it.

Please help..

regards,
Pradeep
snpradeep is offline   Reply With Quote

Old   July 20, 2012, 13:53
Default
  #2
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14
Felggv is on a distinguished road
Hi,

As far as I know, you can't do it directly, it's not a default variable built in CFX that you can plot as function of time or whatever, so, you'll need to get your thermodynamics book and find out a way to plot it after you have informations about humidity given by CFX-Post, like average Water Vapour Mass Fraction distribution.

Hope it helped you a bit, in a few moments more people will come and help you.

EDIT: You can access ScienceDirect.com and view an enormous amount of articles about relative humidity, and maybe find some information on how to plot it after you have the desired information given by any CFD software.
Felggv is offline   Reply With Quote

Old   July 20, 2012, 18:12
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Felipe is correct - it is not in CFX by default, so you will have to calculate it from the mass fraction.
ghorrocks is offline   Reply With Quote

Old   July 24, 2012, 03:44
Default
  #4
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 16
snpradeep is on a distinguished road
Thank you very much Mr. Felipp Gobbi..
I tried as per your instructuions but I could only manage to plot Specific Humidity (Which is ratio of massfrac of vapor to mass frac air). Also I could calculate Vapor pressure (Pv) using Ideal gas laws As I have H2O.Mass concentration (kg/m^3) as one of the variable which is nothing but actual vapor density. ie.( Pv = Rhov / Rv T ) But i am not understanding how can I get saturation pressure of water vapor at a given temp.

If I can get that as a variable...Then I can compute, relative humidity = (Pv/ Psat@T)

I am literally clueless..But it is quite interesteing that Liquid Evaporation model available in CFX computes Saturation Pressure (Antoine Equation). And CFX dosen't has that as a variable for post processing
snpradeep is offline   Reply With Quote

Old   July 24, 2012, 10:11
Default
  #5
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14
Felggv is on a distinguished road
Hi there,

I'm afraid you'll have to do it manually by using another software with psychrometric info like EES (as suggested by Yunus' thermodynamics book).

Or you can adjust a curve for Pg - T using a thermodynamic table using Excel.

I'm sorry if it won't work, that's what I can suggest for now (gotta read the book again).

Good luck and if you manage to do it, come back to tell us how you did it!

PS: If you're at an University, maybe you have full access to www.sciencedirect.com, try some articles about relative humidity, you may figure out what people did, but I can tell you that you'll have some manual work. If it's not forbidden I can share some articles by attaching them here.
Felggv is offline   Reply With Quote

Old   July 25, 2012, 03:27
Default
  #6
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 16
snpradeep is on a distinguished road
Hello Mr. Felipe Gobbi...

Thank you very much for the reply..If you have some articles with you regarding relative humidity calculation..It will be very useful...Please do post some links..In the mean time I will also search some articles about it.

Regards,
Pradeep

Last edited by snpradeep; July 25, 2012 at 04:39.
snpradeep is offline   Reply With Quote

Old   July 25, 2012, 12:20
Default
  #7
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14
Felggv is on a distinguished road
Hey,

I guess they're big to post here, e-mail me and I e-mail you back with the articles!

And I repeat, the articles won't tell you how to do it directly, you may have to figure it out by yourself!

e-mail: felipeggv@gmail.com
Felggv is offline   Reply With Quote

Old   July 26, 2012, 15:00
Default
  #8
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14
Felggv is on a distinguished road
Mr. Pradeep,

I've managed to do it with the help of a friend of mine that had already done it.

In CFD Post:

1) Insert> Expression - here we define the Saturation Pressure (Pg).

Definition: (0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000

2) Insert> Expression

Definition: (((Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Absolute Pressure)/((0.622 + Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Pg))*100

3) Insert> Variable - name it "Relative Humidity" and in expression set it like the expression above (in item 2).

Now you can plot it as contours, charts, tables, etc.
korcanates likes this.
Felggv is offline   Reply With Quote

Old   July 27, 2012, 05:12
Default
  #9
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 16
snpradeep is on a distinguished road
Hi Thank you very much...

Even I have 1 method to compute sat vapor presure.

Psat = 1[bar]*exp^(Antoine A - Antoine B/(T + Antoine C))

http://en.wikipedia.org/wiki/Antoine_equation

The Antoine coefficients can be found in saturation properties of Homogenious binary mixture of Water vapor and liquid water in ANSYS CFX material library (Interphase Mass Transfer).
If Antoine coefficients are being used from different literatures you may have to care for pressure scale.
For Eg. If antoine coefficents are A = 23.7836 , B = 3782. 89 C = (230.15-273.15 ). Then pressure scale has to be replaced by 1 [ Pa].

Relative Humidity can be calculated as you specified or...

Actual Vapor Pressure = H2O.Molar Mass Fraction * Absolute Pressure

R H = Actual Vapor Pressure / Saturation Vapor Pressure

Also I have found few formulations of Sat vap Pressure which can be useful in future.

http://cires.colorado.edu/~voemel/vp.html
korcanates likes this.
snpradeep is offline   Reply With Quote

Old   January 6, 2013, 23:09
Default
  #10
Member
 
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 14
Niru is on a distinguished road
@Felipe Gobbi- I tried this code.

1) Insert> Expression - here we define the Saturation Pressure (Pg).

Definition: (0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000

2) Insert> Expression

Definition: (((Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Absolute Pressure)/((0.622 + Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Pg))*100

3) Insert> Variable - name it "Relative Humidity" and in expression set it like the expression above (in item 2).

Now you can plot it as contours, charts, tables, etc.
I am getting an error that air at 25C.mass fraction does not existing in default domain.
I have added air at 25C in my default domain, but still I get this error. I tried one with formula for Relative humidity using density, still it throws the same error. Do you have any idea as to why it is not accepting the properties of air at 25 C?
Niru is offline   Reply With Quote

Old   January 7, 2013, 00:30
Default
  #11
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 16
snpradeep is on a distinguished road
Hello Niru,

Look for the naming available in your CFD post..May be you are getting error because of wrong naming..

Regards,
Pradeep
snpradeep is offline   Reply With Quote

Old   February 21, 2013, 15:52
Default
  #12
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 15
serezhkin is on a distinguished road
Quote:
Originally Posted by Felggv View Post
Mr. Pradeep,

I've managed to do it with the help of a friend of mine that had already done it.

In CFD Post:

...

Now you can plot it as contours, charts, tables, etc.
Thank you, this is extremely useful!
serezhkin is offline   Reply With Quote

Old   April 19, 2014, 05:30
Default
  #13
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 13
sunilpatil is on a distinguished road
hi,
I am working on heat transfer in building with envelops. i want to consider effect of humidity, how to model it in CFX. if possible can you send me any tutorial or material on that.
Thank you
Suneel
sunilpatil is offline   Reply With Quote

Old   March 16, 2015, 01:16
Default
  #14
Member
 
Nazim
Join Date: Oct 2013
Posts: 93
Rep Power: 12
shahid nadeem is on a distinguished road
Quote:
Originally Posted by Felggv View Post
Mr. Pradeep,

I've managed to do it with the help of a friend of mine that had already done it.

In CFD Post:

1) Insert> Expression - here we define the Saturation Pressure (Pg).

Definition: (0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000

2) Insert> Expression

Definition: (((Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Absolute Pressure)/((0.622 + Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Pg))*100

3) Insert> Variable - name it "Relative Humidity" and in expression set it like the expression above (in item 2).

Now you can plot it as contours, charts, tables, etc.
So you mean to say
(0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000[/B] = pg
shahid nadeem is offline   Reply With Quote

Old   August 9, 2017, 23:25
Default
  #15
New Member
 
Dharav Brahmbhatt
Join Date: Aug 2017
Posts: 1
Rep Power: 0
dharav12 is on a distinguished road
Quote:
Originally Posted by Felggv View Post
Mr. Pradeep,

I've managed to do it with the help of a friend of mine that had already done it.

In CFD Post:

1) Insert> Expression - here we define the Saturation Pressure (Pg).

Definition: (0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000

2) Insert> Expression

Definition: (((Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Absolute Pressure)/((0.622 + Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Pg))*100

3) Insert> Variable - name it "Relative Humidity" and in expression set it like the expression above (in item 2).

Now you can plot it as contours, charts, tables, etc.
Hi Everyone, I create two expressions in CFX-Pre (Setup) as stated in item 1 and 2. However, I do not understand what do you mean by item 3. I created a variable but how do I set it like the expression as given in item 2?

Thank you for your help.

Regards,
Dharav Brahmbhatt
dharav12 is offline   Reply With Quote

Old   April 15, 2020, 01:04
Default Hi Pradeep,
  #16
New Member
 
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6
mahesh1819 is on a distinguished road
Quote:
Originally Posted by Felggv View Post
Mr. Pradeep,

I've managed to do it with the help of a friend of mine that had already done it.

In CFD Post:

1) Insert> Expression - here we define the Saturation Pressure (Pg).

Definition: (0.61078* exp((17.269*(Temperature - 273.15 [K]))/((Temperature - 273.15[K]) + 237.3[K])))*1000

2) Insert> Expression

Definition: (((Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Absolute Pressure)/((0.622 + Water Vapour at 25 C.Mass Fraction/Air at 25 C.Mass Fraction)*Pg))*100

3) Insert> Variable - name it "Relative Humidity" and in expression set it like the expression above (in item 2).

Now you can plot it as contours, charts, tables, etc.

We are simulating relative humidity in a room having a fan with hot air velocity inlet (low water vapor + air). We could not figure out how to define inner air conditions which is having (high water vapour+Air). We are using species transport, energy and viscous equations. We have defined mass inlet for the fan and considered convection from the side walls.
Please guide us how to define inner air conditions.
mahesh1819 is offline   Reply With Quote

Old   April 15, 2020, 02:01
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You model the air as a variable composition mixture of air and water. Set the water (or the air) as a constraint. Then you set your initial and boundary conditions for the mass fractions. Works for me. Can you explain what your problem is?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 15, 2020, 02:29
Default
  #18
New Member
 
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6
mahesh1819 is on a distinguished road
Hi, Thanks for quick reply.
My exact problem is how to define inside air with higher humidity.
we define veocity inlet with mass fractions of water vapour and air.
Our model do not have any outlet condition.
Our ultimate aim is to simulate and plot relative humidity inside the room in steady state condition. Please help
mahesh1819 is offline   Reply With Quote

Old   April 15, 2020, 02:33
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,697
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please post an image of what you are modelling and your output file. Please post them directly on the forum, do not use third party download sites. FAQ on how to do this: https://www.cfd-online.com/Wiki/Ansy...n_the_forum.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 15, 2020, 05:13
Default
  #20
New Member
 
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6
mahesh1819 is on a distinguished road
Dear ghorrocks,
As suggested, please find the attached images.
1. We have a space having hot air fan duct (refer fig. MassFlowInlet-Marked) which we have defined as mass flow inlet (refer fig. MassFlowInlet-Momentum, MassFlowInlet-Species, MassFlowInlet-Thermal)
2. Side walls are defined as per SideWall-Boundary Condition
3. We are stuck how to define inner air which is at 30 deg and higher relative humidity (Refer fig.CellZone Input)
4. And not getting any results in H20 mass fraction. (Fig.H2O-MassFractionResults)
Please review and help where we are wrong.
Attached Images
File Type: png MassFlowInlet-Marked.PNG (116.4 KB, 31 views)
File Type: jpg CellZone Input.jpg (79.7 KB, 31 views)
File Type: png MassFlowInlet-Momentum.PNG (44.7 KB, 20 views)
File Type: png SideWall-Boundary Condition.PNG (56.3 KB, 22 views)
File Type: png H2O-MassFractionResults.PNG (53.2 KB, 18 views)
mahesh1819 is offline   Reply With Quote

Reply

Tags
cfx, humidity, lagrange, particle tracking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Modeling plastic injection process in CFX. psicosis_x CFX 2 April 13, 2011 14:04
how can i get relative velocity maginitude in CFX nuimlabib Main CFD Forum 0 March 31, 2011 03:37
relative humidity as bc for inlet?? Wikie FLUENT 0 June 30, 2010 03:03
how to define the initial relative humidity in DPM satum FLUENT 0 February 28, 2009 02:15
CFX for turbulence modeling Sujit CFX 1 August 13, 2003 06:20


All times are GMT -4. The time now is 15:56.