IMEX_SfloW2D  0.9
Shallowwatergranularflowmodel
Functions/Subroutines | Variables
init_2d Module Reference

Initial solution. More...

Functions/Subroutines

subroutine riemann_problem
 Riemann problem initialization. More...
 
subroutine initial_conditions
 Problem initialization. More...
 
subroutine init_source
 Source initialization. More...
 
real *8 function thickness_function (x, y, Bj)
 Thickness function. More...
 
real *8 function velocity_u_function (x, y)
 Velocity u function. More...
 
real *8 function velocity_v_function (x, y)
 Velocity v function. More...
 
real *8 function sediment_function (x, y)
 Sediment function. More...
 
real *8 function temperature_function (x, y)
 Temperature function. More...
 

Variables

real *8, dimension(:,:,:), allocatable q_init
 
real *8, dimension(:,:), allocatable thickness_init
 
real *8 riemann_interface
 Riemann problem interface relative position. It is a value between 0 and 1. More...
 
real *8 hb_w
 Left height. More...
 
real *8 u_w
 Left velocity x. More...
 
real *8 v_w
 Left velocity y. More...
 
real *8 xs_w
 Left sediment concentration. More...
 
real *8 t_w
 Left temperature. More...
 
real *8 hb_e
 Right height. More...
 
real *8 u_e
 Right velocity x. More...
 
real *8 v_e
 Right velocity y. More...
 
real *8 xs_e
 Right sediment concentration. More...
 
real *8 t_e
 Right temperature. More...
 

Detailed Description

Initial solution.

This module contains the variables and the subroutine for the initialization of the solution for a Riemann problem.

Function/Subroutine Documentation

subroutine init_2d::init_source ( )

Source initialization.

This subroutine initialize the source terms.

Date
25/04/2017

Definition at line 288 of file init_2d.f90.

Here is the caller graph for this function:

subroutine init_2d::initial_conditions ( )

Problem initialization.

This subroutine initialize the solution for a a generic problem. The values are read from thickness and velocity functions

Date
OCTOBER 2016

Definition at line 193 of file init_2d.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine init_2d::riemann_problem ( )

Riemann problem initialization.

This subroutine initialize the solution for a Riemann problem. The values for the left and right states and the interface location are read from the input file.\

Date
26/08/2011

Definition at line 50 of file init_2d.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

real*8 function init_2d::sediment_function ( real*8, intent(in)  x,
real*8, intent(in)  y 
)

Sediment function.

This subroutine defines the sediment concentration in the pile and outside as a function of the input (x,y) grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)
yoriginal grid (input)

Definition at line 614 of file init_2d.f90.

Here is the caller graph for this function:

real*8 function init_2d::temperature_function ( real*8, intent(in)  x,
real*8, intent(in)  y 
)

Temperature function.

This subroutine defines the temperature in the pile and outside as a function of the input (x,y) grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)
yoriginal grid (input)

Definition at line 652 of file init_2d.f90.

Here is the caller graph for this function:

real*8 function init_2d::thickness_function ( real*8, intent(in)  x,
real*8, intent(in)  y,
real*8, intent(in)  Bj 
)

Thickness function.

This subroutine defines thickness height hB=h+B in the input (x,y) grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)
yoriginal grid (input)
Bjoriginal grid (input)

Definition at line 376 of file init_2d.f90.

Here is the caller graph for this function:

real*8 function init_2d::velocity_u_function ( real*8, intent(in)  x,
real*8, intent(in)  y 
)

Velocity u function.

This subroutine defines x component of the velocity in the input (x,y) grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)
yoriginal grid (input)

Definition at line 422 of file init_2d.f90.

Here is the caller graph for this function:

real*8 function init_2d::velocity_v_function ( real*8, intent(in)  x,
real*8, intent(in)  y 
)

Velocity v function.

This subroutine defines y component of the velocity in the input (x,y) grid point

Date
OCTOBER 2016
Parameters
xoriginal grid (input)
yoriginal grid (input)

Definition at line 526 of file init_2d.f90.

Here is the caller graph for this function:

Variable Documentation

real*8 init_2d::hb_e

Right height.

Definition at line 30 of file init_2d.f90.

real*8 init_2d::hb_w

Left height.

Definition at line 24 of file init_2d.f90.

real*8, dimension(:,:,:), allocatable init_2d::q_init

Definition at line 15 of file init_2d.f90.

real*8 init_2d::riemann_interface

Riemann problem interface relative position. It is a value between 0 and 1.

Definition at line 21 of file init_2d.f90.

real*8 init_2d::t_e

Right temperature.

Definition at line 34 of file init_2d.f90.

real*8 init_2d::t_w

Left temperature.

Definition at line 28 of file init_2d.f90.

real*8, dimension(:,:), allocatable init_2d::thickness_init

Definition at line 17 of file init_2d.f90.

real*8 init_2d::u_e

Right velocity x.

Definition at line 31 of file init_2d.f90.

real*8 init_2d::u_w

Left velocity x.

Definition at line 25 of file init_2d.f90.

real*8 init_2d::v_e

Right velocity y.

Definition at line 32 of file init_2d.f90.

real*8 init_2d::v_w

Left velocity y.

Definition at line 26 of file init_2d.f90.

real*8 init_2d::xs_e

Right sediment concentration.

Definition at line 33 of file init_2d.f90.

real*8 init_2d::xs_w

Left sediment concentration.

Definition at line 27 of file init_2d.f90.