How to generate the Cartesian grid
Hi CFDer guys,I want to generate Cartesian grid,does anyone use program code to generate the Cartesian Grid ?Can you give me some advise or some code ?
I try a lot to write program codeb by C++ to implement the Cartesian mesh generation , but I lost myself ,I donn't know how to write the code .So I appreciate you guys can help me and if possible,please give me the code to generate the Cartesian mesh. Thank you so much! Now I feel like that I was at sea without dirctions.:confused: I look forward to seeing you guys as my sunshine to take me in the right direction. Thank you again! My email address is :wyd19870328@163.com. 
HI
I dont understand the difficulty here.Or maybe I haven't understood your doubt correctly.. All you have to do is generate some x and y coordinate values to each grid point right? something like: delx=.5; for i=1:1:10 x(i+1)=x(i)+delx; end Thanks Manu 
what I want to say is that :how to generate Adaptive Cartesian Mesh .Thank you all the same !

All times are GMT 4. The time now is 09:58. 