From d7c939e60cae7e70d0401361bd9bde3896fbed22 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sun, 3 Nov 2013 21:06:54 +0000 Subject: [PATCH] [Cython/Doc] Migration guide covers transport model and Soret effect --- doc/sphinx/cython/migrating.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/sphinx/cython/migrating.rst b/doc/sphinx/cython/migrating.rst index 3b421e70a..1dd0896c5 100644 --- a/doc/sphinx/cython/migrating.rst +++ b/doc/sphinx/cython/migrating.rst @@ -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