TAGGED: apdl
-
-
June 2, 2025 at 2:52 pm
2020221038
SubscriberCould you please advise on how to automatically output the result as a file with the .out extension after setting OUTPR, ESOL, LAST in the solution phase?
-
June 4, 2025 at 5:19 am
Shashidhar Reddy
Ansys EmployeeHi,
To automatically output the result as a file with the .out extension after setting OUTPR, ESOL, LAST in the solution phase, you can use the /OUTPUT command before issuing the SOLVE command. This will redirect the output to a file instead of the screen.
Please find more information through below link.
Thank you
Regards
Shashidhar, PhD
-
June 4, 2025 at 9:29 am
jennikim266
SubscriberThis is an excellent article. This is, in my opinion, one of the best posts ever written. Your work is excellent and inspiring curve rush free game. Thank you very much.
-
June 4, 2025 at 10:01 am
Shashidhar Reddy
Ansys EmployeeThank you.
-
-
June 4, 2025 at 2:41 pm
2020221038
SubscriberThank you very much for your reply, I have tested what you said and it still doesn’t work. I have tested the /output position as well and it still doesn’t work.
such as:
FINISH$/CLEAR
!/filname,00 SHELL, 1
/PREP7!!….
/solu
/output
allsel, all
antype,0
!nlgeom, on
ERESX,no
autots,on
nsubst,10,500,10
neqit,100
!stat, inrtia
cnvtol,u,,0.05
cnvtol,f,-1
cnvtol,M,-1
outres,esol,last
OUTPR,ESOL,LAST
!/output
solveor
/solu
!/output
allsel, all
antype,0
!nlgeom, on
ERESX,no
autots,on
nsubst,10,500,10
neqit,100
!stat, inrtia
cnvtol,u,,0.05
cnvtol,f,-1
cnvtol,M,-1
outres,esol,last
OUTPR,ESOL,LAST
/output
solveWhen the output command is placed at the very beginning of all commands, the out file can be output. However, in the solution phase, performing /output before solving doesn’t result in an out file, only in the preprocessor phase?
/CLEAR
/OUTPUT,TEST,OUT
/PREP7!!
…..
/solu
allsel, all
OUTPR,ESOL,LASTantype,0
!nlgeom, on
outres,esol,last
ERESX,no
autots,on
nsubst,10,500,10
neqit,100
!stat, inrtia
cnvtol,u,,0.05
cnvtol,f,-1
cnvtol,M,-1
solve -
June 5, 2025 at 3:28 am
Shashidhar Reddy
Ansys EmployeeHello,
Here is the sample script. It will print all the solution characteristics along with the solution items that are to be printed to a file named "Solutionprint" in solver directory.
/PREP7/TITLE, Example, BENDING OF A SOLID BEAM (PLANE ELEMENTS)ANTYPE,STATICET,1,PLANE42,,,,,,2 ! PLANE42 WITH SURFACE PRINTOUT FOR FACES 1 AND 3MP,EX,1,30E6MP,NUXY,1,0.0N,1N,6,10FILLNGEN,2,10,1,6,1,,2E,1,2,12,11EGEN,5,1,1D,1,ALL,,,11,10F,6,FX,1000F,16,FX,-1000/SOLUOUTPR,NSOL,1OUTPR,ESOL,1/OUT,SolutionprintSOLVE/POST1SET,LAST*GET,U1,NODE,16,U,Y/GRAPHICS,POWER/ESHAPE,1/VIEW,1,1,1,1PLNSOL,S,X !BENDING STRESS-
June 10, 2025 at 2:07 pm
2020221038
SubscriberHello! I noticed that the out file results do not include the principal stress results, only the results below, but there is no relevant explanation in the esol documentation.
“S” Stresses (11,22,33,12,23,13)
“EPTO” Strains (11,22,33,12)
“EPEL” StrainsEL(11,22,33,12)My structure is cylindrical, and I want to extract the radial strain and principal stress at the integration point.
-
-
June 5, 2025 at 8:54 am
-
- You must be logged in to reply to this topic.
-
3266
-
1031
-
1004
-
859
-
798
© 2025 Copyright ANSYS, Inc. All rights reserved.