OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
qmassreal2.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
24
25
26
27!||====================================================================
28!|| qmassreal2 ../engine/source/elements/solid_2d/quad/qmassreal2.F
29!||--- called by ------------------------------------------------------
30!|| bforc2 ../engine/source/ale/bimat/bforc2.F
31!|| q4forc2 ../engine/source/elements/solid_2d/quad4/q4forc2.f
32!|| qforc2 ../engine/source/elements/solid_2d/quad/qforc2.F
33!||--- calls -----------------------------------------------------
34!|| idp_free ../engine/source/system/machine.F
35!|| idp_lock ../engine/source/system/machine.F
36!||====================================================================
37 SUBROUTINE qmassreal2(
38 1 OFF, RHO, MS_2D, VNEW,
39 2 NC1, NC2, NC3, NC4,
40 3 NEL)
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C G l o b a l P a r a m e t e r s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT(IN) :: NEL
56C REAL
57 my_real
58 . off(*), rho(*), ms_2d(*),vnew(*)
59 INTEGER NC1(*), NC2(*), NC3(*), NC4(*)
60C-----------------------------------------------
61C L o c a l V a r i a b l e s
62C-----------------------------------------------
63C REAL
64 my_real
65 . mass(mvsiz)
66 INTEGER I
67C-----------------------------------------------
68 DO i=1,nel
69 mass(i)=rho(i)*vnew(i)*off(i)*fourth
70 ENDDO
71C
72 CALL idp_lock(1)
73 DO i=1,nel
74C
75 ms_2d(nc1(i))=ms_2d(nc1(i)) + mass(i)
76 ms_2d(nc2(i))=ms_2d(nc2(i)) + mass(i)
77 ms_2d(nc3(i))=ms_2d(nc3(i)) + mass(i)
78 ms_2d(nc4(i))=ms_2d(nc4(i)) + mass(i)
79 ENDDO
80 CALL idp_free(1)
81C
82 RETURN
83 END
subroutine idp_lock(id)
Definition machine.F:269
subroutine idp_free(id)
Definition machine.F:299
subroutine q4forc2(timers, output, pm, geo, ic, x, a, v, ms, w, flux, flu1, veul, fv, ale_connect, iparg, nloc_dmg, elbuf_tab, tf, npf, bufmat, partsav, dt2t, neltst, ityptst, stifn, offset, eani, ipartq, nel, iadq, fsky, icp, ng, ipm, bufvois, qmv, gresav, grth, igrth, table, igeo, itask, iexpan, ms_2d, fskym, ioutprt, mat_elem, h3d_strain, sz_bufvois, snpc, stf, sbufmat, svis, nsvois, idtmins, iresp, tt, dt1, idel7ng, idel7nok, idtmin, maxfunc, imon_mat, userl_avail, impl_s, idyna, dt, glob_therm, sensors)
Definition q4forc2.F:81
subroutine qmassreal2(off, rho, ms_2d, vnew, nc1, nc2, nc3, nc4, nel)
Definition qmassreal2.F:41