![]() And finally, Ansys Mechanical scripts are plain text Python files (“.py”). Whereas Workbench scripts are saved with a different extension (“.wbpj”), but they have Python syntax. In Spaceclaim (SC) scripts can only be read and edited within SC because they are saved in a compiled fashion (extension “.scscript”). Q: Your scripts, do you just save them under different extension rather than *.py without extra command lines in them or there are some extra steps required to make Ansys understand what you want?Ī: Some Ansys scripts are saved with a different extension automatically (Spaceclaim and Workbench), rather than “.py”. The contact region (fiber-matrix) needs to be defined previously. Q: Which type of contact have you used between the fibre and matrix?Ī: It is a contact debonding type for each fiber-matrix interface including a material with the interfacial properties (strength, fracture energy…). ![]() Q: Do you define the name of each domain in the geometry script?Ī: Yes, the names of sets, named selections, groups… are specified in the script. For that reason, the most convenient is to combine it as well with the recording capability. Q: Is there a manual/docu available for python commands that can be used in Ansys? Or do you work predominantly with the journal recorder?Ī: You can use Ansys documentation, since it contains very useful code recipes and snippets, however it does not explain in detail all the Python objects and the data structure.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |