2023-03-27 10:16:23 -07:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.17" / >
< title > PhasicFlow: solvers/sphereGranFlow/sphereGranFlow.cpp File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > < a href = "https://cemf.ir" > PhasicFlow< / a >
  < span id = "projectnumber" > < a href = "https://cemf.ir" > v0.1< / a > < / span >
< / div >
< div id = "projectbrief" > < a href = "www.github.com/PhasicFlow" > www.cemf.ir< / a > < / div >
< / td >
< td > < div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('sphereGranFlow_8cpp.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > sphereGranFlow.cpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > sphereGranFlow solver
< a href = "#details" > More...< / a > < / p >
< div class = "textblock" > < div class = "dynheader" >
Include dependency graph for sphereGranFlow.cpp:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "sphereGranFlow_8cpp__incl.png" border = "0" usemap = "#solvers_2sphereGranFlow_2sphereGranFlow_8cpp" alt = "" / > < / div >
< map name = "solvers_2sphereGranFlow_2sphereGranFlow_8cpp" id = "solvers_2sphereGranFlow_2sphereGranFlow_8cpp" >
< area shape = "rect" title = "sphereGranFlow solver" alt = "" coords = "602,5,781,47" / >
< area shape = "rect" href = "property_8hpp.html" title = " " alt = "" coords = "31,244,133,271" / >
< area shape = "rect" href = "geometry_8hpp.html" title = " " alt = "" coords = "27,169,137,196" / >
< area shape = "rect" href = "sphereParticles_8hpp.html" title = " " alt = "" coords = "183,169,333,196" / >
< area shape = "rect" href = "systemControl_8hpp.html" title = " " alt = "" coords = "375,244,520,271" / >
< area shape = "rect" href = "Insertions_8hpp.html" title = " " alt = "" coords = "317,95,431,121" / >
< area shape = "rect" href = "contactSearch_8hpp.html" title = " " alt = "" coords = "456,95,599,121" / >
< area shape = "rect" href = "sphereInteraction_8hpp.html" title = " " alt = "" coords = "77,95,241,121" / >
2023-03-31 10:54:16 -07:00
< area shape = "rect" href = "commandLine_8hpp.html" title = " " alt = "" coords = "675,95,817,121" / >
2023-03-27 10:16:23 -07:00
< area shape = "rect" href = "readControlDict_8hpp.html" title = " " alt = "" coords = "842,95,994,121" / >
< area shape = "rect" href = "initialize__Control_8hpp.html" title = " " alt = "" coords = "1018,95,1178,121" / >
< area shape = "rect" href = "setProperty_8hpp.html" title = " " alt = "" coords = "1202,95,1325,121" / >
< area shape = "rect" href = "setSurfaceGeometry_8hpp.html" title = " " alt = "" coords = "1349,95,1532,121" / >
< area shape = "rect" href = "createDEMComponents_8hpp.html" title = " " alt = "" coords = "1557,95,1759,121" / >
< area shape = "rect" href = "finalize_8hpp.html" title = " " alt = "" coords = "1784,95,1881,121" / >
< / map >
< / div >
< / div >
< p > < a href = "sphereGranFlow_8cpp_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a0ddf1224851353fc92bfbff6f499fa97" > < td class = "memItemLeft" align = "right" valign = "top" > int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "sphereGranFlow_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" > main< / a > (int argc, char *argv[])< / td > < / tr >
< tr class = "memdesc:a0ddf1224851353fc92bfbff6f499fa97" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > DEM solver for simulating granular flow of cohesion-less particles. < a href = "sphereGranFlow_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a0ddf1224851353fc92bfbff6f499fa97" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > sphereGranFlow solver < / p >
< p > This solver simulate granular flow of cohesion-less, spherical particles. Particle insertion can be activated in the solver to gradually insert particles into the simulation. Geometry can be defined generally with built-in features of the code or through ASCII stl files or a combination of both. For more information refer to < a href = "https://github.com/PhasicFlow/phasicFlow/tree/main/tutorials/sphereGranFlow" > tutorials/sphereGranFlow/< / a > folder. < / p >
< p class = "definition" > Definition in file < a class = "el" href = "sphereGranFlow_8cpp_source.html" > sphereGranFlow.cpp< / a > .< / p >
< / div > < h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "a0ddf1224851353fc92bfbff6f499fa97" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0ddf1224851353fc92bfbff6f499fa97" > ◆ < / a > < / span > main()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > int main < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > argc< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > argv< / em > []  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > DEM solver for simulating granular flow of cohesion-less particles. < / p >
< p > In the root case directory just simply enter the following command to run the simulation. For command line options use flag -h. < / p >
< p class = "definition" > Definition at line < a class = "el" href = "sphereGranFlow_8cpp_source.html#l00063" > 63< / a > of file < a class = "el" href = "sphereGranFlow_8cpp_source.html" > sphereGranFlow.cpp< / a > .< / p >
2023-03-31 10:54:16 -07:00
< p class = "reference" > References < a class = "el" href = "sphereParticles_8cpp_source.html#l00133" > sphereParticles::afterIteration()< / a > , < a class = "el" href = "sphereParticles_8cpp_source.html#l00084" > sphereParticles::beforeIteration()< / a > , < a class = "el" href = "initialize__Control_8hpp_source.html#l00047" > Control< / a > , < a class = "el" href = "streams_8hpp_source.html#l00041" > endREPORT< / a > , < a class = "el" href = "error_8hpp_source.html#l00036" > fatalError< / a > , < a class = "el" href = "sphereParticles_8cpp_source.html#l00104" > sphereParticles::iterate()< / a > , < a class = "el" href = "commandLine_8cpp_source.html#l00050" > commandLine::parse()< / a > , < a class = "el" href = "streams_8hpp_source.html#l00040" > REPORT< / a > , < a class = "el" href = "createDEMComponents_8hpp_source.html#l00039" > sphInsertion< / a > , < a class = "el" href = "createDEMComponents_8hpp_source.html#l00051" > sphInteraction< / a > , < a class = "el" href = "createDEMComponents_8hpp.html#a87315fd3baecad18f39f203ffb15047f" > sphParticles()< / a > , and < a class = "el" href = "setSurfaceGeometry_8hpp_source.html#l00026" > surfGeometry< / a > .< / p >
2023-03-27 10:16:23 -07:00
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "sphereGranFlow_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.png" border = "0" usemap = "#sphereGranFlow_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph" alt = "" / > < / div >
< map name = "sphereGranFlow_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph" id = "sphereGranFlow_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph" >
2023-03-31 10:54:16 -07:00
< area shape = "rect" title = "DEM solver for simulating granular flow of cohesion-less particles." alt = "" coords = "5,143,60,170" / >
2023-03-27 10:16:23 -07:00
< area shape = "rect" href = "classpFlow_1_1sphereParticles.html#a5ab4b6c611c3256e54f51bbfc484d58e" title = "after iteration step" alt = "" coords = "108,5,275,47" / >
< area shape = "rect" href = "classpFlow_1_1sphereParticles.html#ada71b97666fe3f66b31690bf12633c32" title = "before iteration step" alt = "" coords = "108,71,275,112" / >
< area shape = "rect" href = "classpFlow_1_1sphereParticles.html#afa767bddda52eb71cea18f755e17d559" title = "iterate particles" alt = "" coords = "108,136,275,177" / >
2023-03-31 10:54:16 -07:00
< area shape = "rect" href = "classpFlow_1_1commandLine.html#af199716992f3f8bb51c89ddcca847062" title = " " alt = "" coords = "111,201,271,243" / >
< area shape = "rect" href = "createDEMComponents_8hpp.html#a87315fd3baecad18f39f203ffb15047f" title = " " alt = "" coords = "141,267,241,294" / >
2023-03-27 10:16:23 -07:00
< / map >
< / div >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_65b24c28d0f232e494405d4f9f0c5236.html" > solvers< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_ac9f1d02bd348986b458efcb0494a045.html" > sphereGranFlow< / a > < / li > < li class = "navelem" > < a class = "el" href = "sphereGranFlow_8cpp.html" > sphereGranFlow.cpp< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.8.17 < / li >
< / ul >
< / div >
< / body >
< / html >