CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2019, 00:21
Default how to change the sizes of particles in the DPMFoam?
  #1
New Member
 
xiangliu
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

Reply

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


All times are GMT -4. The time now is 20:13.