15 integer,
intent(in) :: cstep
16 type (hecmwST_matrix),
intent(inout) :: hecMAT
17 type (hecmwST_local_mesh),
intent(in) :: hecMESH
18 type (fstr_solid),
intent(inout) :: fstrSOLID
20 integer(kind=kint) :: grpid, ndof, ig0, ig, ityp, iS0, iE0, ik, in, idx, jj_n_amp
21 real(kind=kreal) :: fval, factor, ctime
24 do ig0= 1, fstrsolid%SPRING_ngrp_tot
25 grpid = fstrsolid%SPRING_ngrp_GRPID(ig0)
27 ig= fstrsolid%SPRING_ngrp_ID(ig0)
28 ityp= fstrsolid%SPRING_ngrp_DOF(ig0)
29 fval= fstrsolid%SPRING_ngrp_val(ig0)
30 jj_n_amp = fstrsolid%SPRING_ngrp_amp(ig0)
31 if (jj_n_amp <= 0)
then
32 factor = fstrsolid%FACTOR(2)
33 if( fval < 0.d0 ) fval = -fval*(1.d0-factor)
39 fval = -fval*(1.d0-factor)
45 is0= hecmesh%node_group%grp_index(ig-1) + 1
46 ie0= hecmesh%node_group%grp_index(ig )
48 in = hecmesh%node_group%grp_item(ik)
49 idx = ndof**2 * (in - 1) + ndof * (ityp - 1) + ityp
50 hecmat%D(idx) = hecmat%D(idx) + fval
58 integer(kind=kint),
intent(in) :: cstep
59 type (hecmwST_local_mesh),
intent(in) :: hecMESH
60 type (fstr_solid),
intent(in) :: fstrSOLID
61 real(kind=kreal),
intent(inout) :: b(:)
63 integer(kind=kint) ndof,ig0,ig,ityp,iS0,iE0,ik,in,idx,jj_n_amp
64 integer(kind=kint) :: grpid, incremental
65 real(kind=kreal) :: fval, factor, ctime
68 do ig0= 1, fstrsolid%SPRING_ngrp_tot
69 grpid = fstrsolid%SPRING_ngrp_GRPID(ig0)
71 incremental = fstrsolid%SPRING_incremental(ig0)
72 ig= fstrsolid%SPRING_ngrp_ID(ig0)
73 ityp= fstrsolid%SPRING_ngrp_DOF(ig0)
74 fval= fstrsolid%SPRING_ngrp_val(ig0)
75 jj_n_amp = fstrsolid%SPRING_ngrp_amp(ig0)
76 if (jj_n_amp <= 0)
then
77 factor = fstrsolid%FACTOR(2)
78 if( fval < 0.d0 ) fval = -fval*(1.d0-factor)
84 fval = -fval*(1.d0-factor)
90 is0= hecmesh%node_group%grp_index(ig-1) + 1
91 ie0= hecmesh%node_group%grp_index(ig )
93 in = hecmesh%node_group%grp_item(ik)
94 idx = ndof * (in - 1) + ityp
96 b(idx) = b(idx) - fval * ( fstrsolid%dunode( idx ) + fstrsolid%unode( idx ) * (1-incremental) )
This module provides functions to deal with spring force.
subroutine fstr_update_ndforce_spring(cstep, hecMESH, fstrSOLID, B)
subroutine fstr_addspring(cstep, hecMESH, hecMAT, fstrSOLID)
This module provides functions to deal with time and increment of stress analysis.
real(kind=kreal) function fstr_get_timeinc()
real(kind=kreal) function fstr_get_time()
This module defines common data and basic structures for analysis.
logical function fstr_isloadactive(fstrSOLID, nbc, cstep)
subroutine fstr_get_amplitude(hecMESH, fstrSOLID, cstep, jj_n_amp, time, value)
Evaluate the amplitude-scaled target value a(t) for static analysis.
This modules just summarizes all modules used in static analysis.