From aa12cf64b91d54516372bb6c36615b77358bbf55 Mon Sep 17 00:00:00 2001 From: AMLattanzi Date: Thu, 11 Jul 2024 14:14:50 -0700 Subject: [PATCH] Clean up for workflow. --- Source/Diffusion/ComputeTurbulentViscosity.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Diffusion/ComputeTurbulentViscosity.cpp b/Source/Diffusion/ComputeTurbulentViscosity.cpp index bf6af44c8..c56e4adfe 100644 --- a/Source/Diffusion/ComputeTurbulentViscosity.cpp +++ b/Source/Diffusion/ComputeTurbulentViscosity.cpp @@ -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); @@ -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 {