March 24, 2022 at 4:18 pmPureInsanitySubscriber
I am trying to perform a parametric study for Thermo Mechanical Buckling. I've gone through much thick and thin to avoid a lot of errors that were solved by simply creating named selections in space claim. But I've run into what I think is the last error before I can find anything:
As a premise, I have designed a curved strip using the Spaceclaim script editor that includes script parameters for Width, Thickness, Length (or Arc Length in particular) and curvature. I could easily retype a dimension in spaceclaim and then regenerate it in Mechanical to produce some stress-strain analyses. However, running a parametric study out of it does not yield me anything at all. Instead I get this error for each design point (note that all my design points differ only by curvature):
(DP 6) Update of the Geometry component in Curved Strip for Design Point 6 failed: Type 'SpaceClaim.EvaluationDeletedException' in Assembly 'Core, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7210645d4d5e3a39' is not marked as serializable.
I am not sure what settings on which I have left my script or workbench file or mechanical model. Has anyone ran into this problem?March 27, 2022 at 4:13 pmPureInsanitySubscriberUPDATE: I've noticed that every time I punch in a new number in a parameter in spaceclaim, the buttons don't do anything and they make that notification sound you usually hear in Windows. For example, I can't open up the script by right-clicking and selecting "edit script" after I change a dimension, but if the editor was open to begin with, I'm able to type in the console "StopIteration()" and I can save, edit, and retype a new dimension to generate (only to manually type in StopIteration after doing the latter of the three). However, I did try to type in this function inside the script but it didn't change anything.
But despite doing all of this, my parametric analyses still yield the same error as before.
March 29, 2022 at 10:32 amNaresh PatreAnsys Employee
Are you able to change the script parameter values in SpaceClaim and rerun the script?
Being an Ansys Support engineer, I am not able to download any attachment that you have provided. If you can embed a snapshot of your script along with another snapshot showing how the scripts parameters are appearing in SpaceClaim window, that might better help to understand the problem. Also, I would suggest you to check out the scripting parameter example provided in the help document at below mentioned link:
Scripting (ansys.com) (Scripting -> Script Parameters -> Script Group and Parameter Example)
- Naresh Patre
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
March 29, 2022 at 3:58 pmPureInsanitySubscriberAre you able to change the script parameter values in SpaceClaim and rerun the script?
I still have limited capabilities of changing the script parameter values: I need the script open and I have to remember to type "StopIteration" in the interpreter console. If I am not careful, I will end up having duplicate named selections spammed in my Groups.
Viewing 3 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Earth Rescue – An Ansys Online Series
Ansys BlogTrending discussions
- How to work with STL file?
- drawing a geometry by importing a table of points
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
- section plane
- material properties
- Cant import spaceclaim model into fluent mesher
- Ansys Mechanical Unable to get model
- Missing faces on solid bodies
- how to fill solid between two surfaces?
- Importing drawing file to Ansys Design Modeler
Top Rated Tags