|
[Sponsors] |
June 10, 2014, 08:58 |
Spherical Coordinates
|
#1 |
New Member
P. Mackenzie
Join Date: Jun 2014
Posts: 1
Rep Power: 0 |
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 |
|
Tags |
spherical coordinates, uniqueness |
|
|
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 13: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 |