TAGGED: apdl, residual-stress, welding
-
-
December 12, 2021 at 8:00 am
Falgun_abs
SubscriberI am creating a moving Gaussian heat source using APDL code. My aim is to get temperature result and then transfer load to Transient structural to measure residual stresses in welding. I am getting message "An unknown error occurred during solution. Check the Solver Output on the Solution Information object for possible causes." I am using student version of ANSYS 2021 R1. The APDL code is as following:
CSYS,0
CMSEL,ALL
*GET,EMAX,ELEM,NUM,MAX
*GET,EMIN,ELEM,NUM,MIN
ALLSEL
QL=1250
r0=0.006
d=0.005
PI=3.141
VEL=0.005
TAU=0
time_weld=6
time_inc=0.1
time_steps=time_weld/time_inc
NROPT,FULL
*DO,i,1,time_steps,1
WTIME=(i*time_inc)
TIME,WTIME
HCENTER==VEL*WTIME
*DO,jj,EMIN,EMAX,1
X=CENTRX(jj)
Y=CENTRY(jj)
Z=CENTRZ(jj)
CSI=-Z+(VEL*(TAU-WTIME))
Q=(QL/((PI)*(r0**2)*d))*exp((1-(X**2+CSI**2+Y**2)/r0**2)*(1-Y/d))
BFE,jj,HGEN,,Q
*ENDDO
SOLVE
*ENDDO
CMSEL,ALL
BFEDELE,ALL,ALL
ALLSEL
December 13, 2021 at 3:39 pmChandra Sekaran
Ansys EmployeePlease take a look at the 'Solution Information' --> Solver Output'. Or go to "solution --> right mouse click--> open solver files directory' and open solve.out file. Look for the word 'Error'. I expect it to be towards the end of this file. It could be due to some parameter not being defined in the APDL script or some other reason.
December 14, 2021 at 6:52 amFalgun_abs
SubscriberThank you for your reply.
I am at beginner stage so please help me to understand these errors.
I am finding following warnings and errors:
*** WARNING ***CP =193.969TIME= 12:00:17
Material number 2 (used by element 18951) should normally have at least
one MP or one TB type command associated with it.Output of energy by
material may not be available.
*** ERROR ***CP =193.969TIME= 12:00:17
Present time 6 is less than or equal to the previous time 6 in a
transient analysis.
*** ERROR ***CP =194.078TIME= 12:00:17
The step data was checked and there were errors found.
Please check output or errors file
Viewing 2 reply threads- The topic ‘I AM GETTING “UNKNOWN ERROR OCCURED” MESSAGE WHILE USING THIS APDL CODE.’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3597
-
1283
-
1107
-
1068
-
983
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-