Skip to content

Commit 9306592

Browse files
committed
Merge master into hypo_hlld (resolve muscl_eps f_is_default)
2 parents 063121f + d513442 commit 9306592

21 files changed

Lines changed: 128 additions & 18 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
continue-on-error: true
150150

151151
github:
152-
name: ${{ matrix.nvhpc && format('NVHPC {0} ({1})', matrix.nvhpc, matrix.target) || format('Github ({0}, {1}, {2}, intel={3})', matrix.os, matrix.mpi, matrix.debug, matrix.intel) }}
152+
name: ${{ matrix.nvhpc && format('NVHPC {0} ({1})', matrix.nvhpc, matrix.target) || format('Github ({0}, {1}, {2}, {3})', matrix.os, matrix.mpi, matrix.debug, matrix.intel && 'intel' || 'GNU') }}
153153
needs: [lint-gate, file-changes, rebuild-cache]
154154
if: >-
155155
!cancelled() &&

docs/documentation/visualization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Post-processed data in Silo-HDF5 format (`format=1`) can be opened directly in P
205205
Paraview 5.11.0 has been confirmed to work with the MFC databases for some parallel environments.
206206
Nevertheless, the installation and configuration of Paraview can be environment-dependent and are left to the user.
207207

208-
The user can launch Paraview and open the index files under `/silo_hdf5/root`.
208+
The user can launch Paraview and open the series file `/silo_hdf5/collection.silo.series`.
209209
Once the database is loaded, flow field variables contained in the database can be added to the render view.
210210
Further information on Paraview can be found in its [documentation](https://docs.paraview.org/en/latest/).
211211
The figure below shows the iso-contour of the liquid void fraction (`alpha1`) in the database generated by the example case `3D_sphbubcollapse`.

docs/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
{ name: "Mach 0.3 flow over a corgi (2M STL)", image: "res/simulations/u.png", computer: "HiPerGator", computerUrl: "https://www.rc.ufl.edu/about/hipergator/", accelerators: "2 GPUs", walltime: "80s", source: "https://www.youtube.com/watch?v=O8dSRqHLp_o" },
5959
// Shock-droplet
6060
{ name: "Shedding water droplet", image: "res/simulations/a.png", computer: "Summit", computerUrl: "https://www.olcf.ornl.gov/summit/", accelerators: "960 V100s", walltime: "4h", source: "https://www.youtube.com/watch?v=Gjj-qZkXcrg" },
61+
{ name: "1K resolved particles", image: "res/simulations/x.jpg", computer: "Phoenix", computerUrl: "https://www.pace.gatech.edu/", accelerators: "4 A100s", walltime: "~1.5h", source: "https://www.youtube.com/watch?v=ufisHG0KkOU" },
6162
// Biomedical & acoustics
6263
{ name: "Burstwave lithotripsy", image: "res/simulations/k.png", computer: "Delta", computerUrl: "https://www.ncsa.illinois.edu/research/project-highlights/delta/", accelerators: "128 A100s", walltime: "30m", source: "https://www.youtube.com/watch?v=XWsUTaJXGF8" },
6364
{ name: "Cavitation fragments kidney stone", image: "res/simulations/d.png", computer: "Summit", computerUrl: "https://www.olcf.ornl.gov/summit/", accelerators: "576 V100s", walltime: "30m", source: "https://doi.org/10.48550/arXiv.2305.09163" },
@@ -74,6 +75,7 @@
7475
{ name: "Breakup of vibrated interface", image: "res/simulations/f.png", computer: "Summit", computerUrl: "https://www.olcf.ornl.gov/summit/", accelerators: "128 V100s", walltime: "4h", source: "https://www.youtube.com/watch?v=XQ3g1oSg8mc" },
7576
{ name: "Viscous Taylor-Green vortex", image: "res/simulations/h.png", computer: "Delta", computerUrl: "https://www.ncsa.illinois.edu/research/project-highlights/delta/", accelerators: "128 A100s", walltime: "17h", source: "https://www.youtube.com/watch?v=7i2h08dlDQw" },
7677
{ name: "Mach 1.5 shock-helium bubble", image: "res/simulations/t.png", computer: "Phoenix", computerUrl: "https://www.pace.gatech.edu/", accelerators: "1 A100", walltime: "1h", source: "https://www.youtube.com/watch?v=zDJoe0NYZsQ" },
78+
{ name: "Sphere collision and wall rebound", image: "res/simulations/w.jpg", computer: "Phoenix", computerUrl: "https://www.pace.gatech.edu/", accelerators: "4 A100s", walltime: "~2h", source: "https://www.youtube.com/watch?v=5ugLuDtV0C0" },
7779
];
7880

