94 1 PM ,D ,V ,ALE_CONNECT,W ,
95 2 ELBUF ,IPARG ,IXS ,IXQ ,IXC ,
96 3 IXT ,IXP ,IXR ,IXTG ,WA ,
97 4 ITAB ,X ,GEO ,MS ,A ,
98 5 PARTSAV ,ICUT ,XCUT ,
100 7 NPBY ,NSTRF ,RWBUF ,NPRW ,EBCS_TAB ,
101 8 TANI ,INOISE ,BUFNOIS ,RBY ,NEFLSW ,
102 9 NNFLSW ,CRFLSW ,FLSW ,LOUT ,NODES ,
103 B FSAV ,SKEW ,ELBUF_TAB ,CLUSTER ,
104 C VR ,IN ,WEIGHT ,FCLUSTER ,MCLUSTER ,
105 D DD_IAD ,DMAS ,ACCELM ,GAUGE,
106 E IPARI ,EANI ,IPART ,MAT_PARAM,
108 G NOM_OPT ,AR ,IGRSURF ,BUFSF ,IDATA ,
109 H RDATA ,KXX ,IXX ,BUFMAT ,BUFGEO ,
110 I KXSP ,IXSP ,NOD2SP ,SPBUF ,DR ,
111 J FSAVD ,IXRI ,RIVET ,ISKWN ,IFRAME ,
112 M XFRAME ,IXS10 ,IXS20 ,IXS16 ,NDMA ,
113 T MONVOL ,VOLMON ,IPM ,IGEO ,NODGLOB ,
114 . IAD_ELEM ,FR_ELEM ,
115 U FR_RBY2 ,IAD_RBY2 ,FR_WALL ,FR_SEC ,FXBIPM ,FXBRPM,
116 V NDIN ,FXBDEP ,FXBVIT ,FXBACC ,IFLOW,
117 W RFLOW ,IPARTL ,NPARTL ,IACCP ,NACCP,
119 Y FR_MV ,IPART_STATE ,SH4TREE ,SH3TREE ,TEMP,
120 Z THKE ,ERR_THK_SH4 ,ERR_THK_SH3,
121 a INOD_PXFEM,FTHREAC ,NODREAC ,GRESAV ,
122 b DIAG_SMS ,SH4TRIM ,SH3TRIM ,XMOM_SMS ,
123 c IRBE2 ,IRBE3 ,LRBE2 ,LRBE3 ,FR_RBE2 ,
124 d FR_RBE3M ,IAD_RBE2 ,DXANCG ,IEL_PXFEM ,ZI_PLY ,
125 e VGAZ ,FCONTG ,FNCONTG ,FTCONTG ,FANREAC ,
126 f INOD_CRK ,IEL_CRK ,ELCUTC ,IADC_CRK ,
128 h QFRICINT ,IGAUP ,NGAUP ,WEIGHT_MD ,NCONT ,
129 i INDEXCONT ,NODGLOBXFE ,NODEDGE ,XFEM_TAB ,
130 j NV46 ,RTHBUF ,KXIG3D ,IXIG3D ,KNOT ,
131 k WIGE ,NERCVOIS ,NESDVOIS ,LERCVOIS ,LESDVOIS ,
132 l CRKEDGE ,STACK ,ISPHIO ,VSPHIO ,ICODE ,
133 m INDX_CRK ,XEDGE4N ,XEDGE3N ,SPH2SOL ,STIFN ,
134 n STIFR ,DRAPE_SH4N ,DRAPE_SH3N ,MS_2D ,MULTI_FVM,
135 o SEGQUADFR ,H3D_DATA ,ISKEW ,PSKIDS ,ISKWP ,
136 p KNOTLOCPC ,KNOTLOCEL ,PINCH_DATA ,TAG_SKINS6,IRUNN_BIS,
137 q TF ,NPC ,DYNAIN_DATA,FCONT_MAX,MDS_MATID,
138 r IBCL ,ILOADP ,LLOADP ,
139 s LOADP ,TAGNCONT ,LOADP_HYD_INTER,FORC ,DRAPEG,USER_WINDOWS,
140 t OUTPUT ,DT ,FSAVSURF ,TABLE ,
141 u LOADS ,SFANI ,IPARIT ,X_C ,
142 v SZ_NPCONT2,NPCONT2 ,GLOB_THERM ,PBLAST ,WFEXT ,
169 USE output_mod ,
ONLY : output_
175 USE ebcs_mod ,
only : t_ebcs_tab
178 use fpcont2_max_output_mod
179 use fpcont2_min_output_mod
183 USE nodal_arrays_mod ,
ONLY : nodal_arrays_
187#include "implicit_f.inc"
191#include "com01_c.inc"
192#include "com04_c.inc"
193#include "com06_c.inc"
194#include "com08_c.inc"
195#include "com09_c.inc"
196#include "com_xfem1.inc"
198#include "scr05_c.inc"
199#include "scr07_c.inc"
200#include "scrnoi_c.inc"
201#include "scr14_c.inc"
202#include "scr16_c.inc"
203#include "scr20_c.inc"
204#include "scr23_c.inc"
205#include "param_c.inc"
206#include "scrfs_c.inc"
208#include "scr13_c.inc"
209#include "scr17_c.inc"
210#include "units_c.inc"
211#include "com10_c.inc"
214#include "filescount_c.inc"
215#include "intstamp_c.inc"
216#include "chara_c.inc"
220 TYPE(nodal_arrays_),
INTENT(INOUT) :: NODES
221 TYPE(timer_),
INTENT(INOUT) :: TIMERS
222 TYPE(t_ebcs_tab),
TARGET,
INTENT(IN) :: EBCS_TAB
224 INTEGER,
INTENT(IN) :: SFANI
225 INTEGER IPARG(*), IXS(*), IXQ(*), IXC(*), IXT(*), IXP(*),
226 . ixs10(6,*) ,ixs16(8,*) ,ixs20(12,*) ,indx_crk(*),
227 . ixr(*), ixtg(*), itab(*),icut(*),nstrf(*),lpby(*),
229 . inoise(*), npby(nnpby,*),neflsw(*),nnflsw(*),
230 . dd_iad(nspmd+1,*), iaccp(*), naccp(*),
231 . ipari(npari,*),weight(*),
233 . idata(*),kxx(nixx,*),ixx(*),
234 . kxsp(nisp,*),ixsp(kvoisph,*),nod2sp(*),
235 . npartsav,ixri(4,*),
236 . iskwn(liskn,*),iframe(liskn,*),ipm(*), igeo(*),fxbipm(nbipm,*),
238 . ndma ,monvol(*),nodglob(*),
239 . fr_elem(*),iad_elem(2,*), ndin, iflow(*), fasolfr(*), fr_mv(*),
240 . ipartl(*), npartl, ipart_state(*), sh4tree(*), sh3tree(*),
241 . inod_pxfem(*), sh4trim(*), sh3trim(*),
242 . irbe2(*),irbe3(*),lrbe2(*),lrbe3(*),
243 . fr_rbe2(*),fr_rbe3m(*),iel_pxfem(*),
244 . inod_crk(*),iel_crk(*),elcutc(2,*),xedge4n(4,*),xedge3n(3,*),
245 . iadc_crk(*),igaup(*), ngaup(*),
246 . weight_md(*),nodglobxfe(*),nodedge(2,*),nv46,kxig3d(*),
247 . ixig3d(*),nercvois(*),nesdvois(*),lercvois(*),lesdvois(*),
248 . isphio(nisphio,*),icode(*),sph2sol(*),segquadfr(*),
249 . iskew(*),tag_skins6(*),irunn_bis
250 my_real bufnois(*),partsav(npsav,*),rby(nrby,*),crflsw(*),flsw(*),
251 . fsav(nthvki,*),skew(lskew,*), vr(3,*), in(*), dmas,
252 . accelm(llaccelm,*),bufsf(*),rdata(*),bufmat(*),bufgeo(*),
253 . spbuf(*),rivet(*),xframe(nxframe,*),zi_ply(*),vgaz(*)
254 my_real pm(npropm,*),d(3,numnod),v(*),w(*),elbuf(*),wa(*),x(3,*),geo(*),
255 . ms(*), a(3,*), xcut(*),eani(*),
257 . ar(3,*),tf(*),fcont_max(*)
261 . fxbdep(*),fxbvit(*),fxbacc(*), rflow(*),
262 . temp(*),thke(*),dxancg(3,*),
263 . err_thk_sh4(*),err_thk_sh3(*),fthreac(*),
264 . gresav(*), diag_sms(*), xmom_sms(3,*),
265 . fcontg(*), fncontg(*), ftcontg(*),fanreac(*),
266 . res_sms(*),qfricint(*), gauge(*),
267 . fcluster(*),mcluster(*),rthbuf(*),wige(*),knot(*),vsphio(*),
268 . stifn(*),stifr(*),ms_2d(*),pskids(*),knotlocpc(*),knotlocel(*)
269 INTEGER FR_SEC(NSPMD+1,*),FR_RBY2(3,*),IAD_RBY2(4,*),FR_WALL(*),NODREAC(*),IAD_RBE2(4,*),INDEXCONT(*),NCONT
270INTEGER NPC(*),MDS_MATID(*)
271 INTEGER LLOADP(*),ILOADP(SIZLOADP,*),IBCL(NIBCLD,*)
272 INTEGER TAGNCONT(NLOADP_HYD_INTER,NUMNOD),LOADP_HYD_INTER(NLOADP_HYD)
273 my_real :: loadp(lfaccld,*),forc(*)
274 my_real,
INTENT(IN) :: mass0_start
276 INTEGER,
DIMENSION(*),
INTENT(IN) :: ISKWP
277 INTEGER,
INTENT(IN) :: SZ_NPCONT2
278 my_real,
INTENT(INOUT) :: FSAVSURF(TH_SURF_NUM_CHANNEL,NSURF)
279 my_real,
DIMENSION(3,NUMNOD),
INTENT(IN) :: X_C
280 my_real,
DIMENSION(3,SZ_NPCONT2),
INTENT(INOUT) :: NPCONT2
282 TYPE(OUTPUT_),
INTENT(INOUT) :: OUTPUT
284 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP) :: ELBUF_TAB
285 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP,NXEL) :: XFEM_TAB
286 TYPE (CLUSTER_) ,
DIMENSION(NCLUSTER) :: CLUSTER
287 TYPE (XFEM_EDGE_) ,
DIMENSION(*) :: CRKEDGE
288 TYPE (STACK_PLY) :: STACK
289 TYPE(MULTI_FVM_STRUCT),
INTENT(IN) :: MULTI_FVM
290 TYPE(H3D_DATABASE) :: H3D_DATA
291 TYPE (SUBSET_) ,
DIMENSION(NSUBS) :: SUBSET
292 TYPE (GROUP_) ,
DIMENSION(NGRNOD) :: IGRNOD
293 TYPE (SURF_) ,
DIMENSION(NSURF) :: IGRSURF
294 TYPE (PINCH) :: PINCH_DATA
295 TYPE (DRAPE_) :: DRAPE_SH4N(NUMELC_DRAPE), DRAPE_SH3N(NUMELTG_DRAPE)
296 TYPE (DRAPEG_) :: DRAPEG
297 TYPE (SENSORS_) ,
INTENT(INOUT):: SENSORS
298 TYPE (t_ale_connectivity),
INTENT(IN) :: ALE_CONNECT
299 TYPE (DYNAIN_DATABASE),
INTENT(INOUT) :: DYNAIN_DATA
301 TYPE(DT_),
INTENT(INOUT) :: DT
302 TYPE (LOADS_) ,
INTENT(IN) :: LOADS
303 TYPE (TTABLE),
DIMENSION(NTABLE) ,
INTENT(IN) :: TABLE
304 TYPE (MATPARAM_STRUCT_) ,
DIMENSION(NUMMAT) ,
INTENT(IN) :: MAT_PARAM
305 type (glob_therm_) ,
intent(in) :: glob_therm
306 type (PBLAST_) ,
intent(in) :: PBLAST
307 INTEGER,
INTENT(IN) :: IPARIT
308 DOUBLE PRECISION,
INTENT(INOUT) :: WFEXT
309 LOGICAL :: TRIGGER_ANIM, TRIGGER_TH, TRIGGER_H3D
313 INTEGER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10,I,M,NEL,NFACE,
314 . K1, K2, K3, K4, K5, K6, K7, K8, K9, K10, K11,K12,
315 . NEL1D,NEL2D,NEL3D, L1, IFIL, CPTFILE,IFILABF,
316 . IAD, J, THUPDT,IFLAG, IFV,ITHFLAG,NSENSOR
317 INTEGER :: IFLAG_ANIPCONT
318 INTEGER :: SN1,SN2,SN3,SN4,SN5,SN6,SN7,SN8,SN9,NELG,
319 . skuix, skxusr ,skfacptx,skxedge,skxfacet,skxsolid
320 . sknumx2,sknumx3,skoffx1,skoffx2,skoffx3,skmass1,skmass2,
321 . skmass3,skfunc1,skfunc2,skfunc3,skfin,sig3dsolid
322 INTEGER LENR,LENG,LENGC,LENGTG,LENGS,LENGT,LENGR,LENGP,LENGQ,LENGSPH
323 INTEGER SIZE_MES,LONG,LONG_TMP,N
324 INTEGER IFILNAM(2148),IFILNAM_TMP(2148)
326 my_real wfexth,enintot,ekintot,dydx,finter
328 my_real tabfwr0(10),bid
329 my_real,
DIMENSION(:),
ALLOCATABLE :: vmcdn
330 my_real,
DIMENSION(:),
ALLOCATABLE :: csefric,csefric_stamp,csefricg,csefricg_stamp
332 INTEGER :: LEN_TMP_NAME,LEN_TMP_NAME2
333 CHARACTER(len=100) :: TMP_NAME,TMP_NAME2
334 CHARACTER FILNAMABF*100,FILNAMABF_TMP*100
335 LOGICAL :: NEED_TO_REINIT_FSAV
337 IF(iplyxfem == 0 ) anim_ply = 0
338 IF(icrack3d > 0 ) anim_crk = 1
340 nsensor = sensors%NSENSOR
341 need_to_reinit_fsav = .false.
347 1 bufnois,inoise,inoise(2*nnoise+1),bufnois(2),v ,
348 2 a ,ixs ,elbuf_tab ,iparg ,weight,
358 ALLOCATE(vmcdn(leng))
359 vmcdn(1:leng)=v(1:leng)
362 1 weight ,mas_nd ,kend )
363 CALL ecrit(timers,partsav ,ms ,vmcdn ,in ,vr ,
364 2 dmas ,weight ,enintot ,ekintot,
365 3 a ,ar ,fxbipm ,fxbrpm ,monvol ,
366 4 xmom_sms ,sensors ,qfricint ,ipari ,
367 5 weight_md,wfexth ,iflag ,ms_2d, multi_fvm ,
368 6 mas_nd ,kend ,h3d_data,dynain_data,user_windows%USREINT,output)
372 CALL ecrit(timers,partsav ,ms ,v ,in ,vr ,
373 2 dmas ,weight ,enintot ,ekintot,
374 3 a ,ar ,fxbipm ,fxbrpm ,monvol ,
375 4 xmom_sms ,sensors ,qfricint ,ipari ,
376 5 weight_md,wfexth ,iflag ,ms_2d, multi_fvm ,
377 6 bid ,bid ,h3d_data,dynain_data,user_windows%USREINT,output)
388 IF(tt>=output%TH%THIS .AND. nsflsw/=0)
389 .
CALL fluxsw(nsflsw,neflsw, nnflsw, crflsw, flsw ,
394 IF(nspmd>1.AND.(anim_n(2)+outp_n(2)>0).AND.
395 . ((tt>=output%TANIM .AND. tt<=output%TANIM_STOP).OR.tt>=toutp.OR.
396 . manim==4 .OR.manim==5 .OR.manim==6 .OR.manim==7.OR.
397 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
398 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15))
THEN
399 lenr = iad_elem(1,nspmd+1)-iad_elem(1,1)
400 CALL spmd_exch_adm(output%DATA%SCAL_DMAS,iad_elem,fr_elem,lenr,weight_md)
403 . (anim_n(12)+outp_n(3)>0).AND.
404 . ((tt>=output%TANIM .AND. tt<=output%TANIM_STOP).OR.tt>=toutp.OR.
405 . manim==4 .OR.manim==5 .OR.manim==6 .OR.manim==7.OR.
406 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
407 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15))
THEN
408 lenr = iad_elem(1,nspmd+1)-iad_elem(1,1)
409 CALL spmd_exch_adm(output%DATA%SCAL_DINER,iad_elem,fr_elem,lenr,weight)
415 trigger_th = tt >= output%TH%THIS
416 trigger_h3d = (ilasth3d==1.OR.(tt>=h3d_data%TH3D.AND.tt<=h3d_data%TH3D_STOP) .OR. h3d_data%MH3D ==1 .OR.
417 . (mstop == 1 .AND. ictlstop == 0 .AND. h3d_data%IH3D/= 0) .OR.
418 . (mstop == 2 .AND. h3d_data%IH3D/= 0) .OR.
419 . (dt2<=zero .AND. h3d_data%IH3D/= 0) )
420 trigger_anim = (tt>=output%TANIM .AND. tt<=output%TANIM_STOP).OR.
421 . manim==4 .OR.manim==5 .OR.manim==6 .OR.manim==7.OR.
422 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15 .OR.
423 . (mstop == 1 .AND. output%TANIM < ep30 .AND. ictlstop == 0) .OR.
424 . mstop == 2 .OR. dt2<=zero
426 . trigger_th, trigger_anim, trigger_h3d )
433 IF((h3d_data%N_SCAL_CSE_FRIC /=0).OR.(h3d_data%N_SCAL_CSE_FRICINT /=0)
435 . (tt>=output%TANIM.OR.tt>=toutp.OR.tt>=h3d_data%TH3D .OR.
436 . manim==4 .OR.manim==5 .OR.manim==6 .OR.manim==7.OR.
437 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
438 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15.OR.
439 . h3d_data%MH3D/=0))
THEN
441 IF(output%DATA%NINEFRIC > 0)
THEN
442 ALLOCATE(csefric(output%DATA%NINEFRIC*numnod))
446 IF(output%DATA%NINEFRIC_STAMP > 0)
THEN
447 ALLOCATE(csefric_stamp(output%DATA%NINEFRIC_STAMP*numnodg))
450 ALLOCATE(csefric_stamp(0))
452 IF(h3d_data%N_SCAL_CSE_FRIC /=0)
THEN
453 ALLOCATE(csefricg(numnod))
455 IF(nintstamp /= 0)
THEN
456 ALLOCATE(csefricg_stamp(numnodg))
458 ALLOCATE(csefricg_stamp(0))
461 ALLOCATE(csefricg(0))
462 ALLOCATE(csefricg_stamp(0))
466 ALLOCATE(csefric_stamp(0))
467 ALLOCATE(csefricg(0))
468 ALLOCATE(csefricg_stamp(0))
472 IF(((anim_v(12)+outp_v(12)+h3d_data%N_VECT_PCONT /=0.OR.
473 . anim_v(27)+h3d_data%N_VECT_PCONT2 /=0..OR.
474 . h3d_data%N_SCAL_CSE_FRIC /=0.OR.h3d_data%N_SCAL_CSE_FRICINT /=0)
476 . ((tt>=output%TANIM .AND. tt<=output%TANIM_STOP).OR.tt>=toutp.OR.(tt>=h3d_data%TH3D.AND.tt<=h3d_data%TH3D_STOP) .OR.
477 . manim==4 .OR.manim==5 .OR.manim==6 .OR.manim==7.OR.
478 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
479 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15.OR.
481 . .OR.h3d_data%N_VECT_PCONT_MAX>0
482 . .OR.h3d_data%N_VECT_PCONT2_MAX>0)
THEN
484 CALL ani_pcont(output, ixs ,ixc ,ixtg ,fasolfr ,x ,
485 . output%DATA%VECT_PCONT ,output%DATA%VECT_PCONT_2,iad_elem ,fr_elem ,weight ,
486 . ixq ,segquadfr,ixs10 ,output%DATA%VECT_PCONT2,output%DATA%VECT_PCONT2_2,
487 . h3d_data,csefric,csefricg,sz_npcont2,npcont2)
491 CALL ani_pcont21(output, ixs ,ixc ,ixtg ,fasolfr ,x ,
492 . output%DATA%VECT_PCONT ,output%DATA%VECT_PCONT_2 ,iad_elem,fr_elem ,weight ,
493 . nodglob ,fncontg,ftcontg,output%DATA%VECT_PCONT2,output%DATA%VECT_PCONT2_2,
494 . h3d_data ,csefric_stamp,csefricg_stamp,sz_npcont2,npcont2)
500 IF(anim_v(26)+h3d_data%N_VECT_CONT_MAX /=0)
THEN
501 CALL fcont_max_output(output%DATA%VECT_CONT,fcontg,nodglob,fcont_max,weight)
503 IF(h3d_data%N_VECT_PCONT_MAX /=0)
THEN
504 CALL fcont_max_output(output%DATA%VECT_PCONT,fncontg,nodglob,fncont_max,weight)
505 CALL fcont_max_output(output%DATA%VECT_PCONT_2,ftcontg,nodglob,ftcont_max,weight)
507 IF(h3d_data%N_VECT_CONT2_MAX /=0)
THEN
510 IF(h3d_data%N_VECT_CONT2_MIN /=0)
THEN
513 IF(h3d_data%N_VECT_PCONT2_MAX /=0)
THEN
514 CALL fpcont2_max_output(output%DATA%VECT_PCONT2,fncont2_max,sz_npcont2,npcont2,weight,
515 . npcont2_max,numnod)
516 CALL fpcont2_max_output(output%DATA%VECT_PCONT2_2,ftcont2_max,sz_npcont2,npcont2,weight,
517 . npcont2_max,numnod)
519 IF(h3d_data%N_VECT_PCONT2_MIN /=0)
THEN
520 CALL fpcont2_min_output(output%DATA%VECT_PCONT2,fncont2_min,sz_npcont2,npcont2,weight,
521 . npcont2_min,numnod)
522 CALL fpcont2_min_output(output%DATA%VECT_PCONT2_2,ftcont2_min,sz_npcont2,npcont2,weight,
523 . npcont2_min,numnod)
526 IF ( trigger_anim )
THEN
539 nel3d = numels + numsph + 3*numels16
540 nel2d = numelc + numeltg + numelq
541 nel1d = numelt + numelp + 2*numelr + nanim1d
542 nel =
max(nel1d,nel2d,nel3d)
544 nelg =
max( numelsg+3*numels16g+numsphg+27*numelig3d,
545 . numelcg+numeltgg+numelqg,
546 . numeltrg + numelpg + 2*numelrg + nanim1d)
547 sn1 =
max(3*numnod,6*nel3d+6*27*numelig3d,3*nel2d,9*nel1d,numsph)
548 sn2 = nel+3*numels16+numsph
549 sn3 = 3 * numnod + 2*numels16 + 64*numelig3d
552 IF (
kmesh(ifv) > 1)
THEN
553 sn3 = sn3 + 3 *
fvspmd(ifv)%NNA_L
562 n2 = n1 +
max(3*numnod,6*nel3d,3*nel2d,9*nel1d)
569 IF ((numelx>0) .OR. (numelxg>0))
THEN
610 sig3dsolid = 8*27*numelig3d
614 k1=1+lipart1*(npart+nthpart)+2*9*(npart+nthpart)
626 l1=1+6*(numelc+numeltg)*iepsdot
629 1 x ,d ,v ,a ,elbuf ,
630 2 ixs ,ixq ,ixc ,ixt ,ixp ,
631 3 ixr ,ixtg ,sn1 ,sn2 ,sn3 ,
632 4 sn4 ,iparg ,pm ,geo ,ms ,
633 5 sn5 ,output%DATA%VECT_CONT ,sn6 ,icut ,skew ,
634 6 xcut ,output%DATA%VECT_FINT ,itab ,sn7 ,output%DATA%VECT_FEXT ,
635 7 output%DATA%FOPT ,lpby ,npby ,nstrf ,
636 8 rwbuf ,nprw ,tani ,elbuf_tab ,mat_param,
637 a dd_iad ,weight ,eani ,ipart ,cluster ,
638 b ipart(k1) ,ipart(k2) ,ipart(k3) ,ipart(k4) ,ipart(k5) ,
639 c ipart(k6) ,ipart(k7) ,ipart(k8) ,
640 d rby ,sn3 ,tani(l1) ,nom_opt ,igrsurf ,
641 e bufsf ,idata ,rdata ,sn9 ,bufmat ,
642 f bufgeo ,kxx ,ixx ,ipart(k9) ,skuix ,
643 g skxusr ,skfacptx ,skxedge ,skxfacet ,skxsolid ,
644 h sknumx1 ,sknumx2 ,sknumx3 ,skoffx1 ,skoffx2 ,
645 i skoffx3 ,skmass1 ,skmass2 ,skmass3
646 j skfunc2 ,skfunc3 ,kxsp ,ixsp ,nod2sp ,
647 k ipart(k10) ,spbuf ,ixs10 ,ixs20 ,ixs16 ,
648 l vr ,monvol ,volmon ,ipm ,igeo,nodglob,
649 m iad_elem ,fr_elem ,fr_sec ,fr_rby2 ,iad_rby2 ,
650 n fr_wall ,iflow ,rflow ,output%DATA%VECT_PCONT ,output%DATA%VECT_PCONT_2 ,
651 o temp ,thke ,err_thk_sh4 ,err_thk_sh3 ,diag_sms,
652 p ipari ,output%DATA%VECT_CONT2 ,dr ,ale_connect ,
653 q irbe2 ,irbe3 ,lrbe2 ,lrbe3 ,fr_rbe2 ,
654 r fr_rbe3m ,iad_rbe2 ,dxancg ,inod_pxfem ,iel_pxfem,
655 s zi_ply ,vgaz ,fcontg ,fncontg ,ftcontg ,
656 t fanreac ,inod_crk ,iel_crk ,elcutc ,iadc_crk ,
657 u output%DATA%SCAL_DAMA2 ,res_sms ,weight_md ,nodglobxfe ,nodedge ,
658 v fcluster ,mcluster ,xfem_tab ,w ,
659 w nv46 ,ipart(k11),kxig3d ,ixig3d ,sig3dsolid,
660 x knot ,wige ,nercvois ,nesdvois ,lercvois ,
661 y lesdvois ,crkedge ,indx_crk ,xedge4n ,xedge3n ,
662 z stack ,sph2sol ,stifn ,stifr ,igrnod ,
663 1 h3d_data ,subset ,multi_fvm ,knotlocpc ,knotlocel ,
664 2 fcont_max ,output%DATA%VECT_PCONT2 ,output%DATA%VECT_PCONT2_2 ,glob_therm ,
665 . drape_sh4n, drape_sh3n, drapeg,output )
668 IF(output%DTANIM_FCT_ID > 0)
THEN
670 output%DTANIM = finter(output%DTANIM_FCT_ID,tt+dt2,npc,tf,dydx)
672 IF((tt>=output%TANIM .AND.tt<=output%TANIM_STOP)) output%TANIM=output%TANIM+output%DTANIM
673 IF ((tstop<output%TANIM).AND.(output%TANIM<tstop+em06*tstop)
674 . .AND.(tstop+em06*tstop<output%TANIM+output%DTANIM))
THEN
684 IF (ilasth3d==1.OR.(tt>=h3d_data%TH3D.AND.tt<=h3d_data%TH3D_STOP) .OR. h3d_data%MH3D ==1 .OR.
685 . (mstop == 1 .AND. ictlstop == 0 .AND. h3d_data%IH3D/= 0) .OR.
686 . (mstop == 2 .AND. h3d_data%IH3D/= 0) .OR.
687 . (dt2<=zero .AND. h3d_data%IH3D/= 0) )
THEN
689 h3d_data%IH3D=h3d_data%IH3D+1
692 nel3d = numels + numsph + 3*numels16
693 nel2d = numelc + numeltg + numelq
694 nel1d = numelt + numelp + 2*numelr + nanim1d
695 nel =
max(nel1d,nel2d,nel3d)
697 nelg =
max( numelsg+3*numels16g+numsphg+27*numelig3d,
698 . numelcg+numeltgg+numelqg,
699 . numeltrg + numelpg + 2*numelrg + nanim1d)
700 sn1 =
max(3*numnod,6*nel3d+6*27*numelig3d,3*nel2d,9*nel1d,numsph)
701 sn2 = nel+3*numels16+numsph
702 sn3 = 3 * numnod + 2*numels16 + 64*numelig3d
708 n2 = n1 +
max(3*numnod,6*nel3d,3*nel2d,9*nel1d)
715 IF ( (numelx>0) .OR.(numelxg>0) )
THEN
756 sig3dsolid = 8*27*numelig3d
760 k1=1+lipart1*(npart+nthpart)+2*9*(npart+nthpart)
772 l1=1+6*(numelc+numeltg)*iepsdot
774 CALL genh3d(output, timers,
775 1 x ,d ,v ,a ,elbuf ,
776 2 ixs ,ixq ,ixc ,ixt ,ixp ,
777 3 ixr ,ixtg ,sn1 ,sn2 ,sn3 ,
778 4 sn4 ,iparg ,pm ,geo ,ms ,
779 5 sn5 ,output%DATA%VECT_CONT ,sn6 ,icut ,skew ,
780 6 xcut ,output%DATA%VECT_FINT ,itab ,sn7 ,output%DATA%VECT_FEXT,
781 7 output%DATA%FOPT ,lpby ,npby ,nstrf
782 8 rwbuf ,nprw ,tani ,elbuf_tab ,mat_param,
783 a dd_iad ,weight ,eani ,ipart ,cluster ,
784 b ipart(k1) ,ipart(k2) ,ipart(k3) ,ipart(k4) ,ipart(k5) ,
785 c ipart(k6) ,ipart(k7) ,ipart(k8) ,
786 d rby ,sn3 ,tani(l1) ,nom_opt ,
787 e bufsf ,idata ,rdata ,sn9 ,bufmat ,
788 f bufgeo ,kxx ,ixx ,ipart(k9) ,skuix ,
789 g skxusr ,skfacptx ,skxedge ,skxfacet ,skxsolid ,
790 h sknumx1 ,sknumx2 ,sknumx3 ,skoffx1 ,skoffx2 ,
791 i skoffx3 ,skmass1 ,skmass2 ,skmass3 ,skfunc1 ,
792 j skfunc2 ,skfunc3 ,kxsp ,ixsp ,nod2sp ,
793 k ipart(k10) ,spbuf ,ixs10 ,ixs20 ,ixs16 ,
794 l vr ,monvol ,volmon ,ipm ,igeo,nodglob,
795 m iad_elem ,fr_elem ,fr_sec ,fr_rby2 ,iad_rby2 ,
796 n fr_wall ,iflow ,rflow ,output%DATA%VECT_PCONT ,output%DATA%VECT_PCONT_2,
797 o temp ,thke ,err_thk_sh4 ,err_thk_sh3 ,diag_sms,
798 p ipari ,output%DATA%VECT_CONT2 ,dr ,ale_connect ,
799 q irbe2 ,irbe3 ,lrbe2 ,lrbe3 ,fr_rbe2 ,
800 r fr_rbe3m ,iad_rbe2 ,dxancg ,inod_pxfem ,iel_pxfem,
801 s zi_ply ,vgaz ,fcontg ,fncontg ,ftcontg ,
802 t fanreac ,inod_crk ,iel_crk ,elcutc ,iadc_crk ,
803 u output%DATA%SCAL_DAMA2 ,res_sms ,weight_md ,nodglobxfe ,nodedge ,
804 v fcluster ,mcluster ,xfem_tab ,w ,
805 w nv46 ,ipart(k11),kxig3d ,ixig3d ,sig3dsolid,
806 x knot ,wige ,nercvois ,nesdvois ,lercvois ,
807 y lesdvois ,crkedge ,indx_crk ,xedge4n ,xedge3n ,
808 z stack ,sph2sol ,stifn ,stifr ,igrnod ,
809 1 sh4tree ,sh3tree ,h3d_data ,multi_fvm ,subset ,
810 2 pskids ,tag_skins6,tf ,npc ,fcont_max ,
811 3 mds_matid ,output%DATA%VECT_PCONT2 ,output%DATA%VECT_PCONT2_2 ,ibcl ,iloadp ,
812 4 lloadp ,loadp ,sensors ,tagncont ,loadp_hyd_inter,
813 5 xframe ,forc ,ar ,csefric ,csefricg ,
814 6 csefric_stamp,csefricg_stamp,table ,iframe ,loads ,
815 7 drape_sh4n, drape_sh3n, drapeg ,x_c ,glob_therm,pblast)
817 IF(
ALLOCATED(csefric))
DEALLOCATE(csefric)
818 IF(
ALLOCATED(csefricg))
DEALLOCATE(csefricg)
819 IF(
ALLOCATED(csefric_stamp))
DEALLOCATE(csefric_stamp)
820 IF(
ALLOCATED(csefricg_stamp))
DEALLOCATE(csefricg_stamp)
822 IF(h3d_data%DTH3D_FCT_ID > 0)
THEN
823 h3d_data%DTH3D = finter(h3d_data%DTH3D_FCT_ID,tt+dt2,npc,tf,dydx)
826 IF(tt>=h3d_data%TH3D) h3d_data%TH3D = h3d_data%TH3D + h3d_data%DTH3D
827 IF((tstop< h3d_data%TH3D).AND.(h3d_data%TH3D < tstop+em06*tstop) .AND.(tstop+em06*tstop< h3d_data%TH3D + h3d_data%DTH3D))
THEN
828 h3d_data%TH3D = tstop
838 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
839 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15.OR.
843 2 ixs ,ixq ,ixc ,ixt ,ixp ,
844 3 ixr ,ixtg ,iparg ,pm ,igeo ,
845 4 ms ,output%DATA%VECT_CONT ,itab ,partsav,output%DATA%VECT_FINT ,
846 5 output%DATA%VECT_FEXT ,tani ,eani ,ipart ,
847 6 vr ,elbuf_tab ,dd_iad ,weight,
848 7 ipm ,kxsp ,spbuf ,nodglob,leng ,
849 8 output%DATA%FOPT ,nom_opt ,npby ,output%DATA%VECT_PCONT ,output%DATA%VECT_PCONT_2 ,
850 9 geo ,thke ,stack ,drape_sh4n, drape_sh3n,
852 IF(tt>=toutp)toutp=toutp+dtoutp
853 IF ((tstop<toutp).AND.(toutp<tstop+em06*tstop)
854 . .AND.(tstop+em06*tstop<toutp+dtoutp))
THEN
861 . manim==8 .OR.manim==9 .OR.manim==10.OR.manim==11.OR.
862 . manim==12.OR.manim==13.OR.manim==14.OR.manim==15.OR.
866 k1=1+lipart1*(npart+nthpart)+2*9*(npart+nthpart)
898 CALL genstat(x ,ms ,elbuf_tab, elbuf ,spbuf ,
899 2 ixs ,ixq ,ixc ,ixt ,ixp ,
900 3 ixr ,ixtg ,kxsp ,iparg ,ipm ,
901 4 igeo ,itab ,ipart ,pm ,geo ,
902 5 ipart(k1),ipart(k2),ipart(k3),ipart(k4),ipart(k5) ,
903 6 ipart(k6),ipart(k7),ipart(k8),ipart(k9),ipart(k10),
904 7 dd_iad ,weight,nodglob ,leng ,ipart_state,
905 8 lengc ,lengtg,sh4tree ,sh3tree, lengs,
906 9 sh4trim ,sh3trim,temp ,ixs10 ,thke ,
907 a ixs16 ,ixs20 ,icode ,lengr ,lengp ,
908 b lengt ,iskew ,v ,vr ,lengq ,
909 c multi_fvm,bufmat ,npby ,lpby ,stack ,
910 d drape_sh4n, drape_sh3n,dr,drapeg ,mat_param,
911 e ipart(k10),output,lengsph,numsphg,glob_therm%ITHERM_FE)
912 IF(tt>=tstat)tstat=tstat+dtstat
913 IF ((tstop<tstat).AND.(tstat<tstop+em06*tstop)
914 . .AND.(tstop+em06*tstop<tstat+dtstat))
THEN
921 IF(tt>=dynain_data%TDYNAIN)
THEN
922 dynain_data%IDYNAINF=dynain_data%IDYNAINF+1
924 k1=1+lipart1*(npart+nthpart)+2*9*(npart+nthpart)
944 CALL gendynain(x ,elbuf_tab, elbuf ,ixc ,ixtg ,
945 2 iparg ,ipm , igeo ,itab ,ipart ,
946 3 pm ,geo , ipart(k3),ipart(k8),leng ,
947 4 lengc ,lengtg , weight ,nodglob ,thke ,
948 5 npby ,lpby , stack ,drape_sh4n ,drape_sh3n ,
949 6 dynain_data,drapeg ,mat_param)
951 IF(tt>=dynain_data%TDYNAIN)dynain_data%TDYNAIN=dynain_data%TDYNAIN+dynain_data%DTDYNAIN
952 IF ((tstop<dynain_data%TDYNAIN).AND.(dynain_data%TDYNAIN<tstop+em06*tstop)
953 . .AND.(tstop+em06*tstop<dynain_data%TDYNAIN+dynain_data%DTDYNAIN))
THEN
954 dynain_data%TDYNAIN=tstop
961 IF(nabfile /= 0)
THEN
962 tabfwr0(1) = tabfwr(1)
963 tabfwr0(2) = tabfwr(2)
964 tabfwr0(3) = tabfwr(3)
965 tabfwr0(4) = tabfwr(4)
966 tabfwr0(5) = tabfwr(5)
967 tabfwr0(6) = tabfwr(6)
968 tabfwr0(7) = tabfwr(7)
969 tabfwr0(8) = tabfwr(8)
970 tabfwr0(9) = tabfwr(9)
971 tabfwr0(10) = tabfwr(10)
973 IF(ninter+nexmad/=0.AND.anim_v
THEN
974 IF(output%DATA%S_VECT_CONT > 0)
CALL anicon0(output%DATA%VECT_CONT,numnod)
976 IF (multi_fvm%IS_USED .AND. h3d_data%N_VECT_CONT > 0)
CALL anicon0(output%DATA%FANI_CELL%F18,numels+numelq)
978 IF(nintstamp/=0.AND.anim_v(4)+outp_v(4)+h3d_data%N_VECT_CONT >0)
THEN
979 CALL anicon2(fcontg,ncont,indexcont)
981 IF(ninter/=0.AND.anim_v(12)+outp_v(12)+h3d_data%N_VECT_PCONT>0)
THEN
982 CALL anicon0(output%DATA%VECT_PCONT,numnod)
983 CALL anicon0(output%DATA%VECT_PCONT_2,numnod)
985 IF(nintstamp/=0.AND.anim_v(12)+outp_v(12)+h3d_data%N_VECT_PCONT>0)
THEN
986 IF(iflag_anipcont > 0)
THEN
990 CALL anicon2(fncontg,ncont,indexcont)
991 CALL anicon2(ftcontg,ncont,indexcont)
995 IF(ninter/=0.AND.anim_v(27)+h3d_data%N_VECT_PCONT2>0)
THEN
996 CALL anicon0(output%DATA%VECT_PCONT2,numnod)
997 CALL anicon0(output%DATA%VECT_PCONT2_2,numnod)
1005 IF (th_vers < 40)
THEN
1007 WRITE(istdo,*)
' ** ERROR : TH VERSION OLDER THAN 41 IS ',
1008 *
'NO MORE SUPPORTED'
1013 IF(tt>=output%TH%THIS)
THEN
1015 ELSEIF(nabfile/=0)
THEN
1016 IF(tt>=tabfis(1)) thupdt = 1
1020 IF(tt>=output%TH%THIS1(i))
THEN
1022 ELSEIF(nabfile/=0)
THEN
1023 IF(tt>=tabfis(i+1)) thupdt = 1
1028 IF (ilastanim/=1.AND.ilastanim/=2)
THEN
1030 IF (nthgrp01(1)/=0)
THEN
1033 IF (tt>=output%TH%THIS1(1))
THEN
1039 CALL hist2(pm ,d ,x ,v ,a ,
1040 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1041 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1042 5 partsav,accelm,nsensor ,mat_param,
1043 6 weight,ipart,igrsurf,ebcs_tab,
1044 7 output%TH%ITHGRPA, output%TH%ITHBUFA, subset,geo ,
1046 9 kxsp ,nod2sp ,spbuf ,
1048 d ixri ,rivet ,ixp ,
1049 e iskwn ,iframe ,xframe ,ixc ,ixq ,
1050 f output%TH%DTHIS1(1),output%TH%THIS1(1), ifil, nthgrp1(1),ixtg ,
1052 h ipartl,npartl, iaccp , naccp ,
1054 j monvol,volmon,fr_mv ,temp,inod_pxfem,
1055 k fthreac,nodreac,gresav ,gauge ,
1056 l igaup ,ngaup ,aform(1),size_mes,
1057 m rthbuf ,thke ,stack ,isphio ,vsphio,
1058 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFA,
1059 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1061 IF (size_mes==1 .AND.aform(1)==3 .AND.ispmd==0 )
1066 IF(abfile(2) /= 0)
THEN
1069 CALL abfhist2(pm ,d ,x ,v ,a ,
1070 2 ixs ,elbuf,wa(n2),iparg,
1071 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1072 5 partsav,accelm,lout ,nsensor ,mat_param,
1073 6 ipari,weight,ipart,igrsurf,
1074 7 output%TH%ITHGRPA,output%TH%ITHBUFA,subset
1076 9 kxsp ,nod2sp ,spbuf ,
1077 b npartsav,ar ,vr ,dr,
1078 d fsavd ,ixri ,rivet , ixp ,
1079 e iskwn ,iframe ,xframe
1080 f dtabf(2), tabfis(2),ifilabf,nthgrp1(1),ixtg,
1081 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1082 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1084 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1085 k fthreac,nodreac,gresav ,tabfwr(2),
1088 n output%TH%SITHBUFA,glob_therm,output)
1091 IF(tt>=tabfwr0(2) .AND. ispmd == 0)
THEN
1092 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun/
'_a.tmp'
1096 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_a.abf'
1101 DO i=1,len_tmp_name2
1102 ifilnam(i)=ichar(tmp_name2(i:i))
1105 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1110 CALL abffile_update(abinp,about,nabfwr(2),ifilnam,
1111 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1121 output%TH%THIS1(1)= ep30
1125 IF(nthgrp01(2)/=0)
THEN
1128 IF (tt>=output%TH%THIS1(2))
THEN
1135 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1136 4 fsav ,flsw ,skew,elbuf_tab,cluster
1137 5 partsav,accelm,nsensor ,mat_param,
1138 6 weight,ipart,igrsurf,ebcs_tab,
1139 7 output%TH%ITHGRPB,output%TH%ITHBUFB,subset,geo ,
1141 9 kxsp ,nod2sp ,spbuf ,
1143 d ixri ,rivet ,ixp ,
1144 e iskwn ,iframe ,xframe,ixc ,ixq ,
1145 f output%TH%DTHIS1(2),output%TH%THIS1(2), ifil, nthgrp1(2),ixtg ,
1148 i iparth(1,(npart+nthpart)+1),2,1,
1149 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1150 k fthreac,nodreac,gresav ,gauge ,
1151 l igaup ,ngaup, aform(2),size_mes,
1152 m rthbuf ,thke ,stack,isphio ,vsphio,
1153 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFB,
1154 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1156 IF (size_mes==1 .AND.aform(2)==3 .AND.ispmd==0 )
1159 IF(abfile(3) /= 0)
THEN
1162 CALL abfhist2(pm ,d ,x ,v ,a ,
1163 2 ixs ,elbuf,wa(n2),iparg,
1164 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1165 5 partsav,accelm,lout ,nsensor ,mat_param,
1166 6 ipari,weight,ipart,igrsurf,
1167 7 output%TH%ITHGRPB,output%TH%ITHBUFB,subset,geo ,
1169 9 kxsp ,nod2sp ,spbuf ,
1170 b npartsav,ar ,vr ,dr,
1171 d fsavd ,ixri ,rivet , ixp ,
1172 e iskwn ,iframe ,xframe,ixc ,ixq,
1173 f dtabf(3), tabfis(3),ifilabf,nthgrp1(2),ixtg ,
1174 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1175 h fxbacc ,ipartl,npartl, iaccp , naccp
1176 i iparth(1,(npart+nthpart)+1),2 ,1 ,
1177 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1178 k fthreac,nodreac,gresav ,tabfwr(3),
1179 l 3 ,gauge ,igaup,ngaup ,rthbuf ,thke,
1181 n output%TH%SITHBUFB,glob_therm,output)
1184 IF(tt>=tabfwr0(3) .AND. ispmd == 0)
THEN
1185 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_b.tmp'
1190 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_b.abf'
1195 DO i=1,len_tmp_name2
1196 ifilnam(i)=ichar(tmp_name2
1199 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1202 CALL abffile_update(abinp,about,nabfwr(3),ifilnam,
1203 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1215 output%TH%THIS1(2)= ep30
1219 IF(nthgrp01(3)/=0)
THEN
1223 IF (tt>=output%TH%THIS1(3))
THEN
1229 CALL hist2(pm ,d ,x ,v ,a ,
1230 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1231 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1232 5 partsav,accelm,nsensor ,mat_param,
1233 6 weight,ipart,igrsurf
1234 7 output%TH%ITHGRPC,output%TH%ITHBUFC,subset,geo ,
1236 9 kxsp ,nod2sp ,spbuf ,
1238 d ixri ,rivet , ixp ,
1242 h ipartl,npartl, iaccp , naccp ,
1243 i iparth(1,2*(npart+nthpart)+1),2,1,
1244 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1245 k fthreac,nodreac,gresav ,gauge ,
1246 l igaup ,ngaup ,aform(3),size_mes,
1247 m rthbuf ,thke ,stack ,isphio ,vsphio,
1248 n ithflag,pinch_data
1249 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1251 IF(size_mes==1 .AND.
1253 * ispmd==0 )
CALL file_size(multithfilesize(3))
1254 IF(abfile(4) /= 0)
THEN
1257 CALL abfhist2(pm ,d ,x ,v
1258 2 ixs ,elbuf,wa(n2),iparg,
1261 6 ipari,weight,ipart,igrsurf,
1262 7 output%TH%ITHGRPC,output%TH%ITHBUFC,subset,geo ,
1264 9 kxsp ,nod2sp ,spbuf ,
1265 b npartsav,ar ,vr ,dr,
1266 d fsavd ,ixri ,rivet , ixp ,
1268 f dtabf(4), tabfis(4),ifilabf,nthgrp1(1),ixtg ,
1270 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1272 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1273 k fthreac,nodreac,gresav ,tabfwr(4),
1274 l 4 ,gauge ,igaup,ngaup ,rthbuf ,thke ,
1276 n output%TH%SITHBUFC,glob_therm,output)
1279 IF(tt>=tabfwr0(4) .AND. ispmd == 0)
THEN
1280 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_c.tmp'
1285 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_c.abf'
1290 DO i=1,len_tmp_name2
1291 ifilnam(i)=ichar(tmp_name2(i:i
1294 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1296 CALL abffile_update(abinp,about,nabfwr(4),ifilnam,
1297 . len_tmp_name2,ifilnam_tmp
1306 output%TH%THIS1(3)= ep30
1310 IF(nthgrp01(4)/=0)
THEN
1314 IF (tt>=output%TH%THIS1(4))
THEN
1320 CALL hist2(pm ,d ,x ,v ,a ,
1321 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1323 5 partsav,accelm,nsensor ,mat_param,
1324 6 weight,ipart,igrsurf,ebcs_tab,
1325 7 output%TH%ITHGRPD,output%TH%ITHBUFD,subset,geo ,
1327 9 kxsp ,nod2sp ,spbuf ,
1329 d ixri ,rivet , ixp,
1330 e iskwn ,iframe ,xframe,ixc ,ixq
1331 f output%TH%DTHIS1(4),output%TH%THIS1(4), ifil, nthgrp1(4),ixtg ,
1333 h ipartl,npartl, iaccp , naccp ,
1334 i iparth(1,3*(npart+nthpart)+1),2,1,
1335 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1336 k fthreac,nodreac,gresav ,gauge ,
1337 l igaup ,ngaup ,aform(4),size_mes,
1338 m rthbuf ,thke ,stack ,isphio ,vsphio,
1339 n ithflag,pinch_data
1340 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1342 IF(size_mes==1 .AND.
1344 * ispmd==0 )
CALL file_size(multithfilesize(4))
1347 IF(abfile(5) /= 0)
THEN
1350 CALL abfhist2(pm ,d ,x ,v ,a ,
1351 2 ixs ,elbuf,wa(n2),iparg,
1352 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1353 5 partsav,accelm,lout ,nsensor ,mat_param,
1354 6 ipari,weight,ipart,igrsurf,
1355 7 output%TH%ITHGRPD,output%TH%ITHBUFD,subset,geo ,
1357 9 kxsp ,nod2sp ,spbuf ,
1358 b npartsav,ar ,vr ,dr,
1359 d fsavd ,ixri ,rivet , ixp ,
1360 e iskwn ,iframe ,xframe,ixc ,ixq,
1361 f dtabf(5), tabfis(5),ifilabf,nthgrp1(1),ixtg ,
1362 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1363 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1366 k fthreac,nodreac,gresav
1367 l 5 ,gauge ,igaup,ngaup ,rthbuf ,thke ,
1368 m stack ,isphio ,vsphio,ithflag,1,pinch_data,multi_fvm,w,
1369 n output%TH%SITHBUFD,glob_therm,output)
1372 IF(tt>=tabfwr0(5) .AND. ispmd == 0)
THEN
1373 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_d.tmp'
1378 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_d.abf'
1382 DO i=1,len_tmp_name2
1383 ifilnam(i)=ichar(tmp_name2(i:i))
1386 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1388 CALL abffile_update(abinp,about,nabfwr(5),ifilnam,
1389 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1398 output%TH%THIS1(4)= ep30
1402 IF(nthgrp01(5)/=0)
THEN
1406 IF (tt>=output%TH%THIS1(5))
THEN
1412 CALL hist2(pm ,d ,x ,v ,a ,
1413 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1414 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1415 5 partsav,accelm,nsensor ,mat_param,
1416 6 weight,ipart,igrsurf,ebcs_tab,
1417 7 output%TH%ITHGRPE,output%TH%ITHBUFE,subset,geo ,
1419 9 kxsp ,nod2sp ,spbuf ,
1421 d ixri ,rivet , ixp ,
1422 e iskwn ,iframe ,xframe,ixc ,ixq ,
1423 f output%TH%DTHIS1(5),output%TH%THIS1(5), ifil, nthgrp1(5),ixtg ,
1425 h ipartl,npartl, iaccp , naccp ,
1426 i iparth(1,4*(npart+nthpart)+1),2,1,
1427 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1428 k fthreac,nodreac,gresav ,gauge ,
1429 l igaup ,ngaup ,aform(5),size_mes,
1430 m rthbuf ,thke ,stack ,isphio ,vsphio,
1431 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFE,
1432 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1434 IF(size_mes==1 .AND.
1436 * ispmd==0 )
CALL file_size(multithfilesize(5))
1438 IF(abfile(6) /= 0)
THEN
1441 CALL abfhist2(pm ,d ,x ,v ,a ,
1442 2 ixs ,elbuf,wa(n2),iparg,
1443 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1444 5 partsav,accelm,lout ,nsensor ,mat_param,
1445 6 ipari,weight,ipart,igrsurf,
1446 7 output%TH%ITHGRPE,output%TH%ITHBUFE,subset,geo
1448 9 kxsp ,nod2sp ,spbuf ,
1449 b npartsav,ar ,vr ,dr,
1450 d fsavd ,ixri ,rivet , ixp ,
1451 e iskwn ,iframe ,xframe,ixc ,ixq,
1452 f dtabf(6), tabfis(6),ifilabf,nthgrp1(1),ixtg ,
1453 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1456 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1457 k fthreac,nodreac,gresav ,tabfwr(6),
1458 l 6 ,gauge ,igaup,ngaup ,rthbuf,thke ,
1459 m stack ,isphio ,vsphio,ithflag,1,pinch_data,multi_fvm,w,
1460 n output%TH%SITHBUFE,glob_therm,output)
1463 IF(tt>=tabfwr0(6) .AND. ispmd == 0)
THEN
1464 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_e.tmp'
1469 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_e.abf'
1474 DO i=1,len_tmp_name2
1480 CALL abffile_update(abinp,about,nabfwr(6),ifilnam,
1481 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1490 output%TH%THIS1(5)= ep30
1494 IF(nthgrp01(6)/=0)
THEN
1497 IF (tt>=output%TH%THIS1(6))
THEN
1503 CALL hist2(pm ,d ,x ,v ,a ,
1504 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1505 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1506 5 partsav,accelm,nsensor ,mat_param,
1507 6 weight,ipart,igrsurf,ebcs_tab,
1508 7 output%TH%ITHGRPF,output%TH%ITHBUFF,subset,geo ,
1510 9 kxsp ,nod2sp ,spbuf ,
1512 d ixri ,rivet , ixp ,
1513 e iskwn ,iframe ,xframe,ixc ,ixq ,
1514 f output%TH%DTHIS1(6),output%TH%THIS1(6), ifil, nthgrp1(6),ixtg ,
1516 h ipartl,npartl, iaccp , naccp ,
1517 i iparth(1,5*(npart+nthpart)+1),2,1,
1518 j monvol,volmon,fr_mv ,temp,inod_pxfem,
1519 k fthreac,nodreac,gresav ,gauge ,
1520 l igaup,ngaup ,aform(6),size_mes,
1521 m rthbuf,thke ,stack ,isphio ,vsphio,
1522 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFF,
1523 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1525 IF(size_mes==1 .AND.
1527 * ispmd==0 )
CALL file_size(multithfilesize(6))
1529 IF(abfile(7) /= 0)
THEN
1532 CALL abfhist2(pm ,d ,x ,v ,a ,
1533 2 ixs ,elbuf,wa(n2),iparg,
1534 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1535 5 partsav,accelm,lout ,nsensor ,mat_param,
1536 6 ipari,weight,ipart,igrsurf,
1537 7 output%TH%ITHGRPF,output%TH%ITHBUFF,subset,geo ,
1539 9 kxsp ,nod2sp ,spbuf ,
1540 b npartsav,ar ,vr ,dr,
1541 d fsavd ,ixri ,rivet , ixp ,
1542 e iskwn ,iframe ,xframe,ixc ,ixq,
1543 f dtabf(7), tabfis(7),ifilabf,nthgrp1(1),ixtg ,
1544 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1545 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1547 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1548 k fthreac,nodreac,gresav ,tabfwr(7),
1549 l 7 ,gauge ,igaup,ngaup ,rthbuf,thke ,
1550 m stack ,isphio ,vsphio,ithflag,1,pinch_data,multi_fvm,w,
1551 n output%TH%SITHBUFF,glob_therm,output)
1555 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_f.tmp'
1560 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_f.abf'
1565 DO i=1,len_tmp_name2
1566 ifilnam(i)=ichar(tmp_name2(i:i))
1569 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1571 CALL abffile_update(abinp,about,nabfwr(7),ifilnam,
1572 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1581 output%TH%THIS1(6)= ep30
1585 IF(nthgrp01(7)/=0)
THEN
1589 IF (tt>=output%TH%THIS1(7))
THEN
1595 CALL hist2(pm ,d ,x ,v ,a ,
1596 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1597 4 fsav ,flsw ,skew,elbuf_tab
1599 6 weight,ipart,igrsurf
1600 7 output%TH%ITHGRPG,output%TH%ITHBUFG,subset,geo ,
1602 9 kxsp ,nod2sp ,spbuf ,
1604 d ixri ,rivet ,ixp ,
1608 h ipartl,npartl, iaccp , naccp ,
1609 i iparth(1,6*(npart+nthpart)+1),2,1,
1610 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1611 k fthreac,nodreac,gresav ,gauge ,
1612 l igaup,ngaup ,aform(7),size_mes,
1613 m rthbuf,thke ,stack ,isphio ,vsphio,
1614 n ithflag,pinch_data,multi_fvm
1615 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1617 IF(size_mes==1 .AND.
1619 * ispmd
CALL file_size(multithfilesize(7))
1621 IF(abfile(8) /= 0)
THEN
1624 CALL abfhist2(pm ,d ,x ,v ,a ,
1625 2 ixs ,elbuf,wa(n2),iparg,
1626 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1627 5 partsav,accelm,lout ,nsensor ,mat_param,
1628 6 ipari,weight,ipart,igrsurf,
1629 7 output%TH%ITHGRPG,output%TH%ITHBUFG
1631 9 kxsp ,nod2sp ,spbuf ,
1632 b npartsav,ar ,vr ,dr,
1633 d fsavd ,ixri ,rivet , ixp ,
1634 e iskwn ,iframe ,xframe,ixc ,ixq,
1635 f dtabf(8), tabfis(8),ifilabf,nthgrp1(1),ixtg ,
1636 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1637 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1639 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1640 k fthreac,nodreac,gresav ,tabfwr(8),
1641 l 8 ,gauge ,igaup,ngaup ,rthbuf ,thke ,
1642 m stack ,isphio ,vsphio,ithflag,1,pinch_data,multi_fvm,w,
1643 n output%TH%SITHBUFG,glob_therm,output)
1646 IF(tt>=tabfwr0(8) .AND. ispmd == 0)
THEN
1647 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_g.tmp'
1652 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_g.abf'
1657 DO i=1,len_tmp_name2
1658 ifilnam(i)=ichar(tmp_name2(i:i))
1660 DO i=1,len_tmp_name!rootlen+long_tmp
1661 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1663 CALL abffile_update(abinp,about,nabfwr(8),ifilnam,
1664 . len_tmp_name2,ifilnam_tmp
1673 output%TH%THIS1(7)= ep30
1677 IF(nthgrp01(8)/=0)
THEN
1681 IF (tt>=output%TH%THIS1(8))
THEN
1687 CALL hist2(pm ,d ,x ,v ,a ,
1688 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1689 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1690 5 partsav,accelm,nsensor ,mat_param,
1691 6 weight,ipart,igrsurf,ebcs_tab,
1692 7 output%TH%ITHGRPH,output%TH%ITHBUFH,subset,geo ,
1694 9 kxsp ,nod2sp ,spbuf ,
1696 d ixri ,rivet , ixp ,
1697 e iskwn ,iframe ,xframe,ixc ,ixq ,
1698 f output%TH%DTHIS1(8),output%TH%THIS1(8), ifil
1701 i iparth(1,7*(npart+nthpart)+1),2,1,
1702 j monvol ,volmon,fr_mv ,temp,inod_pxfem
1703 k fthreac,nodreac,gresav ,gauge ,
1704 l igaup ,ngaup ,aform(8),size_mes,
1705 m rthbuf ,thke ,stack ,isphio ,vsphio,
1706 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFH,
1707 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1709 IF(size_mes==1 .AND. aform(8)==3 .AND.ispmd==0 )
CALL file_size(multithfilesize
1711 IF(abfile(9) /= 0)
THEN
1714 CALL abfhist2(pm ,d ,x ,v ,a ,
1715 2 ixs ,elbuf,wa(n2),iparg,
1716 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1717 5 partsav,accelm,lout ,nsensor
1718 6 ipari,weight,ipart,igrsurf,
1719 7 output%TH%ITHGRPH,output%TH%ITHBUFH,subset,geo ,
1721 9 kxsp ,nod2sp ,spbuf ,
1724 e iskwn ,iframe ,xframe,ixc ,ixq
1725 f dtabf(9), tabfis(9),ifilabf,nthgrp1(1),ixtg ,
1726 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1727 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1729 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1730 k fthreac,nodreac,gresav
1731 l 9 ,gauge ,igaup,ngaup ,rthbuf,thke ,
1732 m stack ,isphio ,vsphio,ithflag,1,pinch_data,multi_fvm,w,
1733 n output%TH%ITHBUFH,glob_therm,output)
1736 IF(tt>=tabfwr0(9) .AND. ispmd == 0)
THEN
1737 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_h.tmp'
1742 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_h.abf'
1747 DO i=1,len_tmp_name2
1748 ifilnam(i)=ichar(tmp_name2(i:i))
1751 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1753 CALL abffile_update(abinp,about,nabfwr(9),ifilnam,len_tmp_name2,ifilnam_tmp,len_tmp_name, cptfile)
1761 output%TH%THIS1(8)= ep30
1765 IF(nthgrp01(9)/=0)
THEN
1768 IF (tt>=output%TH%THIS1(9))
THEN
1774 CALL hist2(pm ,d ,x ,v ,a ,
1775 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1776 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1777 5 partsav,accelm,nsensor ,mat_param,
1778 6 weight,ipart,igrsurf,ebcs_tab,
1779 7 output%TH%ITHGRPI,output%TH%ITHBUFI,subset,geo ,
1781 9 kxsp ,nod2sp ,spbuf ,
1783 d ixri ,rivet ,ixp ,
1784 e iskwn ,iframe ,xframe,ixc ,ixq ,
1785 f output%TH%DTHIS1(9),output%TH%THIS1(9), ifil, nthgrp1(9),ixtg ,
1787 h ipartl,npartl, iaccp , naccp ,
1788 i iparth(1,8*(npart+nthpart)+1),2,1,
1790 k fthreac,nodreac,gresav ,gauge ,
1791 l igaup,ngaup ,aform(9),size_mes,
1792 m rthbuf ,thke ,stack ,isphio ,vsphio,
1793 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUFI,
1794 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1796 IF(size_mes==1 .AND. aform(9)==3 .AND. ispmd==0 )
CALL file_size(multithfilesize(9))
1797 IF(abfile(10) /= 0)
THEN
1800 CALL abfhist2(pm ,d ,x ,v ,a ,
1801 2 ixs ,elbuf,wa(n2),iparg,
1802 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1803 5 partsav,accelm,lout ,nsensor ,mat_param,
1804 6 ipari,weight,ipart,igrsurf,
1805 7 output%TH%ITHGRPI,output%TH%ITHBUFI,subset,geo ,
1807 9 kxsp ,nod2sp ,spbuf ,
1808 b npartsav,ar ,vr ,dr,
1809 d fsavd ,ixri ,rivet , ixp ,
1810 e iskwn ,iframe ,xframe,ixc ,ixq,
1811 f dtabf(10),tabfis(10),ifilabf,nthgrp1(9),ixtg ,
1812 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1813 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1814 i iparth(1,8*(npart+nthpart)+1),2,1,
1815 j 1 ,monvol ,volmon,fr_mv ,temp,inod_pxfem,
1816 k fthreac,nodreac,gresav ,tabfwr(10),
1817 l 10 ,gauge ,igaup,ngaup ,rthbuf,thke ,
1818 m stack ,isphio ,vsphio,ithflag,9,pinch_data,multi_fvm,w,
1819 n output%TH%ITHBUFI,glob_therm,output)
1822 IF(tt>=tabfwr0(10) .AND. ispmd == 0)
THEN
1823 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'_i.tmp'
1828 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'_i.abf'
1832 DO i=1,len_tmp_name2
1833 ifilnam(i)=ichar(tmp_name2(i:i))
1836 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1839 CALL abffile_update(abinp,about,nabfwr(10),ifilnam,
1840 . len_tmp_name2,ifilnam_tmp,len_tmp_name,
1849 output%TH%THIS1(9)= ep30
1855 IF (tt>=output%TH%THIS)
THEN
1861 CALL hist2(pm ,d ,x ,v ,a ,
1862 2 ixs ,elbuf,wa(n2),iparg,sensors%SENSOR_TAB,
1863 4 fsav ,flsw ,skew,elbuf_tab,cluster,
1864 5 partsav,accelm,nsensor ,mat_param,
1865 6 weight,ipart,igrsurf,ebcs_tab,
1866 7 output%TH%ITHGRP,output%TH%ITHBUF,subset,geo ,
1868 9 kxsp ,nod2sp ,spbuf ,
1870 d ixri ,rivet , ixp ,
1871 e iskwn ,iframe ,xframe,ixc ,ixq,
1872 f output%TH%DTHIS ,output%TH%THIS,ifil , nthgrp,ixtg ,
1874 h ipartl,npartl, iaccp , naccp ,
1875 i ipart ,lipart1 ,8 ,
1876 j monvol ,volmon,fr_mv ,temp,inod_pxfem,
1877 k fthreac,nodreac,gresav ,gauge ,
1878 l igaup,ngaup,itform,size_mes,
1879 m rthbuf ,thke ,stack,isphio ,vsphio,
1880 n ithflag,pinch_data,multi_fvm,w,output%TH%SITHBUF,
1881 q fsavsurf,need_to_reinit_fsav,glob_therm,output,mass0_start)
1883 IF(size_mes==1 .AND. itform==3 .AND. ispmd==0 )
CALL file_size
1885 IF(abfile(1) /= 0)
THEN
1888 CALL abfhist2(pm ,d ,x ,v ,a ,
1889 2 ixs ,elbuf,wa(n2),iparg,
1890 4 fsav ,flsw ,skew,elbuf_tab,sensors%SENSOR_TAB,
1891 5 partsav,accelm,lout ,nsensor ,mat_param,
1892 6 ipari,weight,ipart,igrsurf,
1893 7 output%TH%ITHGRP,output%TH%ITHBUF,subset
1895 9 kxsp ,nod2sp ,spbuf ,
1896 b npartsav,ar ,vr ,dr,
1898 e iskwn ,iframe ,xframe,ixc ,ixq,
1899 f dtabf(1), tabfis(1),ifilabf,nthgrp,ixtg ,
1900 g igeo ,ipm ,fxbipm, fxbdep, fxbvit,
1901 h fxbacc ,ipartl,npartl, iaccp , naccp ,
1902 i ipart ,lipart1 ,8 ,
1904 k fthreac,nodreac,gresav ,tabfwr(1),
1905 l 1 ,gauge ,igaup,ngaup ,rthbuf,thke ,
1906 m stack ,isphio ,vsphio
1909 IF((tt>=tabfwr0(1) .OR. tt+dt2>tstop).AND. ispmd == 0)
THEN
1910 filnamabf_tmp=rootnam(1:rootlen)//
'_'//chrun//
'.tmp'
1915 filnamabf=rootnam(1:rootlen)//
'_'//chrun//
'.abf'
1920 DO i=1,len_tmp_name2
1921 ifilnam(i)=ichar(tmp_name2(i:i))
1924 ifilnam_tmp(i)=ichar(tmp_name(i:i))
1927 CALL abffile_update(abinp,about,nabfwr
1949 iad = ninter+nrwall+nrbody+nsect+njoint
1952 fsav(j,iad+i) = zero
1962 IF(ity /= 10.AND.(ity /= 7.OR.ipari(22,i) /= 7))
THEN
1971 fsav(29,(ninter+nrwall+nrbody+nsect+njoint+nvolu+nrbag)+n) = zero
1978 fsavsurf(2,1:nsurf) = zero
1979 fsavsurf(3,1:nsurf) = zero
1980 fsavsurf(4,1:nsurf) = zero
1981 fsavsurf(5,1:nsurf) = zero
1990 IF(nabfile /= 0)
THEN
1992 IF(tt>tabfwr0(i)) need_to_reinit_fsav = .true.
1999 IF(need_to_reinit_fsav)
THEN
2000 DO m=1,npart+nthpart
2002 IF((i<23.OR.i>26.OR.i==25).AND.i/=8)
THEN
2012 IF (ispmd == 0 .AND. iflag == 1) wfext = wfext- wfexth
2017 output%DATA%NODA_SURF(1:numnod) = zero
2018 output%DATA%NODA_PEXT(1:numnod) = zero