CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFoam reactingCloud1Properties: sizeDistribution

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By oswald

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2020, 12:32
Default OpenFoam reactingCloud1Properties: sizeDistribution
  #1
New Member
 
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 7
yek_irani is on a distinguished road
Hi,


I am trying to set up an example where parcels are injected with a measured particle size distribution (PSD). I am trying to understand how to specify a size distribution based on the "type general" in the file reactingCloud1Properties.



One thread which often appears in searches related to my inquiry is:

https://www.cfd-online.com/Forums/openfoam-solving/117521-size-distribution-models-spray-modelling.html.


Another is this one:

https://www.cfd-online.com/Forums/openfoam-solving/200287-size-distribution-models-openfoam-4-x.html


Both links indicate that the required input needs to be a volume-weighted probability density function. Is there any link to official documentation which verifies that?


The format in which the size distribution is entered is to provide two columns. One column is an equidistant set of droplet sizes. I am having problems with column 2. The first link above indicates that it should be the volume probability for the corresponding droplet size (i.e. ΔQ3(xi)). However, when I look at tutorials/lagrangian/reactingParcelFoam/verticalChannel/constant/reactingCloud1Properties, I see the output below. The second column would have the hallmarks of ΔQ3(xi) if interpreted as a percentage. Now the thread I cite above is from 2013. I don't know about OpenFOAM's current status.



So, I want to understand if OpenFoam will take input for the second column as either as probability or percent probability, or whether it is now required to input as percent probability?


Thank you for your help.



sizeDistribution
{
type general;
generalDistribution
{
distribution
(
(10e-06 0.0025)
(15e-06 0.0528)
(20e-06 0.2795)
(25e-06 1.0918)
(30e-06 2.3988)
(35e-06 4.4227)
(40e-06 6.3888)
(45e-06 8.6721)
(50e-06 10.3153)
(55e-06 11.6259)
(60e-06 12.0030)
(65e-06 10.4175)
(70e-06 10.8427)
(75e-06 8.0016)
(80e-06 6.1333)
(85e-06 3.8827)
(90e-06 3.4688)
);
}
}










yek_irani is offline   Reply With Quote

Old   September 29, 2020, 09:37
Default
  #2
Member
 
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 96
Rep Power: 16
oswald is on a distinguished road
Two hints: Have a look at the source code, it's open And why not just try it out?


Afaik the first column is the diameter, with no special restrictions (like being equidistant) except that it should be in ascending order, and the second column is by default the frequency of occurrence of particles of this diameter, also without restrictions (regarding normalisation etc.). The second column can also be used as cumulative probability.
sourav90 and fluid2020 like this.
oswald is offline   Reply With Quote

Old   September 29, 2020, 09:50
Default
  #3
New Member
 
Maziar
Join Date: Jul 2019
Posts: 15
Rep Power: 7
yek_irani is on a distinguished road
Lieber Oswald,

Many thanks for your response.

"Two hints: Have a look at the source code, it's open And why not just try it out?"

With that advice, there might be no need for this User Forum? Please bear in mind that a fair number of people who use this forum may either not be software programmers or they may have no experience with C++ and object-oriented languages.

But again, I emphasize I am grateful for your response.
yek_irani is offline   Reply With Quote

Reply

Tags
general, openfoam, reactingcloud1properties, sizedistribution


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 04:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 19:50.