|
[Sponsors] |
June 13, 2014, 04:42 |
Questions about lagrangian postprocessing
|
#1 |
New Member
Charlie
Join Date: May 2014
Posts: 9
Rep Power: 11 |
Hi all,
There are two output files in each time folder when running MPPICFoam tutorial: HTML Code:
kinematicCloud:UCoeff HTML Code:
kinematicCloud:UTrans I think they should be relevant to momentum transfer from solid phase to gas phase for each cell. As I need to plot over line the magnitude of particle velocity or the averaged mass flux of particles in a horizontal row of cells in paraview, UTrans seems to be a good parameter to show that. I have two questions: 1- What are and how are calculated "UCoeff" and "UTrans"? 2- Why are kinematicCloud:UCoeff and kinematicCloud:UTrans files in time folders not visible in paraview besude U.air, alph.air, p, ...? Thanks, |
|
April 26, 2015, 22:23 |
Dame doubt
|
#2 |
New Member
Jesus Ramirez
Join Date: Aug 2014
Location: Colombia
Posts: 13
Rep Power: 11 |
Hello, have you already figure out what are Utrans and Ucoeff? And how are they calculated?. Thanks
|
|
May 20, 2015, 10:17 |
Answers
|
#3 |
New Member
Jeroen Hofman
Join Date: Feb 2015
Location: The Netherlands
Posts: 15
Rep Power: 16 |
Hi,
To answer your questions: Utrans is the transferred momentum (the interaction term) between the fluid phase and the particle phase. The calculation of this parameter is shown in kinematicParcel.c and it basically is a field where each cell contains the sum of the drag forces and the pressure gradient force acting on all the particles in the cell. The pressure gradient force is only included when activated as a force in the case you are looking at. Ucoeff is a field where each cell contains the sum of the drag coefficients, it's calculation can again be found in kinematicParcel.c I have written it all out on paper, I have attempted to take a photo, it should at least clarify something . |
|
June 10, 2015, 10:29 |
|
#4 | |
New Member
Jesus Ramirez
Join Date: Aug 2014
Location: Colombia
Posts: 13
Rep Power: 11 |
Quote:
Thank you, I am going to watch it. |
||
January 26, 2016, 14:24 |
|
#5 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Jeroen,
Your explanation is very useful. UTrans is used in KinematicCloud.H [or .C], however, based on your explanation, it has been defined in KinematicParcel.H [or .C]. What is the relation between these class? I did not find the explicit inheritance between them. Thank you so much! best regards, OFFO |
|
January 27, 2016, 12:09 |
|
#6 |
New Member
Jeroen Hofman
Join Date: Feb 2015
Location: The Netherlands
Posts: 15
Rep Power: 16 |
Hi OFFO,
I am no longer working with these codes, but the kinematicParcel refers to the parcel (so essentially a particle representing many particles with same velocity and position) while the kinematicCloud represents a collection of kinematic parcels. Explicit inheritance in the code is, due to the extreme amount of template programming going on, very difficult to see. For the moment I would just go with the logical relation I described above; how the actual inheritance is done in the code (it might not even by an inheritance relation) is not so interesting I think . |
|
January 27, 2016, 12:21 |
|
#7 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Jeroen,
Thank you so much for your help. So based on your explanations, a cloud is a collection of parcels, and a parcel is a collection of many particles. Does it mean that the ODEs for mass , momentum and energy are solved for the parcel? or the cloud? These terms are common in multi-phase literature, but for different codes, they may have different meanings. Thank you for your help. best regards, OFFO |
|
January 27, 2016, 12:34 |
|
#8 |
New Member
Jeroen Hofman
Join Date: Feb 2015
Location: The Netherlands
Posts: 15
Rep Power: 16 |
Dear OFFO,
The ODE for momentum for the fluid phase (so not the particles) includes momentum transfer terms which take into account (per fluid cell) what the transferred momentum between the phases is. Due to numerical tricks it appears in two places, once as UCoeff and once as UTrans, but they represent the same momentum transfer. As far as the parcels go, there you just solve Newtons equation of motion for the parcel (= particle with adjusted radius and mass). Here momentum transfer is included by the drag formulas. |
|
January 27, 2016, 12:40 |
|
#9 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Jeroen,
Thank you for your reply. So the properties for the parcels will be updated for each time step. The interaction (like momentum and heat exchange) between gas and solid or liquid phases happens between Eulerian gas framework and parcels ? Right? Do we need to do some summations of some parcels to obtain the properties of clouds? I am not very clear about the usage of cloud in terms of the phase interactions? Thank you so much! OFFO |
|
January 27, 2016, 13:16 |
|
#10 |
New Member
Jeroen Hofman
Join Date: Feb 2015
Location: The Netherlands
Posts: 15
Rep Power: 16 |
Dear OFFO,
You are correct. For the phase interaction you use the summation fluid-cell wise of the particles, so if for instance 5 parcels are in one cell you add the drag forces up to get the momentum exchange for that cell. These summations give you the UTrans and UCoeff fields needed as input for the fluid momentum equations. Instead of simple adding you can also use different weighting that distribute the momentum exchange over the cells. As far as I know the cloud is just a collection of parcels and the corresponding class describes properties shared between the parcels. |
|
January 27, 2016, 13:59 |
|
#11 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you for youe explanations!
|
|
March 12, 2018, 03:07 |
|
#12 |
New Member
Join Date: Jun 2017
Posts: 12
Rep Power: 8 |
Hello,
Thank You so much for the thoughts on this topic. I have a small doubt. In the fils U.Eqn.H, the source term is written as coalParcels.SU(U) And in KinematicParcel file, 2 source terms are defined as Su (Explicit momentum source for particle) and dUtrans (Momentum transfer from the particle to the carrier phase) Can you kindly clarify the difference between the two. Since it is written that dUtrans is the Momentum transfer from the particle to the carrier phase, shouldn’t this be used in as a source term in U.Eqn.H instead of Su. Thank you again for the valuable feedback |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
using fieldAverage library to average postprocessing | eelcovv | OpenFOAM Programming & Development | 32 | May 17, 2022 09:55 |
Lagrangian Particle Tracking in Eulerian-Eulerian Multiphase Flow | DarrenC | CFX | 5 | April 7, 2016 14:50 |
Creating Lagrangian particles for postprocessing | hjasak | OpenFOAM Post-Processing | 6 | July 2, 2008 10:59 |
[Commercial meshers] Questions in mesh converstion and postprocessing | BANNARI (Bannari) | OpenFOAM Meshing & Mesh Conversion | 0 | March 3, 2005 07:23 |