IMEXSfloW  1.0
templategithubproject
 All Classes Files Functions Variables Pages
Data Types | Public Attributes | List of all members
parameters Module Reference

Parameters. More...

Collaboration diagram for parameters:
Collaboration graph
[legend]

Data Types

type  bc
 

Public Attributes

real *8 eps_newton
 threshold for the convergence of the Newton's method More...
 
real *8 max_dt
 Largest time step allowed. More...
 
real *8 cfl
 Courant-Friedrichs-Lewy parameter. More...
 
real *8 eps_sing
 parameter for desingularization More...
 
real *8 reconstr_coeff
 Slope coefficient in the linear reconstruction. More...
 
integer reconstr_variables
 Parameter for the choice of the variables to reconstruct at the interface: More...
 
logical interfaces_relaxation
 Flag to add the relaxation terms after the linear reconstruction:
. More...
 
logical batimetry_function_flag
 Flag to choose in which way we upload the batimetry. More...
 
logical riemann_flag
 Flag to choose the sort of problem to solve. More...
 
integer, parameter n_vars = 2
 Number of conservative variables. More...
 
integer, parameter n_eqns = n_vars
 Number of equations. More...
 
integer n_nh
 Number of non-hyperbolic terms. More...
 
integer n_rk
 Runge-Kutta order. More...
 
integer, parameter max_nl_iter = 100
 
real *8, parameter tol_abs = 1.D-5
 
real *8, parameter tol_rel = 1.D-5
 
integer, dimension(n_varslimiter
 Limiter for the slope in the linear reconstruction:
. More...
 
character(len=20) solver_scheme
 Finite volume method:
. More...
 
real *8 theta
 Van Leer limiter parameter. More...
 
real *8 t_start
 initial time for the run More...
 
real *8 t_end
 end time for the run More...
 
real *8 t_output
 time of the next output More...
 
real *8 dt_output
 time interval for the output of the solution More...
 
integer verbose_level
 
type(bc), dimension(n_varsbcl
 blL&flag defines the left boundary condition:
More...
 
type(bc), dimension(n_varsbcr
 blR&flag defines the right boundary condition:
More...
 

Detailed Description

Parameters.

This module contains the parameters for numerical solution of the model.

Definition at line 7 of file parameters.f90.

Member Data Documentation

logical parameters::batimetry_function_flag

Flag to choose in which way we upload the batimetry.

  • T => through a function
  • F => through points

Definition at line 37 of file parameters.f90.

type(bc), dimension(n_vars) parameters::bcl

blL&flag defines the left boundary condition:

  • bcLflag = 0 => Dirichlet boundary condition;
  • bcLflag = 1 => Neumann boundary condition.

bcLvalue is the value of the left boundary condition:

  • value of the variable for Dirichlet boundary condition (bcLflag=0);
  • gradient of the variable for Neumann boundary condition (bcLflag=1).

Definition at line 95 of file parameters.f90.

type(bc), dimension(n_vars) parameters::bcr

blR&flag defines the right boundary condition:

  • bcRflag = 0 => Dirichlet boundary condition;
  • bcRflag = 1 => Neumann boundary condition.

bcRvalue is the value of the right boundary condition:

  • value of the variable for Dirichlet boundary condition (bcRflag=0);
  • gradient of the variable for Neumann boundary condition (bcRflag=1).

Definition at line 105 of file parameters.f90.

real*8 parameters::cfl

Courant-Friedrichs-Lewy parameter.

Definition at line 14 of file parameters.f90.

real*8 parameters::dt_output

time interval for the output of the solution

Definition at line 76 of file parameters.f90.

real*8 parameters::eps_newton

threshold for the convergence of the Newton's method

Definition at line 11 of file parameters.f90.

real*8 parameters::eps_sing

parameter for desingularization

Definition at line 16 of file parameters.f90.

logical parameters::interfaces_relaxation

Flag to add the relaxation terms after the linear reconstruction:
.

  • T => evaluate the relaxation terms
  • F => reconstruction without the relaxation

Definition at line 31 of file parameters.f90.

integer, dimension(n_vars) parameters::limiter

Limiter for the slope in the linear reconstruction:
.

  • 'none' => no limiter (constant value);
  • 'minmod' => minmod sloe;
  • 'superbee' => superbee limiter (Roe, 1985);
  • 'van_leer' => monotonized central-difference limiter (van Leer, 1977)

Definition at line 63 of file parameters.f90.

real*8 parameters::max_dt

Largest time step allowed.

Definition at line 13 of file parameters.f90.

integer, parameter parameters::max_nl_iter = 100

Definition at line 52 of file parameters.f90.

integer, parameter parameters::n_eqns = n_vars

Number of equations.

Definition at line 46 of file parameters.f90.

integer parameters::n_nh

Number of non-hyperbolic terms.

Definition at line 48 of file parameters.f90.

integer parameters::n_rk

Runge-Kutta order.

Definition at line 50 of file parameters.f90.

integer, parameter parameters::n_vars = 2

Number of conservative variables.

Definition at line 45 of file parameters.f90.

real*8 parameters::reconstr_coeff

Slope coefficient in the linear reconstruction.

Definition at line 18 of file parameters.f90.

integer parameters::reconstr_variables

Parameter for the choice of the variables to reconstruct at the interface:

  • 0 => conservative variables ( h+B , h*u ), default
  • 1 => physical variables 1 ( h+B , u )
  • 2 => physical variables 2 ( h , u )

Definition at line 25 of file parameters.f90.

logical parameters::riemann_flag

Flag to choose the sort of problem to solve.

  • T => riemann problem
  • F => generic initial conditions (uploaded through functions, to be defined in inpout_2d.f90)

Definition at line 43 of file parameters.f90.

character(len=20) parameters::solver_scheme

Finite volume method:
.

  • 'LxF' => lax-friedrichs scheme;
  • 'GFORCE ' => gforce scheme;
  • 'KT' => Kurganov and Tadmor semidiscrete scheme;

Definition at line 70 of file parameters.f90.

real*8 parameters::t_end

end time for the run

Definition at line 74 of file parameters.f90.

real*8 parameters::t_output

time of the next output

Definition at line 75 of file parameters.f90.

real*8 parameters::t_start

initial time for the run

Definition at line 73 of file parameters.f90.

real*8 parameters::theta

Van Leer limiter parameter.

Definition at line 72 of file parameters.f90.

real*8, parameter parameters::tol_abs = 1.D-5

Definition at line 54 of file parameters.f90.

real*8, parameter parameters::tol_rel = 1.D-5

Definition at line 55 of file parameters.f90.

integer parameters::verbose_level

Definition at line 78 of file parameters.f90.


The documentation for this module was generated from the following file: