×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Non-orthoginal grid generation

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


********************
*    **************
*      *************
*        ***********
*          *********
*             ******
*              *****
********************

RE: Non-orthoginal grid generation

It is not clear from your diagram what you mean. Use the TGML "code" tags to display it in a proportional font

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

(OP)
Mickey I tried to format it and I think it should make a bit more sense what type of mesh I am trying to achieve.
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

(OP)
Ok guys here it is...I have loaded a proper GIF of the mesh I want to generate...Once you click the Link I believe you would understand what I am tryin to achieve using matlab

Mesh

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources