Fluids

Fluids

fluid viscosity in CEL

    • Goenitz
      Subscriber

      Hi all,


       


      I am trying to use fluid viscosity in CEL expression to be used in other formulai.


      My material name is 'MSR' and fluid name is 'my'.


      I am trying to write expression my.viscosity or my.density, but receiving this error.


       


      P.S. 'my' is Fluid and Particle definitions and  Solid definitions is 'Ni foam'


      WARNING


      Expression 'phasedensity*Cf/sqrt(Kp)' depends on a variable 'my.Density' which does not exist.


       


      WARNING


      Expression 'porosity*my.density+(1-porosity)*Ni foam.density' depends on a variable 'my.Density' which does not exist.


       


      WARNING


      Expression 'my.viscosity/porosity' depends on a variable 'my.Dynamic Viscosity' which does not exist.

    • DrAmine
      Ansys Employee
      If single phase just use the variables without fluid names.
    • Goenitz
      Subscriber

      The MSR is mixture of gases of methane steam reforming reaction plus passing through a porous medium (Ni foam). Temperature is high so all gases are in gaseous state but Ni foam is in solid state. So it is not a single phase. I wrote expression on following parallel ground of CFX reference guide.


       


       


      15.2.12.1. System Variable Prefixes


      In order to distinguish system variables of the different components and fluids in your CFX model,


      prefixes are used. For example, if carbon dioxide is a material used in the fluid air, then some of the


      system variables that you might expect to see are:


      • air.density - the density of air


      • air.viscosity - the viscosity of air


      • air.carbondioxide.mf - the mass fraction of carbon dioxide in air


      • air | water.surface tension coefficient – the surface tension coefficient between air


      and water


      • air | water.area density – the interfacial area density between air and water.

    • DrAmine
      Ansys Employee
      You are referring to the correct passage. Air in the example is a multicomponent phase.
Viewing 3 reply threads
  • You must be logged in to reply to this topic.