[1D] Use better guess for CounterflowDiffusionFlame initial position
The new formula is based on a set of test flames where the density ratio of the fuel and oxidizer streams was varied by changing temperature and fuel composition and the flame position was calculated as the centroid of the H2O mass fraction profile.
This commit is contained in:
parent
5e35ca5486
commit
6c466f65fa
1 changed files with 1 additions and 1 deletions
|
|
@ -597,7 +597,7 @@ class CounterflowDiffusionFlame(FlameBase):
|
|||
self.gas.species_index('o2'))
|
||||
f = np.sqrt(a / (2.0 * self.gas.mix_diff_coeffs[kOx]))
|
||||
|
||||
x0 = mdotf * dz / (mdotf + mdoto)
|
||||
x0 = np.sqrt(mdotf*u0f) * dz / (np.sqrt(mdotf*u0f) + np.sqrt(mdoto*u0o))
|
||||
nz = len(zz)
|
||||
|
||||
Y = np.zeros((nz, self.gas.n_species))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue