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 33 of file voln22.F.

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