TAGGED: ansys-mechanical, ansys-spaceclaim, ansys-student
-
-
March 24, 2022 at 4:18 pm
PureInsanity
SubscriberI 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=1.0.0.0, 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 pmPureInsanity
SubscriberUPDATE: 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 Patre
Ansys 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 pmPureInsanity
SubscriberAre 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- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.Â
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- How to work with STL file?
- Rotate tool in ANSYS Design Modeler
- section plane
- Using Symmetry in DesignModeler and Expanding the Results
- ANSYS FLUENT – Operation would result in non manifold bodies
- drawing a geometry by importing a table of points
- material properties
- Coordinates orientation
- “contact pair has no element in it.” how to resolve this problem
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
Top Contributors-
7742
-
4502
-
2963
-
1449
-
1322
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-