We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation General Mechanical How to use script to run the cfile for creating k file? Reply To: How to use script to run the cfile for creating k file?

cct
Subscriber

 

Thank you for your help, Imtiaz.

The issue is solved by these steps:

1. In the cfile, the path for saving the keyword is removed sice if you give a path, the same file will get overwritten; if you don't define a path, k file will be created locally in individual folders.

2. The section and material cards are moved to the main file. The thickness parameter can be defined directly in *SECTION using *PARAMETER, no need to define this in cfile.
 
3. In cfile, there's only *part card for cube. The lines with "$" in cfile are removed since ls-opt was adding extra line if there is "$' in cfile and that caused issues in LSPP in writing correct *PART card.

Â