cmp_mesh2D_init_m Module


Uses

  • module~~cmp_mesh2d_init_m~~UsesGraph module~cmp_mesh2d_init_m cmp_mesh2D_init_m hdf5 hdf5 module~cmp_mesh2d_init_m->hdf5 module~krn_interface_m krn_interface_m module~cmp_mesh2d_init_m->module~krn_interface_m module~krn_simulation_m krn_simulation_m module~cmp_mesh2d_init_m->module~krn_simulation_m module~lib_input_m lib_input_m module~cmp_mesh2d_init_m->module~lib_input_m module~lib_material_m lib_material_m module~cmp_mesh2d_init_m->module~lib_material_m module~krn_global_tools_m krn_global_tools_m module~krn_interface_m->module~krn_global_tools_m module~mkl_pardiso mkl_pardiso module~krn_interface_m->module~mkl_pardiso module~krn_simulation_m->module~lib_input_m fortran_yaml_c fortran_yaml_c module~krn_simulation_m->fortran_yaml_c module~krn_simulation_m->module~krn_global_tools_m module~lib_hdf_write_m lib_hdf_write_m module~krn_simulation_m->module~lib_hdf_write_m module~lib_input_m->hdf5 module~lib_input_m->fortran_yaml_c h5lt h5lt module~lib_input_m->h5lt module~lib_input_m->module~krn_global_tools_m module~lib_material_m->module~lib_input_m module~lib_material_insulation_m lib_material_insulation_m module~lib_material_m->module~lib_material_insulation_m module~lib_material_metal_m lib_material_metal_m module~lib_material_m->module~lib_material_metal_m module~lib_material_nb3sn_m lib_material_nb3sn_m module~lib_material_m->module~lib_material_nb3sn_m module~lib_material_nbti_m lib_material_nbti_m module~lib_material_m->module~lib_material_nbti_m ieee_arithmetic ieee_arithmetic module~krn_global_tools_m->ieee_arithmetic iso_c_binding iso_c_binding module~krn_global_tools_m->iso_c_binding iso_fortran_env iso_fortran_env module~krn_global_tools_m->iso_fortran_env module~lib_hdf_write_m->hdf5 module~lib_hdf_write_m->module~lib_input_m module~lib_hdf_write_m->h5lt module~lib_hdf_write_m->module~krn_global_tools_m h5ds h5ds module~lib_hdf_write_m->h5ds module~lib_hdf_write_m->iso_c_binding module~lib_material_insulation_m->module~lib_input_m module~lib_material_insulation_m->module~krn_global_tools_m module~lib_material_insulation_m->iso_c_binding module~lib_material_metal_m->module~lib_input_m module~lib_material_metal_m->module~krn_global_tools_m module~lib_material_metal_m->iso_c_binding module~lib_material_nb3sn_m->module~lib_input_m module~lib_material_nb3sn_m->module~krn_global_tools_m module~lib_material_nb3sn_m->iso_c_binding module~lib_material_nbti_m->module~lib_input_m module~lib_material_nbti_m->module~krn_global_tools_m module~lib_material_nbti_m->iso_c_binding

Used by

  • module~~cmp_mesh2d_init_m~~UsedByGraph module~cmp_mesh2d_init_m cmp_mesh2D_init_m module~cmp_mesh2d_calc_m cmp_mesh2D_calc_m module~cmp_mesh2d_calc_m->module~cmp_mesh2d_init_m module~cmp_mesh2d_flux_m cmp_mesh2D_flux_m module~cmp_mesh2d_flux_m->module~cmp_mesh2d_init_m module~cmp_mesh2d_hdf5_write_m cmp_mesh2D_hdf5_write_m module~cmp_mesh2d_hdf5_write_m->module~cmp_mesh2d_init_m program~reims_p reims_p program~reims_p->module~cmp_mesh2d_calc_m program~reims_p->module~cmp_mesh2d_flux_m program~reims_p->module~cmp_mesh2d_hdf5_write_m

Derived Types

type, public ::  coord_t

Components

Type Visibility Attributes Name Initial
real(kind=dp), public :: x_coord
real(kind=dp), public :: y_coord

type, public ::  elements_1D_t

Components

Type Visibility Attributes Name Initial
integer, public :: nod(2)
integer, public :: PhysIdx

type, public ::  elements_t

Components

Type Visibility Attributes Name Initial
integer, public :: nod(3)

Node indices defining a given element

integer, public :: Neigh(3)

Neighbor indices of a given element (3rd element = zero if only 2 neighbors)

real(kind=dp), public :: face(3)

Lengths of the 3 faces of the element (consistent with the sorting of neighbors)

real(kind=dp), public :: Delta(3)

Distance normal to the face from the cell center (consistent with the sorting of neighbors)

real(kind=dp), public :: DeltaNeigh(3)

Distance normal to the face from the cell center of the associated neighbor (consistent with the sorting of neighbors)

type(coord_t), public :: norm(3)

Unit outgoing normales at the level of the 3 faces (consistent with the sorting of neighbors)

type(coord_t), public :: NeighCenter(3)

Coordinates of the center of each neighbor cell (consistent with the sorting of neighbors)

type(coord_t), public :: centTOface(3)

Vector from the center of the element to the face center (consistent with the sorting of neighbors)

type(coord_t), public :: centTOfaceN(3)

Vector from the center of the neighbor to the face center (consistent with the sorting of neighbors)

character(len=50), public :: PhysN(3)

Physical group associated to each of the 2 or 3 neighbors (domain) OR 1 boundary (consistent with the sorting of neighbors)

character(len=50), public :: PhysE

Physical group associated to the element (as a domain)

integer, public :: PhysIdxE

Physical group index associated to the element (as a domain)

