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

Random point inside the mesh

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

Reply
 
LinkBack Thread Tools 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: 7
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

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
Monitoring a point in dynamic mesh Modisa FLUENT 1 December 19, 2008 04:04
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
Gambit problems Althea FLUENT 21 February 6, 2001 08:05
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


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