Non-orthoginal grid generation
Non-orthoginal grid generation
(OP)
Ok...I have to generate a non-orthogonal grid in a square domain..similar to what I have shown below....I would like to have the option of possibly changing the angle of rotation for the divide line.......Any suggestions...SO far I tried building up the grid using "for loop" statements but it takes a long time for fine meshes....I want to be able to use the meshgrid functions in Matlab..Any suggestions will be greatly appreciated..
Tony
********************
* **************
* *************
* ***********
* *********
* ******
* *****
********************
Tony
********************
* **************
* *************
* ***********
* *********
* ******
* *****
********************





RE: Non-orthoginal grid generation
eg
["code]
this is my code
["/"code]
(remove the " to get it to work properly)
M
--
Dr Michael F Platten
RE: Non-orthoginal grid generation
The entire domain is meshed but along the sloped line the entire mesh is flipped...The slope is say 45 degrees.
It's as if I have two meshed trapezoids along side each other
Tony
CODE
********************
* **************
* *************
* ***********
* *********
* ******
* *****
********************
RE: Non-orthoginal grid generation
Mesh