Using iLogic for Idealization of Shell Elements

Using iLogic for Idealization of Shell Elements

Anonymous
Not applicable
500 Views
5 Replies
Message 1 of 6

Using iLogic for Idealization of Shell Elements

Anonymous
Not applicable

Hi, 

I want to use iLogic to create a Shell Element Idealization and can't find a way to get it work. 

When running the rules I get an error "Mesh does not contains any nodes or elements" and I think its this row of code that is the problem:

 strCmdForNewIdealization = "<NewIdealization Name=""Test Shell 1"" ID=""1"" Type=""1"" AddToFEModel=""1"" Color=""11087083"" CoordinateSystemID=""0"" MaterialID=""1"" EntitiesCount=""0""/>"

I copied it from an turtorial example but instead of using Shell elements it used Solid. So I changed it from Type = "2" (solid) to Type = "1" (Shell) accoring to this website: 
https://knowledge.autodesk.com/support/nastran-cad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/N...

 

What could be the problem? 
When apply an Idealization "manually" and not using iLogic you have to define the thickness of the Shells and I don't know how to do it in iLogic.

 

Thanks in advance!

0 Likes
Accepted solutions (1)
501 Views
5 Replies
Replies (5)
Message 2 of 6

clutsa
Collaborator
Collaborator

I love how the only difference in the example between solid and shell is spelling "CoordinateSystemID" wrong. 

I see you are using AddToFEModel=""1"" not AddToAnalysis=""1""... not saying your wrong just something I see as different. Also could you put a line that shows a message before and after that line (or use the logger.debug in 2019.1) and make sure that is where your error is happening?

 

This is also a total guess but you could try adding Thickness=""<your actual thickness>""  and see if it likes that. 

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates

Message 3 of 6

Anonymous
Not applicable

Thank you for your answer, I will check out your suggestions tomorrow morning! 

 

Yeah, I noticed the misspelling to, but the code worked out fine in the turtorial though. 


Another questions, how do I "uncheck" the box for "Associated Geometry" when using Shell Elements in iLogic?

For now it's automatically selected and I want to use "Triangles" or "Quadrilaterals" instead. 

 

0 Likes
Message 4 of 6

clutsa
Collaborator
Collaborator

This is another guess but I would try AssociatedGeometry=""0"" ... as for picking the radio button GeometryType=""0"" for Quadrilaterals and GeometryType=""1"" for Triangles but this is all me looking at their general documentation and making assumptions.

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates

0 Likes
Message 5 of 6

Anonymous
Not applicable

The thickness command worked out great! Thank you!

 

But unfortunately the AssociatedGeometry=""0"" didn't seem to operate with me... 

 strCmdForNewIdealization = "<NewIdealization Name=""Test Shell 1"" ID=""1"" Type=""1"" AddToAnalysis=""1"" MaterialID=""1"" Color=""11087083"" AssociatedGeometry=""0"" GeometryType=""1"" CoordinateSystemID=""0"" Thickness=""0,001[m]"" EntitiesCount=""0""/>"

I did some debugging as you suggested and the only error left (hopefully) is the associated geometry. Running the Idealization-row above creates a new Shell Element Idealization but I have to click "Edit" to uncheck the Associated Geometry box by myself.  

0 Likes
Message 6 of 6

Anonymous
Not applicable
Accepted solution

UPDATE: 

After some more research I found the solution. By typing in HasAssociatedGeo=""0"" will uncheck the Associated Geometry box. My code will now look like:

strCmdForNewIdealization = "<NewIdealization Name=""Test Shell 1"" ID=""1"" Type=""1"" AddToAnalysis=""1"" MaterialID=""1"" Color=""11087083"" HasAssociatedGeo=""0"" CoordinateSystemID=""0"" Thickness=""0,001[m]"" EntitiesCount=""0""/>"

Thank you for your interest! 

0 Likes