I have an assembly in Autodesk Inventor, whose parameters I want to import to Parameter Set and subsequently to Response Surface Optimization. As far as I know, I can extract parameters from a 3D CAD design in Autodesk Inventor, as displayed in this video
https://www.youtube.com/watch?v=r1rU2DhUmtw. Unfortunately, I don't have the hardware to do so (minimum 4GB of GPU), thus my design doesn't open in ANSYS Discovery. 1) If the issue is something else please let me know. In Inventor, I have parametrized my design, so when I change the parameters from the Excel spreadsheet, they automatically change the design. The problem is that when I press "Update from CAD" button in ANSYS Mechanical (I have used the built-in application in Inventor to load the design in ANSYS), the contacts change and the mesh as well, thus I have to re-apply them manually (Bonded, MPC formulation, Constraint Type: Uncoupled U to ROT, selection of surfaces/bodies for contacts, mesh method/sizing). 2) How can I create a workflow by using code to do that automatically? I have already created the Named Selections in Inventor and they are visible to Ansys Mechanical, but how do I connect them via coding? When I run the Optimization, I want these events to happen automatically, otherwise it won't run, because the Contacts and the Mesh will not be defined. Moreover, I need the code to select specific parts and designate the Method and the element size for these parts. What kind of code should I write? Where do I find documentation about it? Do I write it in Ansys Mechanical or do I use ACTWorkflowDesigner? I am a bit confused regarding the utility of coding in ANSYS in a) ANSYS APDL, b) in ANSYS Mechanical (scripting) and c) In some other external sosftware (
https://www.youtube.com/watch?v=9OZckJ36DFM)
What I have done so far is: 1) Create named selections in Inventor, 2) Group all surface and solid parts and create named selections as well, 3) Write code in scripting within ANSYS Mechanical so the mesh and the contacts are completed automatically when I run the script. What I want to do, is create a workflow like this: a) Design the assembly in Inventor and export the parameters b) Insert the parameters into Parameter Set, c) Create Design of Experiments points, d) Have a piece of code that is going to assign the right mesh and contacts in every point d) Run Response Surface Optimization for Model updating.
Thanks in advance