Code covered by the BSD License
- BipolarCoordinates(Xi,Eta...a is radii that defies height of the domain
- EllipticCylinderCoordinat...a is radius of ellips
row is aspect ratio of the major to minor axes of ellipse
R is aspect ratio of the major to minor axes of ellipse
- PolarCoordinates(Xi,Eta,t...theta0, theta1 are two angles.
- plotgrid(X,Y)plotgrid: To plot structured grid.
View all files
04 Mar 2013
To demonstrate grid generation using analytic coordinates systems.
function [x y] = EllipticCylinderCoordinates(Xi,Eta,a)
% a is radius of ellips
% a > 0
if nargin == 2
a = 1. ;
r = 1+Xi ;
s = pi*Eta ;
x = a*cosh(r)*cos(s) ;
y = a*sinh(r)*sin(s) ;