CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to generate random positioned nucleation sites

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2021, 00:52
Default How to generate random positioned nucleation sites
Join Date: Apr 2016
Posts: 63
Rep Power: 10
silviliril is on a distinguished road
Dear Foamers,

I have been trying to do nucleate boiling simulation using phaseChangeHeatFoam. But the problem with the solver is that it generates a thin film of vapor at first and later on it breaks into tiny nucleation sites which gives us pseudo-feeling of nucleation. But, that is not correct way to simulate nucleation.

Hence, I want a way through which I can control nucleation sites. I would like to apply boundary condition in such a way that it generates vapor only at certain randomly positioned sites.
(Similar to what is explained in the figure which was proposed by yohei sato)

How can I provide such boundary condition of temperature or heat flux which depends on randomly generated cartesian coordinates on the given heated wall.
Attached Images
File Type: jpg random.JPG (52.0 KB, 11 views)
silviliril is offline   Reply With Quote


boiling, openfaom, phase change heat foam, random, temperature

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
How to generate the time-dependent random actuation in codeStream haolee0928 OpenFOAM Programming & Development 1 May 16, 2019 15:26
how to generate random number with UDF ztdep Fluent UDF and Scheme Programming 1 October 2, 2015 11:26
non-uniform-distribution nucleation sites nikipedia Main CFD Forum 0 September 29, 2013 13:08
how to generate random number? ztdep Main CFD Forum 6 May 8, 2006 06:20
how to generate random number in Fortran ? tang Main CFD Forum 7 April 2, 2003 17:58

All times are GMT -4. The time now is 09:28.