MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

File input and output. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public inout::input ()
 Reads input file. More...
 
subroutine, public inout::output (iprof, time, ystate, neq, pp)
 Saves results to file. More...
 
subroutine, public inout::print_header
 Prints header to console. More...
 

Detailed Description

File input and output.

Author
Michal Vonka
Pavel Ferkl

Inputs are loaded from JSON file, pressure profiles are saved in text files.

Definition in file InOut.f90.

Function/Subroutine Documentation

◆ input()

◆ output()

subroutine, public inout::output ( integer, intent(in)  iprof,
real(dp), intent(in)  time,
real(dp), dimension(:), intent(in)  ystate,
integer, intent(in)  neq,
real(dp), dimension(:), intent(out)  pp 
)

Saves results to file.

Saves partial pressure profiles in whole foam and in gas phase only.

Parameters
[in]timetime
[in]iprofnumber time step
[in]neqnumber of equations
[in]ystateintegrated variables
[out]pppartial pressure

Definition at line 303 of file InOut.f90.

References globals::dz, globals::ngas, and globals::temp.

◆ print_header()

subroutine, public inout::print_header ( )