CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

how to get gas viscosity in the fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2014, 06:30
Default how to get gas viscosity in the fluent
  #1
New Member
 
Happy_weekend
Join Date: Jan 2014
Posts: 21
Rep Power: 12
Messi is on a distinguished road
Problem description: I am writing a DPM udf for coal combustion. In the UDF, we need to use the gas phase viscosity to compute the Stokes number in the related formula.

Question1: Is there any argument that we can directly use to get the gas viscosity?
For example, if we want to use particle velocity, we can use argument P_VEL(P).

Question2; If not, how to get the gas viscosity?

Could anyone help me with this?

Many thanks advance.
Messi is offline   Reply With Quote

Old   April 30, 2014, 09:12
Default
  #2
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Edit: Look for Material Property Macros in the UDF Manual.

https://www.sharcnet.ca/Software/Flu...df_tab_cell_12

Last edited by macfly; April 30, 2014 at 11:22.
macfly is offline   Reply With Quote

Old   April 30, 2014, 10:06
Default
  #3
New Member
 
Happy_weekend
Join Date: Jan 2014
Posts: 21
Rep Power: 12
Messi is on a distinguished road
Quote:
Originally Posted by macfly View Post
Hi,

How did you define the mixture viscosity in Fluent? Mass weighted mixing law? Ideal gas mixing law?

I think there is no direct mean to retrieve the mixture viscosity in Fluent, another great example of a very basic functionality not available in Fluent .

In your udf, you can retrieve individual species viscosity with prop_mu (see udf manual) and then calculate the mixture viscosity according to the way you defined it.
Many thanks for your help.
1, mixture viscosity :Mass weighted mixing law.
2, I think you mean that I can only compute the gas viscosity by using the individual mass concentration, individual viscosity and the viscosity mixing law in the UDF.

3, could I use the effective viscosity or turbulence viscosity in the turbulence model to represent the gas viscosity to compute the Stokes number? because we can directly get the effective or turbulence viscosity by the argument C_MU_EFF(c,t) and C_MU_T(c,t).

Stokes number=ρp*Vp*Dp^2/9*Dc*μg
ρp, particle density, Vp particle velocity, Dp particle diameter, Dc obstacle diameter, μg gas viscosity.
Messi is offline   Reply With Quote

Old   April 30, 2014, 11:18
Default
  #4
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
I was wrong, you found the Material Property Macros, what you need is in these macros.

I'm not familiar with DPM, I can't tell which viscosity you should use in the Stokes number.
macfly is offline   Reply With Quote

Old   May 1, 2014, 07:02
Default
  #5
New Member
 
Happy_weekend
Join Date: Jan 2014
Posts: 21
Rep Power: 12
Messi is on a distinguished road
Quote:
Originally Posted by macfly View Post
I was wrong, you found the Material Property Macros, what you need is in these macros.

I'm not familiar with DPM, I can't tell which viscosity you should use in the Stokes number.
Many thanks for your help.
Messi is offline   Reply With Quote

Reply


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
Using ideal gas law and sutherland law in Fluent RyGuy FLUENT 4 June 28, 2012 02:07
Fluent PDF Combustion viscosity problem laxwendrofzx9r FLUENT 0 December 6, 2011 09:21
few quesions on ANSYS ICEMCFD and FLUENT Prakash.Paudel ANSYS 0 August 12, 2010 12:07
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Fluent journal - setting ideal gas Franky FLUENT 6 May 2, 2006 04:21


All times are GMT -4. The time now is 05:31.