Fluids

Fluids

How to import an-Isotropic Mass Diffusivity in ANSYS Fluent?

    • ssr46
      Subscriber

      I'm modelling a porous media which has I have a excel file which contains values of diffusion coefficient(mass diffusivity) at each x,y,z position. I would like to import this data in the materials section of fluent. 

      For example:
      X[m] Y[m] Z[m] Diff_CoEff[m^2/s^-1]
      0.2 0.3 0.5 3E-10
      0.7 0.8 0.4 4E-10
      ......................
      .....................

      Is there any way to import this data in ANSYS Fluent?
      Do you need more data?

    • Karthik R
      Administrator

      Hi,


      I am not sure if you are looking an answer to this question. You will have to write a UDF to read values from your table. These values will have to be stored in UDMIs. You might want to use the macro DEFINE_DIFFUSIVITY to define a single value of diffusivity on a per control volume basis. Please refer to the Fluent Customization Manual for more details on writing the UDF.


      Thanks.


      Best Regards,


      Karthik

Viewing 1 reply thread
  • You must be logged in to reply to this topic.