mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[Samples] Explicitly set transport model to 'Mix' for clarity
This commit is contained in:
@@ -33,6 +33,7 @@ f.show_solution()
|
||||
|
||||
# Solve with the energy equation disabled
|
||||
f.energy_enabled = False
|
||||
f.transport_model = 'Mix'
|
||||
f.set_max_jac_age(10, 10)
|
||||
f.set_time_step(1e-5, [2, 5, 10, 20])
|
||||
f.solve(loglevel=loglevel, refine_grid=False)
|
||||
|
||||
@@ -31,6 +31,7 @@ f.flame.set_transient_tolerances(default=tol_ts)
|
||||
f.show_solution()
|
||||
|
||||
f.energy_enabled = False
|
||||
f.transport_model = 'Mix'
|
||||
f.set_max_jac_age(10, 10)
|
||||
f.solve(loglevel, refine_grid=False)
|
||||
f.save('h2_burner_flame.xml', 'no_energy',
|
||||
|
||||
@@ -95,6 +95,7 @@ f.show_solution()
|
||||
f.energy_enabled = False
|
||||
|
||||
# first solve the flame with mixture-averaged transport properties
|
||||
f.transport_model = 'Mix'
|
||||
f.set_refine_criteria(ratio=3.0, slope=0.3, curve=1)
|
||||
f.set_max_jac_age(50, 50)
|
||||
f.set_time_step(1.0e-5, [1, 2, 5, 10, 20])
|
||||
|
||||
Reference in New Issue
Block a user