Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions src/post_process/m_data_output.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -727,8 +727,8 @@ contains

if (p > 0) then
err = DBMKOPTLIST(2, optlist)
err = DBADDIOPT(optlist, DBOPT_LO_OFFSET, lo_offset)
err = DBADDIOPT(optlist, DBOPT_HI_OFFSET, hi_offset)
err = DBADDIAOPT(optlist, DBOPT_LO_OFFSET, 3, lo_offset)
err = DBADDIAOPT(optlist, DBOPT_HI_OFFSET, 3, hi_offset)
if (grid_geometry == 3) then
err = DBPUTQM(dbfile, 'rectilinear_grid', 16, &
'x', 1, 'y', 1, 'z', 1, &
Expand All @@ -745,8 +745,8 @@ contains
err = DBFREEOPTLIST(optlist)
elseif (n > 0) then
err = DBMKOPTLIST(2, optlist)
err = DBADDIOPT(optlist, DBOPT_LO_OFFSET, lo_offset)
err = DBADDIOPT(optlist, DBOPT_HI_OFFSET, hi_offset)
err = DBADDIAOPT(optlist, DBOPT_LO_OFFSET, 2, lo_offset)
err = DBADDIAOPT(optlist, DBOPT_HI_OFFSET, 2, hi_offset)
err = DBPUTQM(dbfile, 'rectilinear_grid', 16, &
'x', 1, 'y', 1, 'z', 1, &
x_cb, y_cb, DB_F77NULL, dims, 2, &
Expand All @@ -755,7 +755,7 @@ contains
err = DBFREEOPTLIST(optlist)
else
err = DBMKOPTLIST(2, optlist)
err = DBADDIOPT(optlist, DBOPT_LO_OFFSET, lo_offset)
err = DBADDIAOPT(optlist, DBOPT_LO_OFFSET, 1, lo_offset)
err = DBADDIOPT(optlist, DBOPT_HI_OFFSET, hi_offset)
err = DBPUTQM(dbfile, 'rectilinear_grid', 16, &
'x', 1, 'y', 1, 'z', 1, &
Expand Down
292 changes: 184 additions & 108 deletions src/simulation/m_data_output.fpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/simulation/m_derived_variables.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ contains

call s_derive_center_of_mass(q_prim_ts2(2)%vf, c_mass)

call s_write_probe_files(t_step, q_cons_ts(1)%vf, accel_mag)
call s_write_probe_files(t_step, q_cons_ts(1)%vf)

call s_write_com_files(t_step, c_mass)
end if
Expand Down
6 changes: 3 additions & 3 deletions src/simulation/m_start_up.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,9 @@ contains
dyn_pres, pi_inf, gamma, rho, qv, rhoYks, pres, T, pres_mag=pres_mag)

do i = 1, num_fluids
v_vf(i + intxb - 1)%sf(j, k, l) = v_vf(i + advxb - 1)%sf(j, k, l)*(gammas(i)*pres + pi_infs(i)) &
+ v_vf(i + contxb - 1)%sf(j, k, l)*qvs(i)
v_vf(i + internalEnergies_idx%beg - 1)%sf(j, k, l) = v_vf(i + adv_idx%beg - 1)%sf(j, k, l)* &
(fluid_pp(i)%gamma*pres + fluid_pp(i)%pi_inf) &
+ v_vf(i + cont_idx%beg - 1)%sf(j, k, l)*fluid_pp(i)%qv
end do

end do
Expand Down Expand Up @@ -1136,7 +1137,6 @@ contains
if (relax) call s_infinite_relaxation_k(q_cons_ts(1)%vf)

! Time-stepping loop controls

t_step = t_step + 1

end subroutine s_perform_time_step
Expand Down
7 changes: 6 additions & 1 deletion src/simulation/m_time_steppers.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,11 @@ contains
end if
end if

! Mark bubble probes as ready after second ICFL calculation
if (t_step == t_step_start + 1 .and. bubbles_euler) then
call s_mark_bubble_probe_ready()
end if

if (probe_wrt) then
call s_time_step_cycling(t_step)
end if
Expand Down Expand Up @@ -709,9 +714,9 @@ contains
real(wp), dimension(num_fluids) :: alpha !< Cell-avg. volume fraction
real(wp) :: gamma !< Cell-avg. sp. heat ratio
real(wp) :: pi_inf !< Cell-avg. liquid stiffness function
real(wp) :: qv !< Cell-avg. fluid reference energy
real(wp) :: c !< Cell-avg. sound speed
real(wp) :: H !< Cell-avg. enthalpy
real(wp) :: qv !< Cell-avg. reference energy
real(wp), dimension(2) :: Re !< Cell-avg. Reynolds numbers
type(vector_field) :: gm_alpha_qp

Expand Down
106 changes: 38 additions & 68 deletions tests/0045D9F8/golden-metadata.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions tests/0045D9F8/golden.txt

Large diffs are not rendered by default.

Loading
Loading