Notice: The Ansys Innovation Space websites will be temporarily unavailable on Monday November 6 from 8:30 EDT to 1:00pm EDT for scheduled maintenance.
We apologize for any inconvenience this may cause and appreciate your understanding.
Reacting Flows

Reacting Flows

How can volume fraction be plotted in a species transport simulation?

    • FAQFAQ
      Participant

      Species volume fraction can be evaluated from its mass fraction value using the following expression via custom-field-functions:
      volume-fraction of species “i” = (mass-fraction of species “i”)*(mixture-density)/(density of species “i”)
      Note that the mixture-density is directly available under the field-function “Density…” Species “i” density is not directly available as a field variable and can be provided as a constant value/state function/ideal gas law using a custom-field-function. Sample journal command to create a custom-field-function to evaluate water-vapor (h2o) volume fraction are as below. Here, h2o_density is also a custom-field-function assigning it a constant value of 1.3 [kg/m3] and is used in the volume-fraction expression.
      define custom-field-functions
      define “h2o_density” “1.3” define custom-field-functions define “vol-frac-h2o” “h2o*density/h2o_density”