Skip to content

Commit

Permalink
- Added computation of LESIQ to Output
Browse files Browse the repository at this point in the history
  • Loading branch information
rois1995 committed Oct 21, 2023
1 parent 5b5fc30 commit ef50283
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SU2_CFD/src/output/CFlowOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,7 @@ void CFlowOutput::SetVolumeOutputFieldsScalarMisc(const CConfig* config) {
AddVolumeOutput("L_LES", "l_LES", "DDES", "DES length scale value");
AddVolumeOutput("R_DT", "r_dt", "DDES", "DES length scale value");
}
AddVolumeOutput("LESIQ", "LESIQ", "DDES", "LESIQ index for SRS simulations");
}

if (config->GetViscous()) {
Expand Down Expand Up @@ -1597,6 +1598,10 @@ void CFlowOutput::LoadVolumeDataScalar(const CConfig* config, const CSolver* con
SetVolumeOutputValue("L_LES", iPoint, Node_Turb->Get_L_LES(iPoint));
SetVolumeOutputValue("R_DT", iPoint, Node_Turb->Get_r_dt(iPoint));
}
const su2double mut = Node_Flow->GetEddyViscosity(iPoint);
const su2double mu = Node_Flow->GetLaminarViscosity(iPoint);
const su2double LESIQ = 1.0/(1.0+0.05*pow((mut+mu)/mu, 0.53));
SetVolumeOutputValue("LESIQ", iPoint, LESIQ);
}

switch (config->GetKind_Species_Model()) {
Expand Down

0 comments on commit ef50283

Please sign in to comment.