|
[Sponsors] |
October 22, 2018, 13:04 |
about "parcelbasisType"
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
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; } |
|
June 22, 2021, 04:40 |
|
#2 |
Member
Himanshu
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
Hello Sir,
Did you got answer for your question? |
|
|
|