|
[Sponsors] |
how to change the sizes of particles in the DPMFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 29, 2019, 00:21 |
how to change the sizes of particles in the DPMFoam?
|
#1 |
New Member
xiangliu
Join Date: Sep 2019
Posts: 6
Rep Power: 7 |
Now,I'm trying to change the sizes of particles in the DPMFOAM,but t can't find the way to find the function of sizes.In the case Goldschmidt,I find something but also don't know where it is and how to1change it,so I need help from you,please!
// Construct parcel diameters forAll(diameters_, i) { diameters_[i] = sizeDistribution_->sample(); } // Determine volume of particles to inject this->volumeTotal_ = sum(pow3(diameters_))*pi/6.0; } //- Sample the distributionModel virtual scalar sample() const = 0; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding heat generation and transfer to DPMFoam inc. buoyancy of fluid | dussa | OpenFOAM Programming & Development | 4 | July 8, 2022 13:35 |
UDF for deleting particles in DPM | imanmirzaii | Fluent UDF and Scheme Programming | 12 | November 25, 2020 20:27 |
[DPM-UDF] Re-injecting escaping particles at different position | CeesH | Fluent UDF and Scheme Programming | 7 | May 13, 2020 11:34 |
multiphase-multiparticle | gcordobaguerrero | OpenFOAM Running, Solving & CFD | 3 | April 9, 2018 07:42 |
How to change turbulence model in InterFoam | Gildeh | OpenFOAM Running, Solving & CFD | 4 | March 28, 2012 13:04 |