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!

2-D import from Solidworks to Ansys

Status
Not open for further replies.

Burti

Mechanical
Jun 3, 2009
5
Hello Guys,
I am currently running Solidworks and Ansys. I was wondering if it is possible to import a 2-D sketch from Solidworks into Ansys and turn this into an area rather than creating the area in the modelling section of Ansys itself. I know this is possible in 3-D using parasolid or IGES format.....

Many thanks

Burti
 
Replies continue below

Recommended for you

Yes I tend to do this rather than wrangling around with Ansys's internal geometry creation functions. I tend to use IGES, but SAT can be used too.

Anyway for IGES, I tend to use the following code:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!IMPORT & SETUP INITIAL GEOMETRY !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

/AUX15
IOPTN, MERG, NO
IOPTN, SOLID, NO
IOPTN, IGES, SMOOTH
IOPTN, SMALL, NO
IOPTN, GTOLER, 0.0001

IGESIN, 'D:\<your path>\<your filename without extension>, IGS

/PREP7

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It will be repeatable so you can continue on coding by referring to area, line and keypoint names etc, as long as the SW model doesn't change significantly. You need to be careful of this though, if you are optimising your SW model.

Building a good parametric SW model is a good option, as the creation / addition / removal of entities in SW is what affects the area / line renumbering in Ansys. So a good geometrically consistant parametric SW model is what you ideally need.

Make sure too that your SW geometry is spot on and as simple as it can be, and also be careful of SW trying to be clever and simplifying objects automatically (which it sometimes may try to do without you realising).

Hope that's useful.

Regards,

to216
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor