CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   simple square mesh generator (https://www.cfd-online.com/Forums/main/5559-simple-square-mesh-generator.html)

beginner December 18, 2002 00:03

simple square mesh generator
 
hi there

im just starting out with CFD and am looking for a simple square mesh generator function

could someone please give me the code for that i.e. the X/Y coordinates and the Mapping criteria in a mesh of unit size

thanks in advance :)

-mayank

versi December 18, 2002 03:02

Re: simple square mesh generator
 
you can use Catesian grid with clustering near the wall of the square.

Dr Strangelove December 19, 2002 15:27

Re: simple square mesh generator
 
It depends on the specific format for your mesh database.

The actual code is not difficult to write. If you're familiar with any programming languages it's a matter of couple of nested loops.



All times are GMT -4. The time now is 01:53.