2-D import from Solidworks to Ansys
2-D import from Solidworks to Ansys
(OP)
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
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





RE: 2-D import from Solidworks to Ansys
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