reacprog3co2

algorithm

  • calculates reaction progress variables of a 3d field based on Y(CO2)
  • c=(Y(CO2)-Y(CO2)unburnt)/ (Y(CO2) burnt -Y(CO2) unburnt)
  • calculates surface density function sdf
    as absolut gradient of reaction progress variable c
  • plots isosurface of reaction progress variable at user defined level
  • plots mean values and scatterplot of surface density function vs. reaction progress variable c
  • using the toolbox function fdefvar3
    reacprco208
    sdfc08 

syntax

[c,sdf]=reacprog3co2(X,Y,Z,CO2,level)

example for input

[c,sdf]=reacprog3co2(X,Y,Z,CO2,0.5)

input arguments

X,Y,Z

vectors defining the rectangular domain

Y(CO2)

matrix of mass fraction of CO2

level

level of isosurface to plot

 

output arguments

c

matrix of reaction progress variable

sdf

matrix of surface density function

plot

isosurface of reaction progress variable in level

plot

mean values and scatterplot of sdf vs. c

 

matlab tools required

  • patch, isosurface

toolbox tools required

  • fdefvar3

corresponding 2d tool

Letzte Änderung: 24.02.2015 - Ansprechpartner: Dominique Thevenin