|
[Sponsors] |
December 23, 2003, 04:22 |
Random points in 3D circle
|
#1 |
Guest
Posts: n/a
|
Hi, I have a circle in 3D (common part for x^2+y^2+z^2<=R^2 and A*x+B*y+C*z=0). How to find random and uniformly distributed point in this circle? Thanks.
|
|
December 23, 2003, 09:22 |
Re: Random points in 3D circle
|
#2 |
Guest
Posts: n/a
|
For the random part note that on a 2D surface (which is what you have) you can only vary 2 of the parameters independently. Vary those two with random perturbations and then compute the third such that your point is on the sphere. To generate a uniform distribution you may find it easier to write your expression in spherical coordinates since they provide a more natural description of the surface.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sliding Interface issues | philippose | OpenFOAM Running, Solving & CFD | 7 | May 5, 2014 03:13 |
[snappyHexMesh] jagged, ragged edges... | ziemowitzima | OpenFOAM Meshing & Mesh Conversion | 138 | July 23, 2012 23:41 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |
Random Access To Arbitrary Points In Solution Domain | marhamat | OpenFOAM | 3 | November 8, 2007 17:43 |
extreme points problem | Lipo Wang | Main CFD Forum | 2 | August 18, 2004 03:15 |