Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to change BIAS direction in Python

Status
Not open for further replies.

pitagoras15

Industrial
Oct 2, 2014
16
Hi there,

I need to know how to change the direction of the BIAS meshing, but I need to know how to write it on Python. When I do it from the CAE, in the .jnl there is no difference. Any idea?

The line that I get from the .jnl refered to BIAS meshing is:

mdb.models['Model-1'].parts[part_name].seedEdgeByBias(biasMethod=SINGLE, constraint=FINER, end1Edges=mdb.models['Model-1'].parts[part_name].edges.findAt
(((MESH_A1, MESH_A2_SUB, 0.0), )), end2Edges=mdb.models['Model-1'].parts[part_name].edges.findAt(((MESH_A1, MESH_A2_SUB2, 0.0), )), minSize=1e-05, maxSize=0.0002)

Thanks in advice,

Regards.
 
Replies continue below

Recommended for you

I found the solution. I changed the edges selected in end1Edges from the ones in end2Edges and it works. I don't really know why, but it works for me.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor