mesh module for midpoint quadrature rule More...
Data Types | |
type | mesh_midpoint |
Functions/Subroutines | |
subroutine | initmesh_midpoint (this, config, IO) |
pure subroutine | vectordivergence2d_1 (this, vx, vy, divv) |
compute the cell centered 2D vector divergence More... | |
pure subroutine | tensordivergence2d_1 (this, Txx, Txy, Tyx, Tyy, divTx, divTy) |
compute the cell centered 2D rank 2 tensor divergence More... | |
pure subroutine | vectordivergence3d (this, vx, vy, vz, divv) |
compute the cell centered 3D vector divergence More... | |
pure subroutine | tensordivergence3d (this, Txx, Txy, Txz, Tyx, Tyy, Tyz, Tzx, Tzy, Tzz, divTx, divTy, divTz) |
compute the cell centered 3D rank 2 tensor divergence More... | |
elemental real function | divergence3d (dAxdydzWest, dAxdydzEast, dAydxdzSouth, dAydxdzNorth, dAzdxdyBottom, dAzdxdyTop, dydzdV, dxdzdV, dxdydV, cxyx, cxzx, cyxy, czxz, TxxWest, TxxEast, TxySouth, TxyNorth, TxzBottom, TxzTop, TyxCent, TzxCent, TyyCent, TzzCent) |
elemental workhorse to compute divergence More... | |
subroutine | finalize (this) |
Variables | |
character(len=32), parameter | mesh_name = "midpoint" |
Detailed Description
mesh module for midpoint quadrature rule
Function/Subroutine Documentation
◆ divergence3d()
|
private |
elemental workhorse to compute divergence
input: area and volume elements (multiplied and devided by dx or dy, commutator coefficients, tensor components output: vector divergence (scalar) or x-component of the tensor divergence call this function with different input to obtain other components
Definition at line 589 of file mesh_midpoint.f90.
◆ finalize()
|
private |
Definition at line 634 of file mesh_midpoint.f90.
◆ initmesh_midpoint()
|
private |
Definition at line 74 of file mesh_midpoint.f90.
◆ tensordivergence2d_1()
|
private |
compute the cell centered 2D rank 2 tensor divergence
The divergence is computed on the whole mesh except for the outermost boundary cells. The elemental function to compute the 3D curvilinear tensor divergence is utilized. Thereby the commutator coefficients related to the suppressed spatial dimension are set to 0.
input: 2D rank 2 tensor T with components Txx,Txy,Tyx,Tyy given at cell centers output: 2D vector vector components divTx,divTy
Definition at line 279 of file mesh_midpoint.f90.
◆ tensordivergence3d()
|
private |
compute the cell centered 3D rank 2 tensor divergence
It is computed on the whole mesh except for the outermost boundary cells. It accounts for contributions due to the curvilinear mesh.
input: 3D rank 2 tensor T with components Txx,Txy,Txz,Tyx,Tyy,Tyz,Tzx,Tzy,Tzz given at cell centers output: 3D vector vector components divTx,divTy,divTz
Definition at line 518 of file mesh_midpoint.f90.
◆ vectordivergence2d_1()
|
private |
compute the cell centered 2D vector divergence
We use the elemental function to compute the 3D tensor divergence setting the commutator coefficients and the off-diagonal tensor components to 0.
input: cell centered 2D vector components vx,vy on the whole mesh output: div(v) on the whole mesh except for the outermost boundary cells
Definition at line 156 of file mesh_midpoint.f90.
◆ vectordivergence3d()
|
private |
compute the cell centered 3D vector divergence
input: cell centered 3D vector components vx,vy,vz on the whole mesh output: div(v) on the whole mesh except for the outermost boundary cells
Definition at line 474 of file mesh_midpoint.f90.
Variable Documentation
◆ mesh_name
|
private |
Definition at line 60 of file mesh_midpoint.f90.