CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Random point inside the mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2009, 12:24
Default Random point inside the mesh
  #1
New Member
 
Filipe Rosa
Join Date: Jul 2009
Posts: 3
Rep Power: 17
filipe is on a distinguished road
Hello,
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
filipe is offline   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
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Monitoring a point in dynamic mesh Modisa FLUENT 1 December 19, 2008 04:04
[Other] How to mesh the 1st grid point lakeat OpenFOAM Meshing & Mesh Conversion 1 October 8, 2007 08:13
point inside a hexahedron gama Main CFD Forum 6 July 28, 2006 10:06
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 16:23.