[Cython/1D] Use 'Mix' transport if no transport model is provided
This commit is contained in:
parent
c34877a96f
commit
3c703eb4ed
1 changed files with 2 additions and 0 deletions
|
|
@ -324,6 +324,8 @@ cdef class _FlowBase(Domain1D):
|
|||
def __init__(self, _SolutionBase thermo, *args, **kwargs):
|
||||
self.domain = <CxxDomain1D*>(self.flow)
|
||||
super().__init__(*args, **kwargs)
|
||||
if not thermo.transport_model:
|
||||
thermo.transport_model = 'Mix'
|
||||
self.gas = thermo
|
||||
self.flow.setKinetics(deref(self.gas.kinetics))
|
||||
self.flow.setTransport(deref(self.gas.transport))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue