top of page
Search
Writer's pictureChern Jiek

How To Import Line Bodies from SOLIDWORKS To Ansys

Updated: Mar 14


Introduction

Line bodies: the often-forgotten heroes of the engineering world. They may not have the flashy faces of their solid counterparts, but their reduction in meshing time in structural analysis shouldn't be underestimated.


Transferring them from the familiar realm of SOLIDWORKS to the powerful Ansys workbench can be tricky. Ever spent hours meticulously crafting line bodies in SOLIDWORKS, only to watch the dreaded ''No Valid Bodies Found'' error? Fear not, intrepid engineers! This guide will unveil the secrets of importing line bodies like a pro, empowering you to unleash their full potential in your next simulation.



Error warning in Ansys Workbench showing ''No Valid Bodies Found''


Step 1 Configure your Ansys to be able to read the CAD files from SOLIDWORKS (or any CAD software or the matter)


If you have not done so, you can follow the steps in this blog post here.


Step 2 Create the Line Body in SOLIDWORKS

Most of you already know how to do this. You can use normal or 3D Sketch to create the line body.


Example of a line geometry in SOLIDWORKS created using 3D Sketch

The next step is most likely what you are missing for Ansys to recognize the line body.


Step 3 Composite curve the Line Bodies (The Step That You Most Likely Missed)

Yes, you must composite curve any lines before Ansys can read the line body.


How do you composite curve lines in SOLIDWORKS?

After creating your line body, you can follow the steps in the picture below to Composite Curve the line.


Click on Features, select Curves, then Composite Curve, and finally, select your line to create a Composite Curve of your line body.


Detailed steps on how to Composite Curve a line geometry in SOLIDWORKS part 1
Detailed steps on how to Composite Curve a line geometry in SOLIDWORKS part 1

Detailed steps on how to Composite Curve a line geometry in SOLIDWORKS part 2
Detailed steps on how to Composite Curve a line geometry in SOLIDWORKS part 2

One thing to keep in mind is that this method has a limitation when it comes to intersecting lines in a line body such as trusses, space frames, etc. If you attempt to apply a Composite Curve to the whole geometry, you will receive an error warning. The Compositive Curve feature in SOLIDWORKS does not support intersecting line bodies.



Example of a line geometry with intersecting lines

How do we deal with intersecting line bodies?


If you have intersecting lines in your geometry, for example, truss structures, you must break your geometry into sections and create groups of composite lines.


Create each line section individually, then apply Composite Curve. Repeat until all sections are complete.


Composite curve for the first group of lines
Composite curve for the first group of lines

Compositve curve for the second group of lines
Compositve curve for the second group of lines

Composite curve for the final group of lines
Composite curve for the final group of lines

Once you are done creating the line geometry, save the file as a part file.


Step 4 Bring the File Into Ansys

The next step is to import the SOLIDWORKS Part file into Ansys. If you have not performed Step 1, this will not work. We will use Design Modeller and Static Structural in Workbench for this example.


Importing the SOLIDWORKS part file into ANSYS


Step 5 Enable Line Body Inside Ansys

Once you have imported the SOLIDWORKS file into Ansys, open it in Design Modeller. Under Basic Geometry Options, there is a setting for Line Bodies. By default, it is switched to NO; switch it to YES.


Steps on how to enable Line Bodies inside Basic Geometry Options
Steps on how to enable Line Bodies inside Basic Geometry Options

Step 6 Hit Generate and Profit!

Once you have done the previous step, just hit the Generate button, and you are done!


If you have further questions on this or any CAD/CAE-related questions, post them on our forums here!



Recent Posts

See All

Subscribe Form

  • Whatsapp
  • Facebook
  • youtube

©2019 by Noticeboard. Proudly created with Wix.com

bottom of page