OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
voln22.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| voln22 ../engine/source/interfaces/int22/voln22.F
25
!||--- called by ------------------------------------------------------
26
!|| sforc3 ../engine/source/elements/solid/solide/sforc3.F
27
!||--- uses -----------------------------------------------------
28
!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
29
!|| element_mod ../common_source/modules/elements/element_mod.F90
30
!|| i22bufbric_mod ../common_source/modules/interfaces/cut-cell-search_mod.F
31
!|| i22tri_mod ../common_source/modules/interfaces/cut-cell-search_mod.F
32
!||====================================================================
33
SUBROUTINE
voln22
(
34
1 VOLN, IAD22, IXS, LFT,
35
2 LLT, JALE, JEUL)
36
C-----------------------------------------------
37
C D e s c r i p t i o n
38
C-----------------------------------------------
39
C Interface Type22 (/INTER/TYPE22) is an FSI coupling method based on cut cell method.
40
C This experimental cut cell method is not completed, abandoned, and is not an official option.
41
C
42
C this subroutine updates VOLN for cut cells.
43
C Main cells have extended values of volume due
44
C to second cell merging. This extension data is
45
C stored in cut cell buffer and is now used here
46
C to update VOLN(*)
47
C-----------------------------------------------
48
C M o d u l e s
49
C-----------------------------------------------
50
USE
i22bufbric_mod
51
USE
i22tri_mod
52
USE
elbufdef_mod
53
use
element_mod ,
only
: nixs
54
C-----------------------------------------------
55
C I m p l i c i t T y p e s
56
C-----------------------------------------------
57
#include "implicit_f.inc"
58
C-----------------------------------------------
59
C C o m m o n B l o c k s
60
C-----------------------------------------------
61
#include "inter22.inc"
62
C-----------------------------------------------
63
C D u m m y A r g u m e n t s
64
C-----------------------------------------------
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,*)
72
C-----------------------------------------------
73
C L o c a l V a r i a b l e s
74
C-----------------------------------------------
75
INTEGER
:: I, II, IB, NCELL, IPOS, MCELL, NIN , NSeconds, IBV, ICELLv, NumSecond,ISECOND
76
C-----------------------------------------------
77
C P r e - C o n d i t i o n s
78
C-----------------------------------------------
79
IF
(int22==0)
RETURN
80
C-----------------------------------------------
81
C S o u r c e L i n e s
82
C-----------------------------------------------
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
102
C-----------------------------------------------
103
RETURN
104
END SUBROUTINE
voln22
my_real
#define my_real
Definition
cppsort.cpp:32
i22bufbric_mod
Definition
cut-cell-search_mod.F:95
i22bufbric_mod::brick_list
type(brick_entity), dimension(:,:), allocatable, target brick_list
Definition
cut-cell-search_mod.F:105
i22tri_mod
Definition
cut-cell-search_mod.F:212
voln22
subroutine voln22(voln, iad22, ixs, lft, llt, jale, jeul)
Definition
voln22.F:36
engine
source
interfaces
int22
voln22.F
Generated by
1.15.0