This module contains routines to bnd_force type and routines to initialize bndForce array and compute bndForce on all boundary elements
author: Kannan Masilamani
This routine initialize bndForce array assign function pointer to calculate bndForce
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(out), | allocatable | :: | bndForce(:,:) |
Bnd force to allocate |
|
real(kind=rk), | intent(out), | allocatable | :: | bndMoment(:,:) |
Bnd moment to allocate |
|
type(tem_BC_prop_type), | intent(in) | :: | bc_prop |
Boundary property |
||
type(mus_scheme_header_type), | intent(in) | :: | schemeHeader |
scheme header info |
||
type(boundary_type), | intent(inout) | :: | bc(:) |
global array boundary type |
This routine computes force on boundary elements which are used to compute lift and drag coefficient on boundary
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(inout) | :: | bndForce(:,:) |
Boundary force on wall boundary |
||
real(kind=rk), | intent(inout) | :: | bndMoment(:,:) |
Boundary moment on wall boundary |
||
integer, | intent(in) | :: | posInBndID(:) |
Mapping from global tree%treeid to global boundary%boundaryID |
||
integer, | intent(in) | :: | nBCs |
number of BC |
||
type(mus_field_type), | intent(in) | :: | field(:) |
fluid parameters and properties |
||
type(glob_boundary_type), | intent(in) | :: | globBC(:) |
scheme global boundary type |
||
integer, | intent(in) | :: | minLevel |
minlevel and maxLevel |
||
integer, | intent(in) | :: | maxLevel |
minlevel and maxLevel |
||
type(array2D_type), | intent(in) | :: | state(minLevel:maxLevel) |
state arrays fo current iLevel both now and next |
||
type(pdf_data_type), | intent(in) | :: | pdf(minLevel:maxLevel) |
contains global state vector |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc(minLevel:maxLevel) |
Level Descriptor |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout type |
||
type(tem_varSys_type), | intent(in) | :: | varSys |
scheme variable system |
||
type(mus_physics_type), | intent(in) | :: | physics |
contains physics conversion factors |
Dummy routine for calcBndForce
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(boundary_type), | intent(in) | :: | me |
field boundary type |
||
real(kind=rk), | intent(inout) | :: | bndForce(:,:) |
bndForce to fill |
||
real(kind=rk), | intent(inout) | :: | bndMoment(:,:) |
Boundary moment on wall boundary |
||
integer, | intent(in) | :: | posInBndID(:) | |||
type(glob_boundary_type), | intent(in) | :: | globBC |
scheme global boundary type |
||
real(kind=rk), | intent(in) | :: | currState(:) |
current state array to access post-collision values |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc |
iLevel descriptor |
||
integer, | intent(in) | :: | nSize |
size of state array ( in terms of elements ) |
||
integer, | intent(in) | :: | iLevel |
level which invokes boundary |
||
integer, | intent(in) | :: | neigh(:) |
global parameters |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout |
||
integer, | intent(in) | :: | nScalars |
number of Scalars in the scheme var system |
||
type(mus_convertFac_type), | intent(in) | :: | phyConvFac |
physics conversion factor |
This routine computes bndForce on wall boundary elements
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(boundary_type), | intent(in) | :: | me |
field boundary type |
||
real(kind=rk), | intent(inout) | :: | bndForce(:,:) |
bndForce to fill |
||
real(kind=rk), | intent(inout) | :: | bndMoment(:,:) |
Boundary moment on wall boundary |
||
integer, | intent(in) | :: | posInBndID(:) | |||
type(glob_boundary_type), | intent(in) | :: | globBC |
scheme global boundary type |
||
real(kind=rk), | intent(in) | :: | currState(:) |
current state array to access post-collision values |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc |
iLevel descriptor |
||
integer, | intent(in) | :: | nSize |
size of state array ( in terms of elements ) |
||
integer, | intent(in) | :: | iLevel |
level which invokes boundary |
||
integer, | intent(in) | :: | neigh(:) |
global parameters |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout |
||
integer, | intent(in) | :: | nScalars |
number of Scalars in the scheme var system |
||
type(mus_convertFac_type), | intent(in) | :: | phyConvFac |
physics conversion factor |
This routine computes bndForce on wall_libb boundary elements
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(boundary_type), | intent(in) | :: | me |
field boundary type |
||
real(kind=rk), | intent(inout) | :: | bndForce(:,:) |
bndForce to fill |
||
real(kind=rk), | intent(inout) | :: | bndMoment(:,:) |
Boundary moment on wall boundary |
||
integer, | intent(in) | :: | posInBndID(:) | |||
type(glob_boundary_type), | intent(in) | :: | globBC |
scheme global boundary type |
||
real(kind=rk), | intent(in) | :: | currState(:) |
current state array to access post-collision values |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc |
iLevel descriptor |
||
integer, | intent(in) | :: | nSize |
size of state array ( in terms of elements ) |
||
integer, | intent(in) | :: | iLevel |
level which invokes boundary |
||
integer, | intent(in) | :: | neigh(:) |
global parameters |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout |
||
integer, | intent(in) | :: | nScalars |
number of Scalars in the scheme var system |
||
type(mus_convertFac_type), | intent(in) | :: | phyConvFac |
physics conversion factor |
This routine access bndForce from turbulent wall function boundary elements
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(boundary_type), | intent(in) | :: | me |
field boundary type |
||
real(kind=rk), | intent(inout) | :: | bndForce(:,:) |
bndForce to fill |
||
real(kind=rk), | intent(inout) | :: | bndMoment(:,:) |
Boundary moment on wall boundary |
||
integer, | intent(in) | :: | posInBndID(:) | |||
type(glob_boundary_type), | intent(in) | :: | globBC |
scheme global boundary type |
||
real(kind=rk), | intent(in) | :: | currState(:) |
current state array to access post-collision values |
||
type(tem_levelDesc_type), | intent(in) | :: | levelDesc |
iLevel descriptor |
||
integer, | intent(in) | :: | nSize |
size of state array ( in terms of elements ) |
||
integer, | intent(in) | :: | iLevel |
level which invokes boundary |
||
integer, | intent(in) | :: | neigh(:) |
global parameters |
||
type(mus_scheme_layout_type), | intent(in) | :: | layout |
scheme layout |
||
integer, | intent(in) | :: | nScalars |
number of Scalars in the scheme var system |
||
type(mus_convertFac_type), | intent(in) | :: | phyConvFac |
physics conversion factor |