TAGGED: drop-size, post-processing, rst
-
-
July 16, 2021 at 5:25 pmsafianaSubscriber
Hi everyone,
I found an interesting content regarding reducing the size of .rst file in ANSYS APDL in the following link:
https://www.padtinc.com/blog/reducing-the-size-of-your-rst-file-outres-is-your-friend/
Let's say I have a model with a large number of elements and nodes. After the solution, I only care about stress changes at a small portion of the model. Now, I want to write a code similar to this website to reduce my .rst size as much as possible only for that small portion. I wrote a sample code at the end of this post. For example, I have a cantilever beam with a large number of nodes. It has 4 load step and for the final result, assume I only care about the deformation of the nodes that are located between z=180 to z=200. The first question arises in my code: if OUTRES has to be written before LSWRITE or after it? Because if I write it before LSWRITE, it will ignore my boundary conditions at z=0 and the solution is not what I want. Can anyone fix this code to reduce the .rst size?
/prep7Â Â
et,3,186
MP,EX,1,2e5Â
MP,PRXY,1,0.3Â Â
MP,DENS,1,7.8e-9
MP,BETD,1,1e-4
BLC4,0,0,5,5,200
esize,0.5
vmesh,all
/solu
DA,1,all
ANTYPE,4Â
TRNOPT,FULLÂ
TIMINT,ON,ALL
NSUBST,3,10,1
nsel,s,loc,z,180,200
esln,s
nsle,s
CM,nxtrnl,node
CM,extrnl,elem
OUTRES,erase
OUTRES,nsol,last,nxtrnl
time,1
DA,2,Uy,0.1
LSWRITE,1
time,2
DA,2,Uy,-0.1
LSWRITE,2
time,3
DA,2,Uy,0.05
LSWRITE,3
time,4
DA,2,Uy,-0.12
LSWRITE,4
allsel,all
LSSOLVE,1,4,1Â Â
July 21, 2021 at 8:38 pmdloomanAnsys EmployeeIt should be before the first lswrite command. Outres won't cause your boundary conditions applied with the DA command to be ignored if that's what you mean by z=0. Lswrite commands can be replaced with solve commands.
Viewing 1 reply thread- The topic ‘How to reduce .rst size in ANSYS APDL for a transient analysis?’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- Frictional No separation contact
- Image to file in Mechanical is bugged and does not show text
- Timestep range set for animation export
- Script Error Code:800a000d
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
Top Contributors-
1406
-
599
-
591
-
555
-
366
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.
-