Skip to content

Commit e1dbde8

Browse files
authored
Add base state to mesh adaptation in moreno-boza_etal_2018 example (#29)
1 parent c76859c commit e1dbde8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/moreno-boza_etal_2018/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ff-mpirun -np $nproc basecompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_ad
8282
3. Compute the leading direct and adjoint eigenmodes of the methanol base flow. Adapt the mesh to these modes, then recompute it and the global eigenvalue spectrum on the adapted mesh. With the eigenvalue convention used by `modecompute.md`, the leading mode has angular frequency approximately $\omega \approx 0.0112$ and $\omega \approx 0.0119$ for the adiabatic and isothermal cases, respectively. In the scaling of Moreno-Boza et al. (2018), these both correspond to $St = \omega/\pi \approx 3.4 \times 10^{-3}$, in agreement with their Fig 2(a).
8383
```sh
8484
ff-mpirun -np $nproc modecompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_Ra20000.base -fo methanol_"$wallBC"_Ra20000 -eps_target 0.01+0.01i -eps_nev 1 -pv 1 -eps_two_sided 1 -strict 1
85-
ff-mpirun -np $nproc meshcompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_Ra20000.mode -fi2 methanol_"$wallBC"_Ra20000adj.mode -anisomax 2 -hmax 1.0 -mo methanol_"$wallBC"_Re20000_adapt
85+
ff-mpirun -np $nproc meshcompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_Ra20000.base -fi2 methanol_"$wallBC"_Ra20000.mode -fi3 methanol_"$wallBC"_Ra20000adj.mode -anisomax 2 -hmax 1.0 -mo methanol_"$wallBC"_Re20000_adapt
8686
ff-mpirun -np $nproc basecompute.md -v 0 -dir $workdir -mi methanol_"$wallBC"_Re20000_adapt.msh -fi methanol_"$wallBC"_Ra20000.base -fo methanol_"$wallBC"_Ra20000_adapt -pv 1 -snes_linesearch_type l2
8787
ff-mpirun -np $nproc modecompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_Ra20000_adapt.base -fo methanol_"$wallBC"_Ra20000_adapt -eps_target 0.01+0.01i -eps_nev 1 -pv 1 -eps_two_sided 1 -strict 1
8888
ff-mpirun -np $nproc modecompute.md -v 0 -dir $workdir -fi methanol_"$wallBC"_Ra20000_adapt.base -so methanol_"$wallBC"_Ra20000_adapt -eps_target 0.01+0.01i -targetf 0.01+0.1i -ntarget 10 -eps_nev 10 -pv 1

0 commit comments

Comments
 (0)