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

Lagrangian Particles Crossing a Surface: meshSearch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2014, 19:31
Default Lagrangian Particles Crossing a Surface: meshSearch
  #1
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Hello everyone,

I was looking at finding a way to calculate the number of particles that have crossed a surface during a certain time interval.

What I think will work is calculating the dot product of the particle velocity and the surface normal for all particles between the two times and checking if the sign has changed.

I want to do this with the face on the surface closest to the particle, but I'm not sure how to do that. There is a function called findNearestFace in meshSearch, but it works on the whole mesh. Can I cast it somehow to use it with a list of faces?

Thanks and Happy Labour Day to those in North America
mturcios777 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
Mapping Lagrangian particles gschaider OpenFOAM Bugs 7 December 20, 2023 08:45
trying to simulate two-phase jet flow with particles in surface injection ajkratos FLUENT 5 March 3, 2015 21:33
lagrangian particles in parallel fmuldoo OpenFOAM Pre-Processing 5 October 31, 2014 21:28
[ICEM] Automatic mesh generation script surface intersection problem stuart23 ANSYS Meshing & Geometry 0 May 13, 2011 01:10
FREE SURFACE TRACING USING MARKER PARTICLES!!??? lost_soul Main CFD Forum 2 April 7, 2000 00:35


All times are GMT -4. The time now is 01:51.