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

Elliptic Grid Generator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2017, 18:56
Default Elliptic Grid Generator
  #1
kov
New Member
 
kevin
Join Date: Oct 2017
Posts: 2
Rep Power: 0
kov is on a distinguished road
Hello Everyone,

I am trying to write my own c-mesh elliptic grid generator over an airfoil in matlab using the conventional equations of

A d^2 x / d xi^2 - 2 B d^2 x / d xi d eta + C d^2 x / d eta^2 = 0

A d^2 y / d xi^2 - 2 B d^2 y / d xi d eta + C d^2 y / d eta^2 = 0

with

A = (d x / d xi)^2 + (d y / d xi)^2

B = (d x / d xi)(d x / d eta) + (d y / d xi)(d y / d eta)

C = (d x / d eta)^2 + (d y / d eta)^2

I have not done this before, and don't have experience in mesh generation. I have looked online (google is my friend) for the basic concepts and procedures on how to create this mesh. I have started my own code which runs, however I result in "circumferential" grid lines around the airfoil extending to the far-field boundaries, however I do not get any "radial" lines which would make it an actual mesh.

so far I have:
discretized the equations using 2nd order finite difference for all derivatives
created the airfoil and the boundaries for the c-mesh
initialized the solution using transfinite interpolation
solved the equations using a 2 v-cycle mutli-grid method

My goal in this thread is to try to find out where I am going wrong in my code, or identifying what concept I am not fully understanding with grid generation, or identify what I am missing in my code.

I would really appreciate your help with this thank you.

Last edited by kov; October 21, 2017 at 16:50.
kov is offline   Reply With Quote

Reply


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
Generating elliptic grid around NACA SC2-0714 airfoil DA6righthand Main CFD Forum 20 November 3, 2015 07:50
Elliptic and hyperbolic grid generation mechiebud Main CFD Forum 0 October 21, 2015 10:14
Structured grid generator harishg Main CFD Forum 1 August 6, 2011 23:36
grid generator using hyperbolic tangent function Garham Main CFD Forum 3 November 11, 2006 12:04
free 2D unstructured Quad grid generator? phsieh2005 Main CFD Forum 0 March 25, 2006 19:42


All times are GMT -4. The time now is 15:37.