CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Problem with own Lagrangian particle size distribution model

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2022, 01:16
Default Problem with own Lagrangian particle size distribution model
New Member
Join Date: Oct 2018
Posts: 11
Rep Power: 7
Patrick_18 is on a distinguished road
I have 320 particles in which 80 are 24 um, 80 are 16 um, 80 are 10 um and remaining 80 are 8 um. For so kind of distribution I don't find size model in various distribution model given in openfoam.
I have create own code in which 4 diameters (24, 16, 80 and 10) and their weights (0.25 for all four types) (num fraction) are input to the file. I have created array of size distribution in sample () function of file. but really, I don't know where I should create this array of distribution. because, in other distribution model only one of sample are drawn in this function (named sample ()) and where whole size are generated I can't find out ...

So, please see where I should put array of size distribution ?? and still can any of existing model can fit my data ??
and in kinematiccloudproperties file I have mentioned nparticle -320 and parcelspersecond as 1, so it is right way ?? (solving problem of one way coupling)
Attached Files
File Type: c weightedValue.C (3.3 KB, 1 views)
File Type: h weightedValue.H (3.3 KB, 0 views)
File Type: txt kinematicCloudProperties.txt (3.4 KB, 6 views)
Patrick_18 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
size distribution models in OpenFOAM 4.x minzhang OpenFOAM Running, Solving & CFD 1 March 30, 2018 18:10
Lagrangian particle tracking and cell size Julian K. CFX 4 May 27, 2014 11:35
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Problem in UDF about particle size distribution fpingqian FLUENT 0 February 25, 2005 01:48

All times are GMT -4. The time now is 03:18.