OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
multi_ebcs.F File Reference
#include "implicit_f.inc"
#include "param_c.inc"
#include "tabsiz_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine multi_ebcs (itask, multi_fvm, ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value, ebcs_tab, npf, tf, fsavsurf, nsurf, timestep, numels, numelq, numeltg, numnod, ncycle, nummat, matparam)

Function/Subroutine Documentation

◆ multi_ebcs()

subroutine multi_ebcs ( integer, intent(in) itask,
type(multi_fvm_struct), intent(inout) multi_fvm,
integer, dimension(nixs, *), intent(in) ixs,
integer, dimension(nixq, *), intent(in) ixq,
integer, dimension(nixtg, *), intent(in) ixtg,
dimension(3, *), intent(in) xgrid,
dimension(3, *), intent(in) wgrid,
integer, dimension(npropmi, *), intent(in) ipm,
dimension(npropm, *), intent(in) pm,
dimension(*), intent(in) func_value,
type(t_ebcs_tab), intent(in), target ebcs_tab,
integer, dimension(snpc), intent(in) npf,
dimension(stf), intent(in) tf,
dimension(th_surf_num_channel,nsurf), intent(inout) fsavsurf,
integer, intent(in) nsurf,
intent(in) timestep,
integer, intent(in) numels,
integer, intent(in) numelq,
integer, intent(in) numeltg,
integer, intent(in) numnod,
integer, intent(in) ncycle,
integer, intent(in) nummat,
type(matparam_struct_), dimension(nummat), intent(in) matparam )
Parameters
[in]nummatarray size

Definition at line 38 of file multi_ebcs.F.

41C-----------------------------------------------
42C M o d u l e s
43C-----------------------------------------------
44 USE multi_fvm_mod
45 USE ebcs_mod
47 USE matparam_def_mod , ONLY : matparam_struct_
49C-----------------------------------------------
50C I m p l i c i t T y p e s
51C-----------------------------------------------
52#include "implicit_f.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56! NEBCS
57! NPEBC, NIXS
58#include "param_c.inc"
59! LISURF1
60! SNPC,STF
61#include "tabsiz_c.inc"
62C-----------------------------------------------
63C D u m m y A r g u m e n t s
64C-----------------------------------------------
65 INTEGER,INTENT(IN) :: NUMMAT !< array size
66 TYPE(MATPARAM_STRUCT_), DIMENSION(NUMMAT), INTENT(IN) :: MATPARAM !material data structure
67 INTEGER,INTENT(IN) :: NCYCLE
68 INTEGER,INTENT(IN) :: NSURF
69 INTEGER,INTENT(IN) :: NUMELS, NUMELQ, NUMELTG, NUMNOD
70 my_real,INTENT(INOUT) :: fsavsurf(th_surf_num_channel,nsurf)
71 TYPE(MULTI_FVM_STRUCT), INTENT(INOUT) :: MULTI_FVM
72 INTEGER, INTENT(IN) :: ITASK
73 INTEGER, INTENT(IN) :: IXS(NIXS, *), IXQ(NIXQ, *), IXTG(NIXTG, *)
74 my_real, INTENT(IN) :: xgrid(3, *), wgrid(3, *)
75 INTEGER, INTENT(IN) :: IPM(NPROPMI, *)
76 my_real, INTENT(IN) :: pm(npropm, *), func_value(*)
77 TYPE(t_ebcs_tab), TARGET, INTENT(IN) :: EBCS_TAB
78 INTEGER, INTENT(IN) :: NPF(SNPC)
79 my_real, INTENT(IN) :: tf(stf), timestep
80C-----------------------------------------------
81C L o c a l V a r i a b l e s
82C-----------------------------------------------
83 INTEGER :: I
84 INTEGER :: TYPE, NELEM
85 class(t_ebcs), POINTER :: ebcs
86C-----------------------------------------------
87C B e g i n n i n g o f s u b r o u t i n e
88C-----------------------------------------------
89 DO i = 1, ebcs_tab%nebcs_fvm
90 ebcs => ebcs_tab%tab(i)%poly
91 TYPE = ebcs%type
92 nelem = ebcs%nb_elem
93 SELECT TYPE (twf => ebcs)
94 TYPE IS (t_ebcs_inlet)
95C Inlet, outlet boundary condition
96 CALL multi_inlet_ebcs(itask, i, multi_fvm, nelem,
97 . twf%ielem, twf%iface, twf%fvm_inlet_data,
98 . ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value,
99 . twf%surf_id,npf,tf,fsavsurf, timestep, matparam)
100 TYPE IS(t_ebcs_fluxout)
101 CALL multi_inlet_ebcs(itask, i, multi_fvm, nelem,
102 . twf%ielem, twf%iface, twf%fvm_inlet_data,
103 . ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value,
104 . twf%surf_id,npf,tf,fsavsurf,timestep, matparam)
105 TYPE IS(t_ebcs_nrf)
106 CALL multi_nrf_ebcs(itask, i, multi_fvm, nelem,
107 . twf%ielem, twf%iface, twf%fvm_inlet_data,
108 . ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value,
109 . twf,npf,tf,fsavsurf,timestep, matparam)
110 TYPE IS(t_ebcs_propellant)
111 CALL multi_propellant_ebcs(itask, i, multi_fvm, nelem,
112 . twf%ielem, twf%iface, twf%fvm_inlet_data,
113 . ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value,
114 . twf,npf,tf,fsavsurf,timestep,nixs, nixq, nixtg, npropmi, npropm, nsurf, stf, snpc,
115 . numels, numelq, numeltg, numnod, ncycle, nummat ,matparam)
116 CLASS DEFAULT
117 END SELECT
118 ENDDO
119C-----------------------------------------------
120C E n d o f s u b r o u t i n e
121C-----------------------------------------------
#define my_real
Definition cppsort.cpp:32
subroutine multi_nrf_ebcs(itask, ebcs_id, multi_fvm, nelem, elem_list, face_list, fvm_inlet_data, ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value, ebcs, npf, tf, fsavsurf, timestep, matparam)
subroutine multi_inlet_ebcs(itask, ebcs_id, multi_fvm, nelem, elem_list, face_list, fvm_inlet_data, ixs, ixq, ixtg, xgrid, wgrid, ipm, pm, func_value, id_surf, npf, tf, fsavsurf, timestep, matparam)
OPTION /TH/SURF outputs of Pressure and Area needed Tabs.
Definition th_surf_mod.F:60
integer, parameter th_surf_num_channel
number of /TH/SURF channels : AREA, VELOCITY, MASSFLOW, P A, MASS
Definition th_surf_mod.F:99