CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to generate the Cartesian grid

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2011, 11:43
Default How to generate the Cartesian grid
  #1
New Member
 
wangyuanding
Join Date: Nov 2011
Posts: 5
Rep Power: 15
wyuanding is on a distinguished road
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.
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.
wyuanding is offline   Reply With Quote

Old   November 25, 2011, 01:13
Default
  #2
New Member
 
Manu Kamin
Join Date: Nov 2011
Posts: 17
Rep Power: 15
manukamin is on a distinguished road
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 co-ordinate values to each grid point right?

something like:

delx=.5;

for i=1:1:10

x(i+1)=x(i)+delx;

end

Thanks
Manu
manukamin is offline   Reply With Quote

Old   November 28, 2011, 06:35
Default
  #3
New Member
 
wangyuanding
Join Date: Nov 2011
Posts: 5
Rep Power: 15
wyuanding is on a distinguished road
what I want to say is that :how to generate Adaptive Cartesian Mesh .Thank you all the same !
wyuanding is offline   Reply With Quote

Reply

Tags
cartesian grid


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
How to use Cart3D to generate Cartesian grid? wyuanding ANSYS 2 December 1, 2011 06:48
Non-uniform Cartesian grid generation quarkz Main CFD Forum 0 March 23, 2011 11:18
How can generate Uniform Cartesian grid? Harry Main CFD Forum 22 January 17, 2008 18:40
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 06:59
cartesian grid generation method Abu Taleb Main CFD Forum 7 April 14, 2001 10:49


All times are GMT -4. The time now is 18:57.