CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   MESH Generation (https://www.cfd-online.com/Forums/main/7939-mesh-generation.html)

Dan August 12, 2004 08:35

MESH Generation
 
Hi,

Does anybody know what the best reference is for multi-block structured mesh generation in the CIRCULAR plane? I am particularly looking for a standard 5-block grid generation in a circle (i.e, a central block surrounded by 4 other same-size blocks).

The reference could be a book, a TM, or even better, a simple Matlab or Fortran code? Any of these would work for me.

Thank you.

Rami August 15, 2004 10:09

Re: MESH Generation
 
Dan,

It seems simple enough to write the code by yourself.

In the lack of details, I assume you need to mesh an inner circle (0 < r < Ri, 0 < phi < 2*pi) and four indentical annular blocks (all with Ri < r < Ro, the first with 0 < phi < pi/2, etc) and uniform grids in r and phi. I also assume the grids are matched on the block interfaces.

It would be trivial to write a code that generates each of the blocks vertices in polar coordinates (and transform to Cartesian if needed). As the blocks are structured, cell indices determine the vertices indices. All you need to play with is the values Ri, Ro and the number of intervals in r and phi, and write the grid in the desired format.

If any of the above assumptions should be relaxed, the changes to the code should be minor and straightforward.

I hope this helps.


All times are GMT -4. The time now is 16:50.