TAGGED: convergence, material-nonlinearity
-
-
August 27, 2023 at 7:23 pmYunpeng WuSubscriber
I'm trying to do a 2 materials fiber composites for large displacement. The version is APDL 2021 R1.
Here is the link for elements and nodes.
https://drive.google.com/drive/folders/1vGF3F-EF8pqMliSi8pbBQfw_230DUfUS?usp=sharing
It can converge with displacement 10 or 20 or 30, but can't converge for large displacement like 150 or 200. Can you help me to check why this happens?
Â
Here are the APDL code. it can run with nodes and elements
FINISH
/CLEAR*do,fid,3,3
/PREP7 Â!*=========================
!* unit sets: (N, mm, MPa) or (uN, um, MPa)
!* we use (uN, um, MPa)!*==== Define material 1
ET,1,SOLID285
MP,EX,1,1000 Â Â !* Young's modulus, unit: MPa
MP,NUXY,1,0.3!*==== Define material 2
ET,2,SOLID285 Â Â
!!TB,HYPE,2,1,5,MOON Â
!!TBTEMP,0
!!TBDATA,,-1.4516,1.8669,1.5083,-4.3864,3.8062,0TB,HYPER,2,,3,OGDEN Â Â !3 parameter Ogden model
TBDATA,1,-9.19 Â Â Â !Define mu1 (MPa)
TBDATA,2,2.74 Â Â Â !Define a1
TBDATA,3,-8.61 Â Â Â !Define mu2 (MPa)
TBDATA,4,-5.55 Â Â Â !Define a2
TBDATA,5,6.92 Â Â Â !Define mu3 (MPa)
TBDATA,6,1.31 Â Â Â !Define a3
TBDATA,7,1E-5 Â Â Â !Define d1=2/K, K is the bulk modulusÂ
/PREP7 Â
SHPP, OFFNDELE,ALL
EDELE,ALL
DDELE,ALL,ALLÂ
NUMCMP,ALL*set,ntb
*set,etbNLMESH,SRAT,2
filename=strcat('nodes',chrval(fid))
fext='dat'/INQUIRE,rows1,LINES,%filename%,%fext%
*DIM,ntb,ARRAY,rows1,4
*VREAD,ntb,%filename%,%fext%,,JIK,4,rows1
(4F15.0) Â Â Â Â Â Â !* read in 4 Float numbers using width=15
           !* width=15 should be >= the actual widith of the numbersfilename=strcat('elements',chrval(fid))
/INQUIRE,rows2,LINES,%filename%,%fext%
*DIM,etb,ARRAY,rows2,5
*VREAD,etb,%filename%,%fext%,,JIK,5,rows2
(5F10.0)*do,i,1,rows1
  n,ntb(i,1),ntb(i,2),ntb(i,3),ntb(i,4)
*enddo*do,i,1,rows2
  e,etb(i,2),etb(i,3),etb(i,4),etb(i,5) !*4 node numbers
*enddo!*=== next block: read in model info, number of nodes, elements etc
filename=strcat('model_info',chrval(fid))
/INQUIRE,rows3,LINES,%filename%,%fext%
*DIM,infotb,ARRAY,rows3,1
*VREAD,infotb,%filename%,%fext%,,JIK,1,rows3
(F10.0)!*=== get number of nodes, elements etc
n_polymer=infotb(3,1)
n_elements=infotb(2,1)
n_fiber=n_elements - n_polymer!*=== next two blocks assign materials to fiber and polymer groups
ESEL,S,ELEM,,1,n_fiber
MPCHG,1,ALL
CM,FILLER,ELEMESEL,S,elem,,n_fiber+1,n_elements
MPCHG,2,ALL
CM,MATRIX,ELEMÂ
Â
/SOL
ALLSEL,ALLNSEL,S,LOC,X,0
D,ALL,UX,0NSEL,S,LOC,Y,0
D,ALL,UY,0NSEL,S,LOC,Z,0
D,ALL,UZ,0
*do,i,1,3 Â Â !* loop over three displacements/SOL
u=50*iNSEL,S,LOC,X,100
D,ALL,UX,uÂ
ANTYPE,0
NLGEOM,ON
AUTOTS,ON Â Â
NSUBST,100,5000,20
NLMESH,SRAT,2Â
ALLSEL,ALL
SOLVE Â Â
FINISH Â/POST1 Â
PLDISP,1NSEL,S,LOC,X,0
set,LAST
fsum
*get,fsum,FSUM,0,ITEM,Fx
force=fsumfilename=strcat('res',chrval(fid))
*if,i,eq,1,then
  *cfopen,%filename%,txt,,
