Tagged: apdl, DO loop, script, Tabular Load
-
-
June 6, 2022 at 9:58 am
FAQ
ParticipantBelow is a script demonstrating the technique to use table parameters having names ending with a sequential value within a do loop. For testing I just list the file contents so you would insert the *dim prior to your do loop and then the do loop contents of my file (after the *do up to the *enddo) into your do loop. Then uncomment the /input. The second line that starts with str(1) is set up so that you can easily change it to ‘all’ or a number such as ’24’.
*dim,str,string,80
*do,jj,1,100
!
*stat,jj
!
str(1)=’sfa,’
str(1)=strcat(str(1),’area_num’)
str(1)=strcat(str(1),’,’)
str(1)=strcat(str(1),’1,pres,%uplift’)
str(1)=strcat(str(1),chrval(jj))
str(1)=strcat(str(1),’%’)
*cfopen,cmds,inp
*vwrite,str(1)
%S
*cfclose
!/input,cmds,inp
*list,cmds,inp
!
!
!
*enddo
-

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...

How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...

Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1Â provides background information on the model and a...

Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- How do I request ANSYS Mechanical to use more number of cores for solution?
- How to deal with “”Problem terminated — energy error too large””?”
- How to restore the corrupted project in ANSYS Workbench?
- Contact Definitions in ANSYS Workbench Mechanical
- There is a unit systems mismatch between the environments involved in the solution.
- How to transfer a material model(s) from one Analysis system to another within Workbench?
- How can I change the background color, font size settings of the avi animation exported from Mechanical? How can I improve the resolution of the video?
- How to obtain force reaction in a section ?
- How to change color for each body in Mechanical?
- How to resolve “Error: Invalid Geometry”?
© 2025 Copyright ANSYS, Inc. All rights reserved.