Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seed Edges in Abqus script using Sets

Status
Not open for further replies.

vasavdubey

Structural
Joined
Nov 17, 2015
Messages
3
Location
US
Hello everyone,
Currently I am working on concrete microstructure for which I am developing a Abaqus script which will create random microstructure with provided characteristics and do analysis. I need help in extracting edges from sets I defined during creating parts.

I want to seed the edges in these parts with this python command

a.seedEdgeBySize(edges=Edges1, size=0.5, constraint=FINER)

I need to get Edges1 from the Set I defined previously in the script. I was trying to use something like this

a = mdb.models['Model-1'].rootAssembly
e1 = a.instances['MatrixITZAggregate-1'].sets['Aggregate1'].edges
Edges1 = e1.getBbyBoundingBox(1.0,1.0,0.0,999.0,999.0,0.0)

but It doesn't seem to be working. I know a way to do this using findat command, but due to large no of edges in the part it is not easy to incorporate findat in my script. Is there any way to do it without specifying the coordinates for all the edges using findat?

Kind regards,
Vasav Dubey
 
You can assign local seed also to faces and cells. So I think there is no need to extract the edges of your set.
 
Can I do something like this?

a = mdb.models['Model-1'].rootAssembly
e1 = a.instances['MatrixITZAggregate-1'].sets['Aggregate1'].faces
a.seedPartInstance(regions=e1, size=1.0, minSizeValue=0.9)
 
What's the content of that set? Cells? Faces?

Is that region a solid or shell structure?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top