CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Random point inside the mesh

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2009, 11:24
Default Random point inside the mesh
New Member
Filipe Rosa
Join Date: Jul 2009
Posts: 3
Rep Power: 16
filipe is on a distinguished road
I am developing my code and I need to pick up a random point each time inside the mesh. The problem is that if I pick up based on the cell numbers I never get random points on the boundaries. I would like to know if it is available a function in which a random point can be picked up inside the mesh including boundaries.

Thank you,
filipe is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit problems Althea FLUENT 22 January 4, 2017 03:19
Monitoring a point in dynamic mesh Modisa FLUENT 1 December 19, 2008 03:04
[Other] How to mesh the 1st grid point lakeat OpenFOAM Meshing & Mesh Conversion 1 October 8, 2007 07:13
point inside a hexahedron gama Main CFD Forum 6 July 28, 2006 09:06
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09

All times are GMT -4. The time now is 04:35.