7981
const scalings = [

docs/res/simulations/w.jpg

20.3 KB
Loading

docs/res/simulations/x.jpg

78.6 KB
Loading

src/post_process/m_data_input.f90

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,17 @@ impure subroutine s_read_serial_data_files(t_step)
211211
call s_assign_default_bc_type(bc_type)
212212
end if
213213

214-
call s_read_grid_data_direction(t_step_dir, 'x', x_cb, dx, x_cc, m)
214+
! Pass explicit slices so the dummy `dimension(-1:)` / `dimension(0:)` arguments map to the correct interior indices of the
215+
! actual arrays. Without slicing, when offset_x%beg or buff_size > 0 (i.e. format=1 parallel 3D ranks), Fortran's
216+
! assumed-shape re-mapping shifts the read by that many slots and leaves the last interior cells uninitialized - corrupting
217+
! downstream ghost-cell extrapolation.
218+
call s_read_grid_data_direction(t_step_dir, 'x', x_cb(-1:m), dx(0:m), x_cc(0:m), m)
215219

216220
if (n > 0) then
217-
call s_read_grid_data_direction(t_step_dir, 'y', y_cb, dy, y_cc, n)
221+
call s_read_grid_data_direction(t_step_dir, 'y', y_cb(-1:n), dy(0:n), y_cc(0:n), n)
218222

219223
if (p > 0) then
220-
call s_read_grid_data_direction(t_step_dir, 'z', z_cb, dz, z_cc, p)
224+
call s_read_grid_data_direction(t_step_dir, 'z', z_cb(-1:p), dz(0:p), z_cc(0:p), p)
221225
end if
222226
end if
223227

src/simulation/m_bubbles.fpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
#:include 'macros.fpp'
66

7-
!> @brief Shared bubble-dynamics procedures (radial acceleration, wall pressure, sound speed) for ensemble- and volume-averaged
8-
!! models
7+
!> @brief Bubble-dynamics procedures for ensemble- and volume-averaged models
98
module m_bubbles
109

1110
use m_derived_types

src/simulation/m_global_parameters.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ contains
883883
#:endif
884884
885885
! muscl_eps: use per-limiter defaults when user did not set it
886-
if (muscl_eps == dflt_real) then
886+
if (f_is_default(muscl_eps)) then
887887
if (muscl_lim <= 2) then
888888
muscl_eps = 1e-9_wp ! minmod, MC
889889
else

src/simulation/m_pressure_relaxation.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ contains
217217
type(scalar_field), dimension(sys_size), intent(inout) :: q_cons_vf
218218
integer, intent(in) :: j, k, l
219219
#:if not MFC_CASE_OPTIMIZATION and USING_AMD
220-
real(wp), dimension(2) :: alpha_rho, alpha
220+
real(wp), dimension(3) :: alpha_rho, alpha
221221
#:else
222222
real(wp), dimension(num_fluids) :: alpha_rho, alpha
223223
#:endif

src/simulation/m_rhs.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module m_rhs
6868
$:GPU_DECLARE(create='[tau_Re_vf]')
6969

7070
!> @name The cell-boundary values of the fluxes (src - source, gsrc - geometrical source). These are computed by applying the
71-
!! chosen Riemann problem solver .on the left and right cell-boundary values of the primitive variables
71+
!! chosen Riemann problem solver on the left and right cell-boundary values of the primitive variables
7272
!> @{
7373
type(vector_field), allocatable, dimension(:) :: flux_n
7474
type(vector_field), allocatable, dimension(:) :: flux_src_n

0 commit comments

Comments
 (0)