Skip to content

Commit

Permalink
Update CMutationTCLib.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanquist authored Nov 17, 2024
1 parent 741e34c commit ff7e8fb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions SU2_CFD/src/fluid/CMutationTCLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,17 @@ CMutationTCLib::CMutationTCLib(const CConfig* config, unsigned short val_nDim):

opt.setStateModel("ChemNonEqTTv");
if (frozen) opt.setMechanism("none");
opt.setViscosityAlgorithm(transport_model);
opt.setThermalConductivityAlgorithm(transport_model);

if (transport_model == "Gupta-Yos")
{
opt.setViscosityAlgorithm(transport_model);
opt.setThermalConductivityAlgorithm("Chapmann-Enskog_LDLT");
}
else
{
opt.setViscosityAlgorithm(transport_model);
opt.setThermalConductivityAlgorithm(transport_model);
}

/* Initialize mixture object */
mix.reset(new Mutation::Mixture(opt));
Expand Down

0 comments on commit ff7e8fb

Please sign in to comment.