Skip to content

Commit

Permalink
Clean up for workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi committed Jul 11, 2024
1 parent a10f8b2 commit aa12cf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Diffusion/ComputeTurbulentViscosity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void ComputeTurbulentViscosityLES (const MultiFab& Tau11, const MultiFab& Tau22,
dtheta_dz = 0.5 * ( cell_data(i,j,k+1,RhoTheta_comp)/cell_data(i,j,k+1,Rho_comp)
- cell_data(i,j,k-1,RhoTheta_comp)/cell_data(i,j,k-1,Rho_comp) )*dzInv;
}

/*
// Account for moist BV frequency
Real E = cell_data(i,j,k,RhoKE_comp) / cell_data(i,j,k,Rho_comp);
Expand All @@ -226,9 +226,9 @@ void ComputeTurbulentViscosityLES (const MultiFab& Tau11, const MultiFab& Tau22,
}
*/
// Only valid for dry BV frequency
Real E = cell_data(i,j,k,RhoKE_comp) / cell_data(i,j,k,Rho_comp);
Real strat = l_abs_g * dtheta_dz * l_inv_theta0; // stratification
Real length;
Real E = cell_data(i,j,k,RhoKE_comp) / cell_data(i,j,k,Rho_comp);
Real stratification = l_abs_g * dtheta_dz * l_inv_theta0; // stratification
if (stratification <= eps) {
length = DeltaMsf;
} else {
Expand Down

0 comments on commit aa12cf6

Please sign in to comment.