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

Lagrangian data - particle velocity post processing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2019, 11:14
Question Lagrangian data - particle velocity post processing
  #1
Ake
New Member
 
Kevin
Join Date: May 2018
Posts: 1
Rep Power: 0
Ake is on a distinguished road
Hi everyone,


i am doing LES and i just added lagrangian particles to pimpleFoam (openfoam 7). But now i am struggeling with the post processing, which isn't as easy as I thought/expected.

I am able to see the lagrangian data in paraView. But i have no idea how to sample the particle velocity to get (for example) an axial particle velocity profile. Additionally i need the average of the particle velocity, what could be done easily in the controlDict if i have a field. So what i need is a field of the particle velocity with that i am able to create the time average.


In the Cloudfunction "VoidFraction" (VoidFraction.C) there is lagrangian data "written in a field" i guess.
--> theta[p.cell()] += dt*p.nParticle()*p.volume();

So i have tried to do it the same way and edit the VoidFraction cloudfunction with this or something similar
--> Uparticle[p.cell()] += dt*mag(p.U());
but this didnt work properly. The solver compiles but the magnitude of the velocity of the created field is much too high (about 10⁹). I think there is something wrong in the transfer of the "point" velocity to the "cell" velocity.




Does anyone have any idea how this could work?

I'm not sure this is the right way. Maybe someone has a better idea to sample the particle velocity at any position? Is there an existing CloudFunction which can be used for that?


Thanks in advance
Ake is online now   Reply With Quote

Old   Yesterday, 06:01
Default
  #2
Senior Member
 
Join Date: Aug 2014
Posts: 197
Rep Power: 7
fresty is on a distinguished road
Have you tried using 'calculate' to acquire p.U(component) and 'integrate variables' in ParaView?
fresty is offline   Reply With Quote

Reply

Tags
lagrangian data, large eddy simulation, post processing

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
[OpenFOAM] Plotting velocity of Lagrangian particle over time/direction thintn222 ParaView 0 April 25, 2019 22:43
How to create velocity profile for falling ball in fluent CFD post processing valr FLUENT 2 June 13, 2018 07:18
Exporting Particle Data prX411 CFX 4 April 3, 2018 13:00
Post processing of Lagrangian particle field marialhm OpenFOAM Post-Processing 0 October 8, 2017 23:02
Post processing data zz744 FLUENT 0 February 19, 2014 07:35


All times are GMT -4. The time now is 10:21.