CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

how to change the sizes of particles in the DPMFoam?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2019, 23:21
Default how to change the sizes of particles in the DPMFoam?
New Member
Join Date: Sep 2019
Posts: 6
Rep Power: 2
upc_ngh is on a distinguished road
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;
upc_ngh is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[DPM-UDF] Re-injecting escaping particles at different position CeesH Fluent UDF and Scheme Programming 7 May 13, 2020 10:34
Adding heat generation and transfer to DPMFoam inc. buoyancy of fluid dussa OpenFOAM Programming & Development 2 September 18, 2019 14:05
multiphase-multiparticle gcordobaguerrero OpenFOAM Running, Solving & CFD 3 April 9, 2018 06:42
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 5 January 29, 2013 07:02
How to change turbulence model in InterFoam Gildeh OpenFOAM Running, Solving & CFD 4 March 28, 2012 12:04

All times are GMT -4. The time now is 11:08.