Skip to content

Commit

Permalink
Fix findYPlus routine
Browse files Browse the repository at this point in the history
  • Loading branch information
Freile committed Jun 5, 2024
1 parent 417b138 commit 0a6304d
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion modules/navier_stokes/src/base/NavierStokesMethods.C
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ findyPlus(const ADReal & mu, const ADReal & rho, const ADReal & u, const Real di
{
yPlusLast = yPlus;
yPlus = (kappa_time_Re + yPlus) / (1.0 + std::log(NS::E_turb_constant * yPlus));
} while (rev_yPlusLam * (yPlus - yPlusLast) > REL_TOLERANCE && ++iters < MAX_ITERS);
} while (std::abs(rev_yPlusLam * (yPlus - yPlusLast)) > REL_TOLERANCE && ++iters < MAX_ITERS);

return std::max(0.0, yPlus);
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
[]
[]
[lid_driven_turb_non_eq_wall]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with non-equilibrium wall functions, '
[result]
type = 'Exodiff'
Expand All @@ -61,7 +60,6 @@
[]
[]
[lid_driven_turb_linear_wall]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with linear wall functions, '
[result]
type = 'Exodiff'
Expand All @@ -81,7 +79,6 @@
[]
[]
[lid_driven_turb_inc_wall]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with incremental wall functions, '
[result]
type = 'Exodiff'
Expand All @@ -101,7 +98,6 @@
[]
[]
[lid_driven_turb_no_wall_log_first_layer]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with no wall treatment and the first cell in the logarithmic regime, '
[result]
type = 'Exodiff'
Expand All @@ -122,7 +118,6 @@
[]
[]
[lid_driven_turb_no_wall]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with no wall treatment, '
[result]
type = 'Exodiff'
Expand All @@ -142,7 +137,6 @@
[]
[]
[lid_driven_turb_non_eq_bulk]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with non-equilibrium bulk treatment, '
[result]
type = 'Exodiff'
Expand All @@ -162,7 +156,6 @@
[]
[]
[lid_driven_turb_energy]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with transported energy, '
[result]
type = 'Exodiff'
Expand All @@ -182,7 +175,6 @@
[]
[]
[lid_driven_turb_energy_wall]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with temperature wall functions, '
[result]
type = 'Exodiff'
Expand All @@ -202,7 +194,6 @@
[]
[]
[lid_driven_turb_energy_wall_linear]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with linearized temperature wall functions, '
[result]
type = 'Exodiff'
Expand All @@ -223,7 +214,6 @@
[]
[]
[lid_driven_turb_energy_wall_log]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with temperature wall functions in the log-layer regime, '
[result]
type = 'Exodiff'
Expand All @@ -244,7 +234,6 @@
[]
[]
[lid_driven_turb_capped]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with capped production, '
[result]
type = 'Exodiff'
Expand All @@ -264,7 +253,6 @@
[]
[]
[lid_driven_turb_std_wall_nonlinear]

requirement = 'The system shall be able to run fluid flow with k-epsilon turbulence model in enclosures with standard wall functions, '
[result]
type = 'Exodiff'
Expand Down

0 comments on commit 0a6304d

Please sign in to comment.