TAGGED: acoustic, apdl-commands
-
-
December 17, 2024 at 5:59 amVikas SablaniyaSubscriber
Hi everyone,
I am trying to capture the image in modal acoustics through script commands in Ansys
I try to write a command, but it does not have colours.
Â
the code is
/SHOW,PNG
/VIEW,1,1,1,1
/GFILE,800
/REPLOT
/IMAGE,SAVE,'current_image.png'
/SHOW,CLOSE
/RGB, INDEX,100,100,100,0What is wrong with the commands? I am trying to capture this type of image.Â
-
December 17, 2024 at 8:00 amErik KostsonAnsys Employee
Â
Â
Hi
First do an EPLOT
You need to use SET (e.g, set,1,1 for first mode) command in /POST1 to choose the mode.
ThenÂ
Â
Â
plnsol,pres ! plot first mode if set,1,1 was used before
Â
Â
See the help manual for more info and to go through in detail the free apdl course :
https://innovationspace.ansys.com/product/intro-to-ansys-apdl-scripting/
All the best
ErikÂ
Â
Â
-
December 19, 2024 at 6:40 amVikas SablaniyaSubscriber
Thank you
Â
-
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending 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
-
550
-
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.