*else
  *cfopen,%filename%,txt,,APPEND
*endif*vwrite,u,force
(G16.8,G16.8)
*cfclosetempname=strcat(chrval(fid),'_')
tempname=strcat(tempname,chrval(i))
filename=strcat('nodal_stress_x',tempname)
*cfopen,%filename%,txt,,
*do,xid,1,rows1
*GET,strx,node,xid,s,X
*vwrite,strx
(G16.8)
*enddo
*cfclosetempname=strcat(chrval(fid),'_')
tempname=strcat(tempname,chrval(i))
filename=strcat('nodal_stress_y',tempname)
*cfopen,%filename%,txt,,
*do,xid,1,rows1
*GET,strx,node,xid,s,Y
*vwrite,strx
(G16.8)
*enddo
*cfclosetempname=strcat(chrval(fid),'_')
tempname=strcat(tempname,chrval(i))
filename=strcat('nodal_stress_xy',tempname)
*cfopen,%filename%,txt,,
*do,xid,1,rows1
*GET,strx,node,xid,s,XY
*vwrite,strx
(G16.8)
*enddo
*cfcloseÂ
FINISHÂ
*enddo
/CLEAR
*enddo   !* end of outer loopÂ
Â
Â
-
August 30, 2023 at 9:57 amAshish KhemkaForum Moderator
Hi,
Â
What is the error message you see? Can you please share the snapshot of the error?
Â
Regards,
Ashish Kumar
-
August 30, 2023 at 6:36 pmYunpeng WuSubscriber
Â
The error message shows below.
Â
-
-
August 30, 2023 at 6:18 pm
-
September 1, 2023 at 6:11 pmwrbulatAnsys Employee
One thing you might try doing to identify the source of the problem is to post process the last converged substep. If you include OUTRES,ALL,ALL command before solving, the results associated with all substeps will be saved to the results file. You should be able to post process these in POST1. If you look at the deformed configuration (e.g., PLDISP command) of the last converged load step, you might see what part of the mesh is on the verge of becoming entangled. I see you are already using SOLID285 (switching to that element type sometimes helps in situations like this, but you're already using it). Have you tried using a different criterion for NLADAPTIVE remeshing? In the example I sent you in your other post, I used an energy criterion which seemed to work pretty well.
-
September 10, 2023 at 2:43 amYunpeng WuSubscriber
Hello, Bill
I tried both mesh and energy types of NLADAPTIVE. But it's still not working, all are stuck at 'cannot create new mesh'.
One thing I'm concerned about is that I import the element and nodes into APDL directly(generated by Gmsh), and I do not use the meshing from APDL, Does it matter and make the command NLADAPTIVE not working?
I'm wondering if I import the elements and nodes that make the new mesh can't be created.
-
-
- The topic ‘cannot converge for 2 materials fiber composites for large displacement’ is closed to new replies.
- Chemkin requires HPC
- Calculate heating of an assembly for a given ambient temperature?
- Press hardening characterization
- ACP PRE problem
- CHEMKIN: Chemical reaction kinetics parameter needed
- Documentation of the kinetics of the reaction of methylamine with NO
- Temperature-dependent viscosity model used in FLUENT flow analysis
- orthotropic material proprierties give me “missing” data, what could it be?
- Explicit Dynamics Material properties
- Get ultimate strength value from simulation
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.