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

Print forces acting on kinematic parcels

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2022, 09:49
Default Print forces acting on kinematic parcels
New Member
Join Date: Apr 2022
Posts: 6
Rep Power: 3
ffran is on a distinguished road
I am working with parcels belonging to kinematic clouds and I was wondering if there was an easy way to output the forces acting on each parcel. From what I can see in KinematicParcel.C, the forces are computed in the calcVelocity() method, which takes a templated TrackData object (td) that I can't seem to find anywhere. Then the force list is taken as, which is of type cloudType::forceType, which in turn seem to be somehow related to particleForceList. My question is: given a parcel p in a cloud, how can I access each force and output it (e.g. as a CSV file)? Seemingly only the sum is available in OF, and not directly accessible from outside TrackData. If you have any resources regarding the workflow of LPT in OpenFOAM, those would be very welcome too.

Kind regards,
ffran is offline   Reply With Quote

Old   January 19, 2023, 21:30
Shah Akib Sarwar
Join Date: Mar 2021
Posts: 41
Rep Power: 4
Shah Akib Sarwar is on a distinguished road
Hello..did you find a solution to this?
Shah Akib Sarwar is offline   Reply With Quote


kinematicparcel, lagrangian particles, lpt, openfoam, output to file

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
how to get Sutherland and JANAF coefficients of air? immortality OpenFOAM Running, Solving & CFD 64 October 18, 2022 11:17
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" ds4719 Main CFD Forum 14 February 18, 2022 19:05
forces acting on a bubble saj216 OpenFOAM Programming & Development 0 June 26, 2020 12:35
Residuals and forces spiraling out of control before failing edomalley1 OpenFOAM Running, Solving & CFD 3 September 7, 2018 11:42
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 06:09

All times are GMT -4. The time now is 11:13.