cantera/interfaces/matlab/toolbox/@ThermoPhase
KyleLinevitchJr 43bd96b5ba [Matlab] Make counterflow diffusion flame simulation more general
The CounterFlowDiffusionFlame (CFDF) code is able to perform more general cases
of npflame_init for multiple species fuel and oxidizer streams. The
stoichiometric mixture fraction in the CFDF code uses the Bilger definition of
mixture fraction, using the conservation of elements C, H, and O. This method is
used in the python module, but not the MATLAB npflame_init function.

Also, the CFDF code uses the fuel stream density to calculate the fuel stream
velocity and the oxidizer stream density to calculate the oxidizer stream
velocity, where as the npflame_init code uses the fuel density for both velocity
calculations.

The elementMassFraction code is a MATLAB version of the python function:
elemental_mass_fraction, which is needed to run the CFDF code.

Update the diffflame.m example to use the more general CFDF function since the
input parameters are different than the npflame_init function. This example is
the same as the diffusion_flame.py sample in the Python module.
2017-06-10 16:44:50 -04:00
..
private [Matlab] Fix spacing in private functions 2015-10-24 08:05:52 -04:00
atomicMasses.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
chemPotentials.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
clear.m [Matlab] Fix ThermoPhase 'clear' method 2016-10-18 11:21:42 -04:00
cp_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
cp_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
cp_R.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
critDensity.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
critPressure.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
critTemperature.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
cv_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
cv_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
density.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
display.m [Matlab] Fix default threshold value when displaying phase info 2016-07-13 17:11:34 -04:00
electricPotential.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
elementalMassFraction.m [Matlab] Make counterflow diffusion flame simulation more general 2017-06-10 16:44:50 -04:00
elementIndex.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
elementName.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
enthalpies_RT.m [Matlab/Doc] Fix docs for enthalpies_RT function 2017-01-25 07:41:43 -05:00
enthalpy_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
enthalpy_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
entropies_R.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
entropy_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
entropy_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
eosType.m Remove code deprecated in Cantera 2.3.0 2017-02-12 19:22:33 -05:00
equilibrate.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
gibbs_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
gibbs_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
gibbs_RT.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
intEnergy_mass.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
intEnergy_mole.m [Matlab/Doc] Fix typos in docs for some ThermoPhase getters 2017-01-03 21:57:06 -05:00
isIdealGas.m Remove code deprecated in Cantera 2.3.0 2017-02-12 19:22:33 -05:00
isothermalCompressibility.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
massFraction.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
massFractions.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
maxTemp.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
meanMolecularWeight.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
minTemp.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
molarDensity.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
molecularWeights.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
moleFraction.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
moleFractions.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
name.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
nAtoms.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
nElements.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
nSpecies.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
pressure.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
refPressure.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
satPressure.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
satTemperature.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
set.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setDensity.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setElectricPotential.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setMassFractions.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setMoleFractions.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setName.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setPressure.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setState_HP.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setState_Psat.m [Doc] Fix warnings in Sphinx/Matlab docs 2015-12-27 16:50:18 -05:00
setState_PV.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_RP.m Add MATLAB interface to the setState_RP function 2015-06-15 17:47:37 -04:00
setState_satLiquid.m [Matlab] Fix setState_sat*.m functions 2015-10-24 07:56:10 -04:00
setState_satVapor.m [Matlab] Fix setState_sat*.m functions 2015-10-24 07:56:10 -04:00
setState_SH.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_SP.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setState_ST.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_SV.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setState_TH.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_Tsat.m [Doc] Fix warnings in Sphinx/Matlab docs 2015-12-27 16:50:18 -05:00
setState_TV.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_UP.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setState_UV.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
setState_VH.m [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
setTemperature.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
soundspeed.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
speciesIndex.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
speciesName.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
speciesNames.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
temperature.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
thermalExpansionCoeff.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
thermo_hndl.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
ThermoPhase.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
vaporFraction.m [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00