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 Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2012, 08:17
Default Modeling relative Humidity in CFX
  #1
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 17
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, 14: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, 19:12
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
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, 04:44
Default
  #4
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 17
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, 11: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, 04:27
Default
  #6
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 17
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 05:39.
snpradeep is offline   Reply With Quote

Old   July 25, 2012, 13: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, 16: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, 06:12
Default
  #9
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 17
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 7, 2013, 00: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, 01:30
Default
  #11
New Member
 
Pradeep
Join Date: Nov 2009
Location: Duisburg
Posts: 24
Rep Power: 17
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, 16:52
Default
  #12
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 16
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, 06:30
Default
  #13
Senior Member
 
sunilpatil's Avatar
 
sunil
Join Date: Jul 2012
Location: Bangalore
Posts: 179
Rep Power: 14
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, 02:16
Default
  #14
Member
 
Nazim
Join Date: Oct 2013
Posts: 93
Rep Power: 13
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 10, 2017, 00: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, 02: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, 03:01
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
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, 03: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, 03:33
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
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, 06: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, 34 views)
File Type: jpg CellZone Input.jpg (79.7 KB, 34 views)
File Type: png MassFlowInlet-Momentum.PNG (44.7 KB, 23 views)
File Type: png SideWall-Boundary Condition.PNG (56.3 KB, 25 views)
File Type: png H2O-MassFractionResults.PNG (53.2 KB, 21 views)
mahesh1819 is offline   Reply With Quote

Reply

Tags
cfx, humidity, lagrange, particle tracking


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


All times are GMT -4. The time now is 17:29.