OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
voln22.F File Reference
#include "implicit_f.inc"
#include "inter22.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine voln22 (voln, iad22, ixs, lft, llt, jale, jeul)

Function/Subroutine Documentation

◆ voln22()

subroutine voln22 ( dimension(*), intent(inout) voln,
dimension(*), intent(in) iad22,
integer, dimension(nixs,*), intent(in) ixs,
integer, intent(inout) lft,
integer, intent(inout) llt,
integer, intent(inout) jale,
integer, intent(inout) jeul )

Definition at line 32 of file voln22.F.

35C-----------------------------------------------
36C D e s c r i p t i o n
37C-----------------------------------------------
38C Interface Type22 (/INTER/TYPE22) is an FSI coupling method based on cut cell method.
39C This experimental cut cell method is not completed, abandoned, and is not an official option.
40C
41C this subroutines update VOLN for cut cells.
42C Main cells have extended values of volume due
43C to secnd cell merging. This extension data is
44C stored in cut cell buffer and is now used here
45C to update VOLN(*)
46C-----------------------------------------------
47C M o d u l e s
48C-----------------------------------------------
50 USE i22tri_mod
51 USE elbufdef_mod
52C-----------------------------------------------
53C I m p l i c i t T y p e s
54C-----------------------------------------------
55#include "implicit_f.inc"
56C-----------------------------------------------
57C C o m m o n B l o c k s
58C-----------------------------------------------
59#include "inter22.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63 INTEGER, INTENT(INOUT) :: LFT
64 INTEGER, INTENT(INOUT) :: LLT
65 INTEGER, INTENT(INOUT) :: JALE
66 INTEGER, INTENT(INOUT) :: JEUL
67 my_real,INTENT(INOUT) :: voln(*)
68 my_real,INTENT(IN) :: iad22(*)
69 INTEGER,INTENT(IN) :: IXS(NIXS,*)
70C-----------------------------------------------
71C L o c a l V a r i a b l e s
72C-----------------------------------------------
73 INTEGER :: I, II, IB, NCELL, IPOS, MCELL, NIN , NSecnds, IBV, ICELLv, NumSecnd,ISECND
74 my_real :: var, aream, volm, volsecnds
75C-----------------------------------------------
76C P r e - C o n d i t i o n s
77C-----------------------------------------------
78 IF(int22==0)RETURN
79C-----------------------------------------------
80C S o u r c e L i n e s
81C-----------------------------------------------
82 nin = 1
83
84 IF(jeul+jale/=0)THEN
85 DO i=lft,llt
86
87 ib = nint(iad22(i))
88 IF(ib==0)cycle
89 ncell = brick_list(nin,ib)%NBCUT
90 mcell = brick_list(nin,ib)%MainID
91 voln(i) = em20*brick_list(nin,ib)%UncutVOL !!!ZERO !in case of no main cell
92 IF(mcell == 0)cycle
93
94 IF(brick_list(nin,ib)%POLY(mcell)%Vnew>zero)THEN
95 voln(i) = brick_list(nin,ib)%Vnew_SCell
96 ENDIF
97
98 ENDDO
99 ENDIF
100
101C-----------------------------------------------
102 RETURN
#define my_real
Definition cppsort.cpp:32
type(brick_entity), dimension(:,:), allocatable, target brick_list