Skip to content

Commit 1a9082b

Browse files
committed
Minor Fix on Doc and examples
1 parent caa2e08 commit 1a9082b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/documentation/case.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ Note that `time_stepper` $=$ 3 specifies the total variation diminishing (TVD),
333333
- `wave_speeds` specifies the choice of the method to compute the left, right, and middle wave speeds in the Riemann solver by an integer of 1 and 2.
334334
`wave_speeds` $=$ 1 and 2 correspond to the direct method ([Batten et al., 1997](references.md#Batten97)), and indirect method that approximates the pressures and velocity ([Toro, 2013](references.md#Toro13)), respectively.
335335

336-
- `weno_Re_flux` activates the scaler divergence theorem in computing the velocity gradients using WENO-reconstructed cell boundary values.
336+
- `weno_Re_flux` activates the scaler divergence theorem in computing the velocity gradients using WENO-reconstructed cell boundary values. If this option is false, velocity gradient is computed using finite difference scheme of order 2 which is independent of the WENO order.
337337

338-
- `weno_avg` activates the arithmetic average of the left and right, WENO-reconstructed, cell-boundary values.
338+
- `weno_avg` it activates the arithmetic average of the left and right, WENO-reconstructed, cell-boundary values. This option requires `weno_Re_flux` to be true because cell boundary values are only utilized when employing the scalar divergence method in the computation of velocity gradients.
339339

340340

341341
### 6. Formatted Output

examples/3D_turb_mixing/case.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
Nt = t_save*Nfiles
4343
t_step_start = Ntstart
4444
t_step_stop = int(Nt)
45-
46-
# Derive dynamic viscosity (rho =1)
47-
Mu = u0*Lx/Re0
4845
# ==============================================================================
4946

5047

@@ -131,7 +128,7 @@
131128
# Surrounding liquid
132129
'fluid_pp(1)%gamma' : 1./(gamma-1.),
133130
'fluid_pp(1)%pi_inf' : 0.,
134-
'fluid_pp(1)%Re(1)' : 1/Mu,
131+
'fluid_pp(1)%Re(1)' : Re0,
135132
# =========================================================================
136133
}))
137134

0 commit comments

Comments
 (0)