Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to find the coordinates of Arc sketches in Abaqus script?

Status
Not open for further replies.

Mohsen_Abyani

Marine/Ocean
Sep 5, 2020
5
I am using Abaqus Python scripting to model the following sketch. The dashed green line (Curve_0) is a half circle and the yellow one (Curve_1) is a circle arc. The center point of Curve_2 (which is another circle arc) named Cen_2 must be located on Curve_1. Assuming the x coordinate of Cen_2 is x_Cen_2, its y coordinate can be easily calculated using the equation of Curve_1.

Y_Cen_2=sqrt(R_Curve_1**2-(X_Cen_2-X_Cen_1)**2)+Y_Cen_1
R_Curve_1 is the Radius of Curve_1.

However, this point is not located on Curve_1 which might be due to some graphical complexes or any other reason (please see the figure). In this regard, I have tried several approaches to solve this issue. But none of them has worked. I would appreciate if anyone could kindly advise.
 
 https://files.engineering.com/getfile.aspx?folder=118fd8c2-5d60-4377-b8fe-48b876c884f6&file=Untitled1.jpg
Replies continue below

Recommended for you

I think that the reason is either the way Abaqus displays curves in sketches or the precision used for coordinates (round-off error).
 
I have to find a way to fix it. Otherwise the model will not be generated. Is there any way to solve the problem?
 
Is it just the optical issue or do you get an error message?
 
I get an error message. In fact, if the center of the circle is not located on Curve_1, the cut extrude process fails.
 
I'm sorry, but I don't get it. The center of this curve just defines the shape of the curve. As long as the second yellow curve is connected to the other yellow curve, it should be fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor