We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

How to import DXF 2D geometry?

    • CrefroD
      Subscriber

      Hello,


      I am trying to import a 2D geometry file in dxf format into Ansys Workbench. I have enabled AutoCAD integration in CAD Configuration Manager, but now I'm getting the following message:



      If the student license does not include the AutoCAD import feature, then which neutral format could I use for importing 2D geometry?

    • peteroznewman
      Subscriber

      Hello,


      The Student license does not include any third-party CAD integration licenses.


      The Student license does include SpaceClaim, which can open many third-party CAD files and many neutral files like DXF. 


      Open SpaceClaim, then File, Open and set the file type to AutoCAD and you should be able to open the .dxf file.


      Regards,
      Peter


      If this post answered your question, please click the Is Solution link below.

    • CrefroD
      Subscriber

       Thank you for your reply. Now I can open the .dxf file in SpaceClaim, but when I try to proceed to meshing (using ANSYS Workbench Meshing), I get the error message saying that there are no bodies to import. All the tutorials about 2D simulation I've found are using DesignModeler. 

    • peteroznewman
      Subscriber

      Hello,


      When you import a DXF into SpaceClaim, there is more work to do to convert them to beams. Here is a Tutorial that I made to create a bridge using beam elements.  There are many tutorials on SpaceClaim in the Tutorial section of this site.


      I removed the "quote" section from your reply since it is easy to read the previous post above your reply. 


      Kind regards,
      Peter

    • CrefroD
      Subscriber

      Hello,


      thank you for the link to the tutorial. The problem is that I want to use 2D .dxf geometry as a flow volume for a 2-dimensional CFD simulation in ANSYS Fluent, I do not need to create a 3D model from it. Does SpaceClaim have something like "Surface from Sketches" tool in DesignModeler?

    • peteroznewman
      Subscriber

      Hello,


      SpaceClaim has you sketch in a plane or on a face, then automatically converts a closed loop of curves into a surface when you exit the sketch and go into 3D mode.


      I just tried importing a 2D DXF file of four lines for the exterior and two circles for the interior. In SpaceClaim, select all the curves then click the Fill tool to create the surface.  You will get a surface inside each circle, just delete those faces if you want.


      Regards,
      Peter


      If this post answered your question, please click the Is Solution link below.

Viewing 5 reply threads
  • The topic ‘How to import DXF 2D geometry?’ is closed to new replies.