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

Mapping a sphere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 1998, 22:44
Default Mapping a sphere
  #1
Afshin Azari
Guest
 
Posts: n/a
Hello everybody. I've heard that it is possible to map a grid about a sphere onto a two-dimensional rectangle. Is this true? If yes, how is it done?

Thanks for your time.
  Reply With Quote

Old   December 1, 1998, 13:51
Default Re: Mapping a sphere
  #2
jay
Guest
 
Posts: n/a
Wow! This is new! I'd really like to see this one, if it can be done at all.

A few quick Q's: Are we talking "...grid about a sphere..," meaning outside of it, or the region inside, or simply the surface only? If it is only the surface, it is simple: map the sphere to a cube (this can be done); open out the cube; fill the empty regions with "dead zones" grid to get one 2D rectangle. There is no volume region to map, so nothing practical (as regards doing computational analyses) is really accomplished from doing this mapping.

I'd wager that the other two exercises (mapping volume region outside, or volume region inside to 2D) are not possible. If it were, any 3D geometry could be similary mapped into 2D. All 3D analyses, be it CFD, or stress analysis, or ANY type of computational technique for 3D problems would become a triviality. In fact, 3D as we understand it would not exist! Comments anyone?

  Reply With Quote

Old   December 1, 1998, 23:23
Default Re: Mapping a sphere
  #3
Glenn Horrocks
Guest
 
Posts: n/a
Mapping a sphere to a rectangle - it's a bit of a give away isn't it?

If you want to see many different methods of mapping a spherical(ish) surface to a rectangle just look at the hundreds of map (ie cartography) projections there are out there. How else can you map a spherical Earth to a rectangular bit of paper (ie a map)?

If you mean map a 3D sphere to a 2D rectangle, it can't be done. The 2D rectangle should be a 3D box - that is possible.

Glenn
  Reply With Quote

Old   December 2, 1998, 02:03
Default Re: Mapping a sphere
  #4
Krishnakumar
Guest
 
Posts: n/a
Mapping a three-d sphere to a rectangle is not possible, basically because a point in the rectangle is specified by two co-ordinates, and even if you do manage it, it might not help reduce computational time. But I have heard of stacked grids; Two-d grids stacked up to make up a three-d grid. A cylinder can consist of stacked up circles. Maybe this is what you call a sphere mapped to a rectangle( in this case only part of the sphere is mapped to the rectangle)
  Reply With Quote

Old   December 2, 1998, 02:31
Default Re: Mapping a sphere
  #5
Afshin Azari
Guest
 
Posts: n/a
Alright everyone. There is a need for the definition of the word "sphere". Here it is (together with that of a "ball"):

A ball: (x - h)(squared) + (y - k)(squared) + (z - l)(squared) <= r(squared)

A sphere: (x - h)(squared) + (y - k) (squared) + (z - l)(squared) = r(squared)

(See "Calculus, One and Several Variables", by Salas).
  Reply With Quote

Old   December 2, 1998, 09:14
Default Re: Mapping a sphere
  #6
Krishnakumar
Guest
 
Posts: n/a
Oh.. Then the problem becomes very simple indeed. Just take the two angles phi,teta which you use to represent points in a spherical co-ordinate and let them be the parameters of the grid. You have thus mapped a sphere to a rectangle... since r is a constant.
  Reply With Quote

Old   December 2, 1998, 17:55
Default Re: Mapping a sphere
  #7
jay
Guest
 
Posts: n/a
Sure. Altitude and Azimuth are sufficient to map a "sphere" as defined by Afshin. But, the issue that arises from his original words:"...map the grid *about* a sphere..." seems to be still unresolved. Does *about* mean some bounded space around the sphere, or am I splitting hairs.... ?

And, is this merely an exercise in mental callisthenics? Or is there any practical value in these argmnts?

  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
Cht tutorial in 15 braennstroem OpenFOAM Running, Solving & CFD 197 June 10, 2015 03:02
[snappyHexMesh] Meshing a sphere with snappyHexMesh Cyberholmes OpenFOAM Meshing & Mesh Conversion 2 July 19, 2011 16:46
CFX analysis of a sphere - drag too low Rob Findlay CFX 6 March 26, 2007 10:11
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 11:50.