Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor Navier-Stokes documentation fixes #1214

Merged
merged 1 commit into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ solver = DGSEM(polydeg=3, surface_flux=flux_lax_friedrichs)
coordinates_min = (-1.0, -1.0) # minimum coordinates (min(x), min(y))
coordinates_max = ( 1.0, 1.0) # maximum coordinates (max(x), max(y))

# Create a uniformly refined mesh with periodic boundaries
# Create a uniformly refined mesh
mesh = TreeMesh(coordinates_min, coordinates_max,
initial_refinement_level=4,
periodicity=false,
Expand Down
5 changes: 4 additions & 1 deletion src/equations/compressible_navier_stokes_2d.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@doc raw"""
CompressibleNavierStokesDiffusion2D(gamma, Re, Pr, Ma_inf, equations)
CompressibleNavierStokesDiffusion2D(gamma, Re, Pr, Ma_inf, equations,
gradient_variables=GradientVariablesPrimitive())

These equations contain the diffusion (i.e. parabolic) terms applied
to mass, momenta, and total energy together with the advective terms from
Expand All @@ -10,6 +11,8 @@ the [`CompressibleEulerEquations2D`](@ref).
- `Pr`: Prandtl number,
- `Ma_inf`: free-stream Mach number
- `equations`: instance of the [`CompressibleEulerEquations2D`](@ref)
- `gradient_variables`: which variables the gradients are taken with respect to.
Defaults to `GradientVariablesPrimitive()`.

The particular form of the compressible Navier-Stokes implemented is
```math
Expand Down