CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Import terrain model from CAD?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2010, 12:46
Question Import terrain model from CAD?
  #1
New Member
 
Join Date: Jun 2010
Posts: 4
Rep Power: 16
srceko25 is on a distinguished road
Hello!

I am quite new to ANSYS/FLUENT and I would like to know how can I import a terrain model from AutoCAD to ANSYS geometry? The AutoCAD .dwg file contains height contours of the site and is in a local coordinate system. Do I need to manipulate the original file in some way for it to be usable for ANSYS? When I just upload the file that I have I get the error (invalid geometry).

Thank you for your help!!
srceko25 is offline   Reply With Quote

Old   June 11, 2010, 03:43
Default
  #2
New Member
 
Join Date: Jun 2010
Posts: 4
Rep Power: 16
srceko25 is on a distinguished road
Anyone????
srceko25 is offline   Reply With Quote

Old   June 11, 2010, 10:11
Default
  #3
Member
 
Edu
Join Date: Sep 2009
Posts: 36
Rep Power: 17
Edu-R is on a distinguished road
Hi!

Have you tried to export as IGES or STEP file? Ansys could read it, but I donīt know if AutoCAD can do it :S

Regards
Edu-R is offline   Reply With Quote

Old   June 14, 2010, 08:18
Default
  #4
New Member
 
didier
Join Date: Nov 2009
Posts: 7
Rep Power: 17
zeitoun is on a distinguished road
Hi,
I'm also in the same case.
There must (I guess !) be a way to just import points from the CAD file into Ansys Design modeler.
Those point should appear simply as construction points that can then be used to construct the geometry inside Design Modeler, and NOT do the whole geometry in the CAD software and export the finished solid geometry, which is more difficult..

Does anybody here around know how to export points from a DWG Autocad file into Ansys DM ?

cheers, Z
zeitoun is offline   Reply With Quote

Old   June 16, 2010, 03:50
Default
  #5
Member
 
kdrbrk's Avatar
 
Burak
Join Date: May 2009
Posts: 90
Rep Power: 17
kdrbrk is on a distinguished road
Is your terrain a 3D surface in autocad?
kdrbrk is offline   Reply With Quote

Old   June 16, 2010, 17:06
Default
  #6
New Member
 
didier
Join Date: Nov 2009
Posts: 7
Rep Power: 17
zeitoun is on a distinguished road
Quote:
Originally Posted by kdrbrk View Post
Is your terrain a 3D surface in autocad?
No, it's just points. No line or surface or solid. Just points.
I have to build the solids in another tools. Why not Ansys Design modeler ?

regards
zeitoun is offline   Reply With Quote

Old   June 22, 2010, 17:09
Default
  #7
New Member
 
Will Collingwood
Join Date: Feb 2010
Posts: 3
Rep Power: 16
Will C is on a distinguished road
I've been working on almost exactly the same problem.

Unfortunately, I don't think you will find AutoCAD or Design Modeler to be much help in your particular case.

Look at other software programs to help you in this endeavor. Take a look at the programs by Sycode. You can download them for free for a limited number of trials: http://www.sycode.com/products/terraincad/

We've been using a program called Vulcan to render our geometries, but it is pretty specialized and very expensive.

I've also heard that you can write a Matlab code to render your geometry, but this sounds extremely onerous.

Good luck!
Will C is offline   Reply With Quote

Old   June 25, 2010, 05:38
Default
  #8
sac
Member
 
Join Date: Jun 2010
Posts: 44
Rep Power: 17
sac is on a distinguished road
It can be done in DM.

I take it you want to do it through sketches.

If so just start a new session of DM -> go to the sketching menu and make a few random points -> then go back to the modelling menu on the tree and pick the sketch -> then go to the file menu on the bar and then "write script: sketches of active plane". It should produce you a javascript file that shows you what you've done in that sketching session. You can then edit the javascript to match the points want to add.

There is a good example of what to next with these points in the DM manual -> Scripting API -> Features example.

Also the point feature in the create menu can import co-ordinates files.
sac is offline   Reply With Quote

Old   June 26, 2010, 06:36
Default
  #9
New Member
 
didier
Join Date: Nov 2009
Posts: 7
Rep Power: 17
zeitoun is on a distinguished road
sac,
what you said is interesting.
I've been trying this way. The only problem is the point feature in DM needs coordinate file with a certain format, and that is not a .dwg file.
So now the point is: how can I convert a set of points in autocad to a list of coordinates into a file ?
Any idea ?
zeitoun is offline   Reply With Quote

Old   June 28, 2010, 05:51
Default
  #10
sac
Member
 
Join Date: Jun 2010
Posts: 44
Rep Power: 17
sac is on a distinguished road
Quote:
Originally Posted by zeitoun View Post
So now the point is: how can I convert a set of points in autocad to a list of coordinates into a file ?
I'm sorry I don't use autocad so I cannot tell you how you would get that information out of it.
sac is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complicated CAD import, how do I find fluid volume? dgzilber CFX 3 June 1, 2009 19:46
SketchUp 3D model import to Gambit or Fluent Steve Johnson FLUENT 0 February 8, 2009 15:21
Import a 3d model (Solids 3d) from autoCad to Phoe Anastasia Phoenics 4 September 28, 2008 14:46
about import CAD file into Pheonic Juan Phoenics 2 February 8, 2004 20:42
Import to CAD - Gambit guest Main CFD Forum 5 November 21, 2002 11:37


All times are GMT -4. The time now is 22:46.