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

Spherical Coordinates

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 10, 2014, 07:58
Default Spherical Coordinates
  #1
New Member
 
P. Mackenzie
Join Date: Jun 2014
Posts: 1
Rep Power: 0
Bing is on a distinguished road
I want to display a spherical object with points at the corresponding r,theta,phi spherical coordinates. I am able do this using the Structured Grid Dataset with the dimensions Radius, Theta, Phi and the number of structured points as Radius*Theta*Phi. The corresponding x,y,z coordinates I determine using the well known formulae x = rsin(theta)cos(phi) etc. However there is not a unique one to one correspondence between the structured coordinates and the point coordinates. For example when r = 0 and for any value of theta and phi I get the origin coordinates (0,0,0). This does not seem to make any difference when displaying the object. However, what happens when I start adding scalar or vector values for the coordinates??? Will Paraview display the last value for that position overriding earlier values for that position or sum them or do something entirely different.??
I have tried to compensate by designing a unique one to one mapping but the dimensions are not straight forward. Any suggestions?
Regards
Bing
Bing is offline   Reply With Quote

Reply

Tags
spherical coordinates, uniqueness

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FVM in 1-D spherical coordinates lost.identity Main CFD Forum 0 January 17, 2011 10:06
Spherical coordinates in Fluent orland FLUENT 0 November 18, 2010 04:22
Advection in spherical coordinates? lost.identity Main CFD Forum 0 October 11, 2010 12:03
k-epsilon model in spherical coordinates lost.identity Main CFD Forum 0 March 15, 2010 08:34
Laplace in spherical coordinates Harini CFX 2 December 6, 2007 17:35


All times are GMT -4. The time now is 22:46.