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

Complex terrain geometry as using AutoCAD?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2003, 12:32
Default Complex terrain geometry as using AutoCAD?
  #1
Dai
Guest
 
Posts: n/a
Does anyone know how to make solid object for complex terrain or landscape using AutoCAD or any other CAD related software? So, it can be imported to PHOENICS?
  Reply With Quote

Old   June 2, 2003, 00:51
Default Re: Complex terrain geometry as using AutoCAD?
  #2
leon
Guest
 
Posts: n/a
Dai,

In autocad you need to make the structure out of soild enties.

They need to be constructed in a very particular way, with the corners set up in a prescibed format.

This is in the help files in Autocad.

I have successfully created shapes in Autocad r14 and exported them across - now I only have access to Autocad Lite (no 3D). This process is almost as painfull as building complex geometries in VR VIewer.

If you are not tied to a particular software package, maybe something like 3d Studio max would be easier to build the complex data set.

Hope this helps.

Leon
  Reply With Quote

Old   June 2, 2003, 12:44
Default Re: Complex terrain geometry as using AutoCAD?
  #3
Volker Riedel
Guest
 
Posts: n/a
Hi,

I might have some hints for you, but you should state your problem more precisely:

- In what data format do you have your digital terrain model available? (Surfer grid,...)

- How do you intend to generate the grid? With PIL, with your own tools or with a third-party software like GeoGrid?

regards

Volker
  Reply With Quote

Old   June 2, 2003, 13:53
Default Re: Complex terrain geometry as using AutoCAD?
  #4
Dai
Guest
 
Posts: n/a
Hi, Thank you for your response. - In what data format do you have your digital terrain model available? (Surfer grid,...)

--> Let's say the number of points are around 400, and has x, y, and z coordiantes. The format can be changed readily.

- How do you intend to generate the grid? With PIL, with your own tools or with a third-party software like GeoGrid?

--> I need to make the data set to reperent earth surface in cartesian coordiante as a solid object, and import it to PHOENICS with cartesian coordinate not BFC.

Thank you.
  Reply With Quote

Old   June 3, 2003, 05:11
Default Re: Complex terrain geometry as using AutoCAD?
  #5
Volker Riedel
Guest
 
Posts: n/a
Hi,

unfortunately, I don't have much experience with the use of cartesian grids for flow around complex shaped objects. I think there is a tool DXF2VR delivered with Phoenics that might help you.

You could also write your own data conversion tool that converts your surface representation into appropriate PIL statements that set the cell porosity of all cells "under" the earth's surface to zero.

However, I am still not sure what you intend to simulate actually. What kind of terrain can you represent with about 20*20 horizontal grid points? Do you want to simulate wind flow over this terrain? Then you would have a problem with the ground boundary conditions if you use a cartesian grid.

regards

Volker
  Reply With Quote

Old   June 5, 2003, 16:05
Default Re: Complex terrain geometry as using AutoCAD?
  #6
Dai
Guest
 
Posts: n/a
Thank you for your help. I am not sure why there will be a problem if catertesian grid is used for ground boundary condition in this case? Could you explain me more? Thank you again.
  Reply With Quote

Old   June 6, 2003, 10:02
Default Re: Complex terrain geometry as using AutoCAD?
  #7
Volker Riedel
Guest
 
Posts: n/a
Hi,

whether or not a cartesian grid might cause inaccuracies depends on what you are actually going to model and what flow features are important for you. "Complex terrain" is too general.

regards

Volker
  Reply With Quote

Old   June 11, 2003, 02:06
Default Re: Complex terrain geometry as using AutoCAD?
  #8
Tmas
Guest
 
Posts: n/a
So how would you construct a BFC grid of a terrain if you have 1. An STL file 2. an X, Y, Z, file

Thanks.
  Reply With Quote

Old   June 11, 2003, 04:33
Default Re: Complex terrain geometry as using AutoCAD?
  #9
Volker Riedel
Guest
 
Posts: n/a
Hi,

I have never used STL files but to process such a file one would probabely use third-party grid generation software because otherwise it is not easily handled.

However, Matlab has some functions that allow scattered data interpolation through Delaunay triangulations. It can actually do 2D cubic interpolation on a TIN and that's what is needed to set up a grid over such a terrain representation. This kind of scattered data interpolation in Matlab is however not yet mature, as far as I know it has problems with large triangulations.

What kind of X Y Z file do you mean: A regular grid with fixed grid spacing dx and dy? Or scattered elevation data like sampled height contour lines?

regards

Volker
  Reply With Quote

Old   June 13, 2003, 09:05
Default Re: Complex terrain geometry as using AutoCAD?
  #10
Tmas
Guest
 
Posts: n/a
The conversion between scattered data and regular grid I can manage. My problem is to find an easy way to make a Phoenics BFC grid from such a regular grid. Any suggestions?

Regards
  Reply With Quote

Old   June 15, 2003, 09:20
Default Re: Complex terrain geometry as using AutoCAD?
  #11
Volker Riedel
Guest
 
Posts: n/a
Hi,

unfortunately, there is no "easy" way to design such a grid unless you use commercial software like GeoGrid. If you do not want to spend lots of money into a grid generation system, you might check out MegaCads, which is a full-featured structured multi-block grid generation system. It is available for free (Unix/Linux only) at:

http://www.megacads.dlr.de/home.html

Of course you would need to write your own import/export filters.

As far as I know, state-of-the-art grid generation is almost as complicated as the flow solvers itself. If you really want your own hand-made solution for complex terrain grids, I would recommend to use Matlab. For a simple single-block grid you just have to interpolate your surface representation to the target ground nodes. The setting of the x-y positions of those ground nodes is the complicated part because you usually want to concentrate the grid towards the centre of the domain and this grid zooming must be done smoothly. For the vertical grid spacing you use simple sigma-altitude coordinates with a concentration of the grid lines towards the ground. Unless you use Satellite to view the grid you need to write a GUI that displays the grid and the surface representation and possibly roughness and infrastructure. This is quite a nice piece of programming in Matlab but time consuming.

I have actually developed a complex terrain grid generation system in Matlab but it is not public domain.

I hope this will help you a bit

regards

Volker

  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
Importing AUTOCAD *.dwg 2D geometry JensonButton CFX 2 July 28, 2017 06:35
Combustion in complex geometry?? AdN FLUENT 0 February 28, 2006 09:00
Meshing a complex geometry AJG FLUENT 2 June 29, 2005 08:39
Importing Geometry from AutoCad Maurício CFX 2 March 22, 2005 08:41
modeling of complex geometry Mehdi Main CFD Forum 4 October 8, 2003 13:23


All times are GMT -4. The time now is 12:34.