type(coord_t), public :: center

Coordinates of the center of the cell

integer, public :: NbNeigh

Number of neighbors for a given element

real(kind=dp), public :: surface

Surface of a given element

type, public ::  mesh2D_prop_t

Components

Type Visibility Attributes Name Initial
integer, public :: nb_nodes

Number of nodes

type(coord_t), public, allocatable :: node(:)

Coordinates of nodes

integer, public :: nb_elements

Number of 2D elements

type(elements_t), public, allocatable :: elem(:)

2D element of mesh

integer, public :: nnz

Number of non zeros useful at different locations of init file

integer, public :: Nb_SSports
integer, public :: Nb_FSports
integer, public :: Nb_label
integer, public :: Nb_labelMC
integer, public :: Nb_labelCh
character(len=50), public, allocatable :: LabelName(:)
type(FS_port_pointer_t), public, allocatable :: thermP(:)
type(SS_src_port_pointer_t), public, allocatable :: thermS(:)

type, public ::  StateVariable_mesh2D_t

Components

Type Visibility Attributes Name Initial
real(kind=dp), public, allocatable :: temp(:)

Temperature of composite mesh2D

type, public ::  big_arrays_mesh2D_t

Components

Type Visibility Attributes Name Initial
real(kind=dp), public, allocatable :: bmx(:)

main diagonal subMatrix

real(kind=dp), public, allocatable :: dmx(:,:)

regarding connection with direct 2D neighbors

real(kind=dp), public, pointer :: bvx(:)

type, public ::  arrays_linear_system_mesh2D_t

Components

Type Visibility Attributes Name Initial
type(dbl_pointer_t), public, allocatable :: ValExp(:)

Non zero values in COO format for 1 mesh2D

type(dbl_pointer_t), public, allocatable :: ValImp(:)

Non zero values in COO format for 1 mesh2D

integer, public, allocatable :: RowExp(:)

row index array in COO format for 1 mesh2D

integer, public, allocatable :: RowImp(:)

row index array in COO format for 1 mesh2D

integer, public, allocatable :: ColExp(:)

col index array in COO format for 1 mesh2D

integer, public, allocatable :: ColImp(:)

col index array in COO format for 1 mesh2D

type, public ::  flux_mesh2D_t

Components

Type Visibility Attributes Name Initial
real(kind=dp), public, allocatable :: SomNormQT(:)
real(kind=dp), public, allocatable :: DerSomNormQT(:)
real(kind=dp), public, allocatable :: DerNormQTOth2D(:,:)

type, public ::  lab_prop_t

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: id
character(len=:), public, allocatable :: type
type(signal_t), public :: value
real(kind=dp), public :: SurfaceRegion
real(kind=dp), public :: LengthBC
class(material_t), public, pointer :: mat

type, public ::  labelLk_t

Components

Type Visibility Attributes Name Initial
integer, public :: NbElem
integer, public :: array(100)
character(len=:), public, allocatable :: name

type, public ::  label_t

Components

Type Visibility Attributes Name Initial
type(lab_prop_t), public, allocatable :: regionArr(:)
type(lab_prop_t), public, allocatable :: edgeArr(:)
type(labelLk_t), public, allocatable :: MC_Arr(:)
type(labelLk_t), public, allocatable :: Ch_Arr(:)

type, public ::  mesh2D_t

Components

Type Visibility Attributes Name Initial
type(StateVariable_mesh2D_t), public :: StVar

StateVariable updated by BDF 2 scheme -> time n+1

type(StateVariable_mesh2D_t), public :: StVarOld

StateVariable -> time n

type(StateVariable_mesh2D_t), public :: StVarOld2

StateVariable -> time n-1

type(StateVariable_mesh2D_t), public :: StVarOld3

StateVariable -> time n-2

type(StateVariable_mesh2D_t), public :: StVarOld4

StateVariable -> time n-3

type(StateVariable_mesh2D_t), public :: StVarOld5

StateVariable -> time n-4

type(StateVariable_mesh2D_t), public :: StVarOld6

StateVariable -> time n-5

type(mesh2D_prop_t), public :: M2D_Prop

Variables relative to mesh2D global properties

type(big_arrays_mesh2D_t), public :: big

Big arrays

type(arrays_linear_system_mesh2D_t), public :: bigLS

Big arrays for Linear system

type(flux_mesh2D_t), public :: flxS

Heat diffusion fluxes

character(len=:), public, allocatable :: filename_extless

filename without extension

type(label_t), public :: label
real(kind=dp), public :: err
real(kind=dp), public :: err_den
integer(kind=hid_t), public :: f_id_writing
real(kind=dp), public :: extrusion_length

extrusion length of the 2D slice (m)


Subroutines

public subroutine preprocessing_2Delements(me, mshFile)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Read more…

Arguments

Type IntentOptional Attributes Name
type(mesh2D_prop_t), intent(out) :: me
character(len=*), intent(in) :: mshFile

public subroutine all_mesh2D_allocation(me)

Arguments

Type IntentOptional Attributes Name
type(mesh2D_t), intent(inout) :: me

public subroutine mesh2D_init_part1(me, krn, cfg, sim)

Arguments

Type IntentOptional Attributes Name
type(mesh2D_t), intent(out) :: me
type(krn_t), intent(inout) :: krn
class(input_t), intent(in), pointer :: cfg
type(simulation_t), intent(inout) :: sim

public subroutine mesh2D_init_part2(me, krn, cfg)

Fluid port initialisation for mesh2Ds

Arguments

Type IntentOptional Attributes Name
type(mesh2D_t), intent(inout), target :: me
type(krn_t), intent(inout) :: krn
class(input_t), intent(in), pointer :: cfg