CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Track particles properties using ParticleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2021, 08:06
Default Track particles properties using ParticleFoam
  #1
New Member
 
Join Date: Apr 2021
Posts: 1
Rep Power: 0
riccardo_ is on a distinguished road
Hello all!

I have a pre-computed field and I run unsteady particleFoam on it. By default a few properties of the particles are printed into /lagrangian (notably location and velocity) but I would need to extract more properties, such as the static pressure felt by the particles.

I tried to figure out a way of doing this through the particleTracks object function in kinematicCloudProperties:

cloudFunctions
{
particleTracks1
{
type particleTracks;
trackInterval 1;
maxSamples 1000000;
resetOnWrite yes;
}
}

but I could not find a way of specifying a property to track.

My next attempt will be to directly modify KinematicParcelTrackingDataI.H, KinematicParcel.H and KinematicParcel.C and recompile the /lagrangian/intermediate library, but I am not sure that this is the best way forward.

I would be grateful if someone could suggest an easier solution!

Thanks in advance,
Riccardo
riccardo_ 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
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 12 November 25, 2020 19:27
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Conditional Release of DPM Particles in Fluent - UDF nvschandra Fluent UDF and Scheme Programming 0 December 16, 2013 20:32
Conditional Release of DPM particles - UDF nvschandra Fluent UDF and Scheme Programming 0 December 10, 2013 11:02
How to track number of particles hit on the wall per unit time? mingersai FLUENT 1 August 27, 2011 10:25


All times are GMT -4. The time now is 09:59.