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

about "parcelbasisType"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2018, 13:04
Default about "parcelbasisType"
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hi All,

Recently I tried to use the OpenFOAM lagrangian solver and found that we need to specify the item for the cloud properties: parcelBasisType. We have three options for it: fixed, mass and number. I understand that it is related to how we can give the number of the particles for each parcel. I check the source code in InjectionModel.C and found as below:

Code:
 switch (parcelBasis_)
    {
        case pbMass:
        {
            scalar volumep = pi/6.0*pow3(diameter);
            scalar volumeTot = massTotal_/rho;

            nP = (volumeFraction*volumeTot + delayedVolume_)/(parcels*volumep);
            break;
        }
        case pbNumber:
        {
            nP = massTotal_/(rho*volumeTotal_);
            break;
        }
        case pbFixed:
        {
            nP = nParticleFixed_;
            break;
        }
For "fixed", it is easy to understand. If we give nParticle=1, then for each parcel we have one particle. However, I do not why for mass and number we need to calculate nP like the above ways. Anybody knows about this? Thanks!
openfoammaofnepo is offline   Reply With Quote

Old   June 22, 2021, 04:40
Default
  #2
Member
 
Himanshu
Join Date: Jan 2017
Posts: 34
Rep Power: 9
Himanshu_Shrivastava is on a distinguished road
Hello Sir,
Did you got answer for your question?
Himanshu_Shrivastava 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



All times are GMT -4. The time now is 23:54.