solver Module

Setup, run, and destroy the solver allocate/deallcoate memory, initialize, iterate


Uses

  • module~~solver~~UsesGraph module~solver solver module~state state module~solver->module~state module~read read module~solver->module~read module~scheme scheme module~solver->module~scheme module~layout layout module~solver->module~layout module~wall_dist wall_dist module~solver->module~wall_dist mpi mpi module~solver->mpi module~resnorm resnorm module~solver->module~resnorm module~geometry geometry module~solver->module~geometry module~viscosity viscosity module~solver->module~viscosity module~update update module~solver->module~update module~wall wall module~solver->module~wall module~gradients gradients module~solver->module~gradients module~interface1 interface1 module~solver->module~interface1 module~cc CC module~solver->module~cc module~bc bc module~solver->module~bc module~vartypes vartypes module~solver->module~vartypes module~viscous viscous module~solver->module~viscous module~time time module~solver->module~time module~dump_solution dump_solution module~solver->module~dump_solution module~grid grid module~solver->module~grid module~state->module~vartypes module~check_output_control check_output_control module~state->module~check_output_control module~utils utils module~state->module~utils module~read_output read_output module~state->module~read_output module~read->module~vartypes module~scheme->module~vartypes module~ausmup ausmUP module~scheme->module~ausmup module~van_leer van_leer module~scheme->module~van_leer module~scheme->module~utils module~slau slau module~scheme->module~slau module~ausmp ausmP module~scheme->module~ausmp module~ausm ausm module~scheme->module~ausm module~face_interpolant face_interpolant module~scheme->module~face_interpolant module~ldfss0 ldfss0 module~scheme->module~ldfss0 module~layout->mpi module~layout->module~vartypes module~wall_dist->module~vartypes module~wall_dist->module~utils module~resnorm->mpi module~resnorm->module~vartypes module~resnorm->module~utils module~geometry->module~vartypes module~geometry->module~utils module~viscosity->module~wall_dist module~viscosity->module~gradients module~viscosity->module~vartypes module~global_kkl global_kkl module~viscosity->module~global_kkl module~viscosity->module~utils module~copy_bc copy_bc module~viscosity->module~copy_bc module~global_sa global_sa module~viscosity->module~global_sa module~global_sst global_sst module~viscosity->module~global_sst module~update->module~scheme module~update->module~wall_dist module~update->module~viscosity module~update->module~gradients module~update->module~interface1 module~update->module~vartypes module~update->module~viscous module~update->module~time module~update->module~global_kkl module~bc_primitive bc_primitive module~update->module~bc_primitive module~source source module~update->module~source module~update->module~utils module~update->module~global_sa module~plusgs plusgs module~update->module~plusgs module~update->module~global_sst module~boundary_state_reconstruction boundary_state_reconstruction module~update->module~boundary_state_reconstruction module~lusgs lusgs module~update->module~lusgs module~update->module~face_interpolant module~wall->mpi module~wall->module~vartypes module~wall->module~utils module~gradients->module~vartypes module~gradients->module~utils module~interface1->mpi module~interface1->module~vartypes module~mapping mapping module~interface1->module~mapping module~interface1->module~utils module~cc->module~wall_dist module~cc->module~vartypes module~cc->module~utils module~bc->module~vartypes module~bc->module~utils module~read_bc read_bc module~bc->module~read_bc iso_fortran_env iso_fortran_env module~vartypes->iso_fortran_env module~viscous->module~viscosity module~viscous->module~gradients module~viscous->module~vartypes module~viscous->module~global_kkl module~viscous->module~utils module~viscous->module~global_sa module~viscous->module~global_sst module~time->module~read module~time->mpi module~time->module~viscosity module~time->module~vartypes module~time->module~utils module~time->module~face_interpolant module~dump_solution->module~layout module~dump_solution->module~vartypes module~write_output write_output module~dump_solution->module~write_output module~dump_solution->module~utils module~grid->mpi module~grid->module~vartypes module~grid->module~mapping

Used by

  • module~~solver~~UsedByGraph module~solver solver program~main main program~main->module~solver

Contents


Variables

TypeVisibility AttributesNameInitial
type(extent), private :: dims

Extent of the domain:imx,jmx,kmx

type(nodetype), private, dimension(:,:,:), allocatable:: nodes

Grid points

type(celltype), private, dimension(:,:,:), allocatable:: cells

Cell center quantities: volume, cellCenter

type(facetype), private, dimension(:,:,:), allocatable:: Ifaces

Face quantities: area and unit normal

type(facetype), private, dimension(:,:,:), allocatable:: Jfaces

Face quantities: area and unit normal

type(facetype), private, dimension(:,:,:), allocatable:: Kfaces

Face quantities: area and unit normal

type(controltype), public :: control

Control parameters

type(schemetype), public :: schemes

finite-volume Schemes

type(flowtype), private :: flow

Information about fluid flow: freestream-speed, ref-viscosity,etc.

type(filetype), private :: files

Files' name and handler

type(boundarytype), private :: boundary

boundary conditions and fixed values

real(kind=wp), private, dimension(:, :, :, :), allocatable:: qp

Store primitive variable at cell center

real(kind=wp), private, dimension(:, :, : ), allocatable:: Temp

Store Temperature variable at cell center

real(kind=wp), public, dimension(:, :, :, :), allocatable, target:: F

Store fluxes throught the I faces

real(kind=wp), public, dimension(:, :, :, :), allocatable, target:: G

Store fluxes throught the J faces

real(kind=wp), public, dimension(:, :, :, :), allocatable, target:: H

Store fluxes throught the K faces

real(kind=wp), public, dimension(:, :, :, :), allocatable, target:: residue

Store residue at each cell-center

real(kind=wp), private, dimension(:, :, :), allocatable:: delta_t

Local time increment value at each cell center


Subroutines

public subroutine abort_run()

Aborting the solver

Arguments

None

public subroutine finish_run()

Finishing the solution computation

Arguments

None

public subroutine start_run()

Starting the solver setup

Arguments

None

public subroutine setup_solver()

Call to allocate memoery and initialize domain

Arguments

None

public subroutine destroy_solver()

Call to different modules to deallocate memory

Arguments

None

private subroutine initmisc()

Initilize miscellaneous variables

Arguments

None

public subroutine iterate_one_more_time_step()

Perform one time step iteration

Arguments

None