Skip to content

Commit c37f37b

Browse files
committed
Update m_start_up.fpp
1 parent 3668f05 commit c37f37b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/post_process/m_start_up.fpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,21 @@ contains
419419

420420
end if
421421

422+
! Adding the individual energies to the formatted database file --------
423+
if (model_eqns == 3 .and. cons_vars_wrt) then
424+
do i = 1, num_fluids
425+
426+
q_sf = q_cons_vf(i + intxb - 1)%sf(-offset_x%beg:m + offset_x%end, &
427+
-offset_y%beg:n + offset_y%end, &
428+
-offset_z%beg:p + offset_z%end)
429+
430+
write (varname, '(A,I0)') 'alpha_rho_e', i
431+
call s_write_variable_to_formatted_database_file(varname, t_step)
432+
433+
varname(:) = ' '
434+
end do
435+
end if
436+
422437
!Adding Energy cascade FFT
423438
if (fft_wrt) then
424439

0 commit comments

Comments
 (0)