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

Lagrangian solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2022, 18:55
Default Lagrangian solver
  #1
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
Hi all.

Since we define parcels as a number of particles, why do we have to define clouds?

Thanks
Emad
emadsiadati is offline   Reply With Quote

Old   July 26, 2022, 21:19
Default
  #2
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
Also
- In discrete phase method (DPM) the forces are solved for parcels or particles or cloud in dpmfoam?
- if nParticle=1 are dpm and dem exactly the same?
emadsiadati is offline   Reply With Quote

Old   July 27, 2022, 11:39
Default
  #3
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
And anothe question:
I have defined stick parameter between the particles and the wall. When a particle sticks to a wall the whole cloud stickes or the parcel including that particle or just the individual particle?
emadsiadati is offline   Reply With Quote

Old   July 29, 2022, 12:00
Default
  #4
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Quote:
Originally Posted by emadsiadati View Post
Hi all.

Since we define parcels as a number of particles, why do we have to define clouds?

Thanks
Emad
A cloud is a collection of parcels/particles. A parcel is a collection of particles. If number of particles in a parcel is one, then a cloud is simply a collection of particles.
Yes, if number of particles in parcel is one, then DPM = DEM. Otherwise, it is same as 'coarse DEM'.
joshwilliams is offline   Reply With Quote

Old   July 31, 2022, 10:48
Default
  #5
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
Quote:
Originally Posted by joshwilliams View Post
A cloud is a collection of parcels/particles. A parcel is a collection of particles. If number of particles in a parcel is one, then a cloud is simply a collection of particles.
Yes, if number of particles in parcel is one, then DPM = DEM. Otherwise, it is same as 'coarse DEM'.
Thanks for your reply.

How the diameter of the cloud is defined?
And do parcels leave a cloud?
emadsiadati is offline   Reply With Quote

Old   August 11, 2022, 05:35
Default
  #6
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Quote:
Originally Posted by emadsiadati View Post
Thanks for your reply.

How the diameter of the cloud is defined?
And do parcels leave a cloud?
A cloud does not have a diameter. A particle has a diameter. I am not sure if a parcel has a diameter.

Parcels do not leave a cloud. Particles do not leave a parcel (I think).
joshwilliams is offline   Reply With Quote

Old   August 16, 2022, 13:37
Default
  #7
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
Quote:
Originally Posted by joshwilliams View Post
A cloud does not have a diameter. A particle has a diameter. I am not sure if a parcel has a diameter.

Parcels do not leave a cloud. Particles do not leave a parcel (I think).
Then what is the criterion for assigning the particles to a parcel and the parcels to a cloud?


If a cloud does not have a diameter then the forces like drag force which is a function of diameter is calculated for each parcel if it has a diameter, otherwise calculation is conducted over each particle!

What is the rationale behind defining clouds and parcels then?! We are just doing dem imo!
emadsiadati is offline   Reply With Quote

Old   August 16, 2022, 14:18
Default
  #8
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Quote:
Originally Posted by emadsiadati View Post
If a cloud does not have a diameter then the forces like drag force which is a function of diameter is calculated for each parcel if it has a diameter, otherwise calculation is conducted over each particle!
You are not getting what a cloud is. A cloud is just the collective term for the particles or parcels in your simulation. The term cloud is pretty much meaningless. It is just openfoam terminology. Not sure how else to explain it.... Think of a cloud in the sky, made of, lets say, billions of water droplets. The motion of the cloud is not determined by calculating the drag force based on the diameter of a cloud (it would be ludicrious, the cloud to particle size ratio is probably like 1e20 metres, also at a macro-scale I guess you would consider it a highly porous medium, but that is not relevant). You calculate forces on each particle.

In OpenFOAM, you define the diameter of one particle. You define how many particles are in one parcel. You can calculate the forces using the particle diameter. Lets say you use parcel approach like MPPIC, you calculate drag based on particle diameter (p.d() in the source code). Then you apply some collision kernel (like Harris-Crighton in tutorials), which is based on the number of parcels in each cell, the number of particles in a parcel, and the individual particle diameter.


If you have further difficulty, I suggest you review the source code
Code:
cd $FOAM_SRC/lagrangian/intermediate/parcels/Templates/KinematicCloud
and source code for calculating drag
Code:
 cd $FOAM_SRC/lagrangian/intermediate/submodels/Kinematic/ParticleForces/Drag/SphereDrag

Last edited by joshwilliams; August 17, 2022 at 12:50.
joshwilliams is offline   Reply With Quote

Old   August 17, 2022, 12:08
Default
  #9
New Member
 
Emad S
Join Date: Dec 2021
Posts: 14
Rep Power: 4
emadsiadati is on a distinguished road
Thanks!
This was very illustrative.
emadsiadati 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
Solver for lagrangian particles in a Filter with coalescence in the Fibres? SimonStar OpenFOAM Pre-Processing 0 April 30, 2020 05:44
which solver for particle tracking through a fluid for lagrangian based method? ranasa OpenFOAM Running, Solving & CFD 0 August 9, 2014 04:09
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
solver stop problem in Lagrangian Particle Tracking sakurabogoda CFX 3 October 5, 2012 07:09
Working directory via command line Luiz CFX 4 March 6, 2011 21:02


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