[Python/1D] Fix default transport model selection
Broken in bd8a5d0, since the base Transport class no longer returns a false
value for the transport_model property.
This commit is contained in:
parent
3b522dcfb0
commit
6b588c5140
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ cdef class _FlowBase(Domain1D):
|
|||
def __init__(self, *args, **kwargs):
|
||||
self.domain = <CxxDomain1D*>(self.flow)
|
||||
super().__init__(*args, **kwargs)
|
||||
if not self.gas.transport_model:
|
||||
if self.gas.transport_model == 'Transport':
|
||||
self.gas.transport_model = 'Mix'
|
||||
self.flow.setKinetics(deref(self.gas.kinetics))
|
||||
self.flow.setTransport(deref(self.gas.transport))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue