Skip to content

Commit 7a1c5e0

Browse files
Dimitrios AdamDimitrios Adam
authored andcommitted
AI suggestion
1 parent a39c5ef commit 7a1c5e0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/documentation/case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ The code provides three pre-built patches for dimensional extrusion of initial c
262262
- `case(270)`: Extrude 1D data to 2D domain
263263
- `case(370)`: Extrude 2D data to 3D domain
264264

265-
etup: Only requires specifying `files_dir` and filename pattern via `file_extension`. The files are located, for example, at `examples/1D_flamelet/IC`, and their format is `prim.XX.YY.files_extension.dat`.
265+
Setup: Only requires specifying `files_dir` and filename pattern via `file_extension`. The files are located, for example, at `examples/1D_flamelet/IC`, and their format is `prim.XX.YY.file_extension.dat`.
266266
Implementation: All variables and file handling are managed in the `case.py` file of the simulation.
267267
Usage: Ideal for initializing simulations from lower-dimensional solutions, enabling users to add perturbations or modifications to the base extruded fields for flow instability studies.
268268

src/common/include/2dHardcodedIC.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@
288288

289289
u2c = cvortex*((y_cc(j) - y2c))*exp(-r2c/(2.0_wp*rvortex**2.0_wp))
290290
v2c = -cvortex*((x_cc(i) - x2c))*exp(-r2c/(2.0_wp*rvortex**2.0_wp))
291-
q_prim_vf(2)%sf(i, j, 0) = q_prim_vf(2)%sf(i, j, 0) + u1c + u2c
292-
q_prim_vf(3)%sf(i, j, 0) = v1c + v2c
291+
q_prim_vf(momxb)%sf(i, j, 0) = q_prim_vf(momxb)%sf(i, j, 0) + u1c + u2c
292+
q_prim_vf(momxe)%sf(i, j, 0) = v1c + v2c
293293
case (272) ! Prexmied flame instability
294294
@: HardcodedReadValues()
295295

toolchain/mfc/params/namelist_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"elliptic_smoothing",
4444
"elliptic_smoothing_iters",
4545
"files_dir",
46-
"files_extension",
46+
"file_extension",
4747
"fft_wrt",
4848
"file_per_process",
4949
"fluid_pp",

0 commit comments

Comments
 (0)