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

Fluid Models - Transport Equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2022, 10:38
Default Fluid Models - Transport Equation
  #1
New Member
 
Riccardo
Join Date: Feb 2022
Location: Copenhagen
Posts: 7
Rep Power: 4
Ric_ is on a distinguished road
Good afternoon,
I have set up a simple simulation for a chemical reactor producing methanol (packed bed reactor). My current simulation works fine, but, in view of more reliable results, I am trying to introduce non-constant kinematic diffusivities in the "Fluid Models" window (through the option "Transport Equation" in "Component Models"). My expressions for diffusivity depend upon temperature, pressure and composition (like most literature correlations).
When I introduce kinematic diffusivity as an expression, I get the following error message:

"Parameter 'Kinematic Diffusivity' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/FLUID MODELS/COMPONENT:Ar' has been assigned an expression that references the following unavailable variables: Molar Fraction" .

It either seems that I have recalled my molar fractions in the wrong way (but I have already done it several times for reaction kinetics and it works) or that functions depending on composition are not allowed in the context of Kinematic Diffusivity. Could anyone kindly tell me whether I am making a mistake or there is a trick to solve the issue?

I have attached the file of interest (I have introduced only one non-constant diffusivity, i.e. the one of Argon, "DiffeffAr" in the attached file).

Thanks again,
Riccardo
Attached Files
File Type: zip PBR.zip (7.9 KB, 6 views)
Ric_ is offline   Reply With Quote

Old   February 2, 2022, 18:10
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am no expert on this, but isn't normal practice to specify diffusivities and viscosities by defining the diffusivity and viscosity of the components, and then CFX uses the ideal mixture law to get get the diff/vis of the mixture? You appear to be defining the diff/vis of the mixture.

If you want CFX to use a different function than the ideal mixture law you need to define that in the mixture material.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 2, 2022, 18:18
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Are you modeling laminar, or turbulent flow ?

For either flow, if you have a mixture with only 2 material components, you should not have a problem or anything to be concerned about. However (a big one), if you have more than 2 material components, I do not see what influence the "molecular diffusivity" has on the solution for turbulent flow since it will be swamped by the turbulent contribution.

D_effective = D_molecular + Turbulent Viscosity / Schmidt Number

Schmidt Number ~ 1 for gases (usually @0.9)

Now, if you have a laminar flow only, then Ansys CFX does not provide an interface to input the D_ij coefficients needed to properly account for material diffusion. That is, Ansys CFX assumes a diluted mixture, so be careful.

The error you got is probably due to a limitation on what variables are allowed to be used for an expression on a specific widget.

Search in the forum on how to override the Dependency List for a give widget/parameter in Ansys CFX
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply

Tags
chemical reactor, fluid models, kinematic diffusivity, transport 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
Adding diffusion term to interFoam transport equation Gearb0x OpenFOAM Programming & Development 3 February 14, 2023 05:16
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
Solving User-defined Scalar Transport Equation properly meepokman Fluent UDF and Scheme Programming 0 July 10, 2018 08:57
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21


All times are GMT -4. The time now is 07:03.