[Cython/Doc] Migration guide covers transport model and Soret effect

This commit is contained in:
Ray Speth 2013-11-03 21:06:54 +00:00
parent 6d7ec8df43
commit d7c939e60c

View file

@ -246,3 +246,15 @@ should be replaced with::
>>> f.flame.set_steady_tolerances(default=tol_ss)
>>> f.flame.set_transient_tolerances(default=tol_ts)
>>> f.set_refine_criteria(ratio=4, slope=0.2, curve=0.3, prune=0.04)
To change the transport model and enbale calculation of the Soret diffusion term, the following::
>>> gas.addTransportModel('Multi')
>>> gas.switchTransportModel('Multi')
>>> f.flame.setTransportModel(gas)
>>> f.flame.enableSoret()
should be replaced with::
>>> f.transport_model = 'Multi'
>>> f.soret_enabled = True