MFC: Pre-Process
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_grid.f90 File Reference

Contains module m_grid. More...

Data Types

interface  m_grid::s_generate_abstract_grid
 

Modules

module  m_grid
 This module takes care of creating the rectilinear grid on which the data for the initial condition will be laid out and on which the simulation will eventually be computed. The grid may either be uniform or non-uniform. Non-uniform grids are generated using the hyperbolic tangent function, see Johnsen (2007) for details. Alternatively to synthesizing a new grid, the user may select to read in a preexisting one. This is carried out through the module m_start_up.f90. In such a case, the responsibility of this module becomes only to allocate/deallocate the necessary grid variables for the cell-centers and cell-boundaries locations.
 

Functions/Subroutines

subroutine, public m_grid::s_generate_serial_grid ()
 The following subroutine generates either a uniform or non-uniform rectilinear grid in serial, defined by the parameters inputted by the user. The grid information is stored in the grid variables containing coordinates of the cell- centers and cell-boundaries.
 
subroutine, public m_grid::s_generate_parallel_grid ()
 The following subroutine generates either a uniform or non-uniform rectilinear grid in parallel, defined by the parameters inputted by the user. The grid information is stored in the grid variables containing coordinates of the cell- centers and cell-boundaries.
 
subroutine, public m_grid::s_initialize_grid_module ()
 Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
 
subroutine, public m_grid::s_finalize_grid_module ()
 Deallocation procedures for the module.
 

Variables

procedure(s_generate_abstract_grid), pointer, public m_grid::s_generate_grid => null()
 

Detailed Description

Contains module m_grid.