mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
drum-PeriodictBoundary tutorial added
This commit is contained in:
49
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/interaction
Executable file
49
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/interaction
Executable file
@ -0,0 +1,49 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName interaction;
|
||||
objectType dicrionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
materials (prop1); // a list of materials names
|
||||
|
||||
densities (1000.0); // density of materials [kg/m3]
|
||||
|
||||
contactListType sortedContactList;
|
||||
|
||||
contactSearch
|
||||
{
|
||||
method NBS; // method for broad search
|
||||
|
||||
updateInterval 10;
|
||||
|
||||
sizeRatio 1.1;
|
||||
|
||||
cellExtent 0.55;
|
||||
|
||||
adjustableBox Yes;
|
||||
}
|
||||
|
||||
model
|
||||
{
|
||||
contactForceModel nonLinearNonLimited;
|
||||
|
||||
rollingFrictionModel normal;
|
||||
|
||||
Yeff (1.0e6); // Young modulus [Pa]
|
||||
|
||||
Geff (0.8e6); // Shear modulus [Pa]
|
||||
|
||||
nu (0.25); // Poisson's ratio [-]
|
||||
|
||||
en (0.7); // coefficient of normal restitution
|
||||
|
||||
mu (0.3); // dynamic friction
|
||||
|
||||
mur (0.1); // rolling friction
|
||||
}
|
||||
|
||||
|
42
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/particleInsertion
Executable file
42
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/particleInsertion
Executable file
@ -0,0 +1,42 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName particleInsertion;
|
||||
objectType dicrionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
active Yes; // is insertion active -> yes or no
|
||||
|
||||
partInsertion
|
||||
{
|
||||
timeControl simulationTime; // Time control method
|
||||
|
||||
rate 10000; // insertion rate (particles/s)
|
||||
|
||||
startTime 0; // Start time for insertion (s)
|
||||
|
||||
endTime 2; // End time for insertion (s)
|
||||
|
||||
insertionInterval 0.025; // Time interval between insertions (s)
|
||||
|
||||
regionType box; // type of insertion region
|
||||
|
||||
boxInfo
|
||||
{
|
||||
min (-0.07 0.05 0.05); // Minimum coordinates of the box (m,m,m)
|
||||
max ( 0.07 0.06 0.09); // Maximum coordinates of the box (m,m,m)
|
||||
}
|
||||
|
||||
setFields
|
||||
{
|
||||
velocity realx3 (0.0 -0.4 -0.3); // initial velocity of inserted particles
|
||||
}
|
||||
|
||||
mixture
|
||||
{
|
||||
sphere1 1; // mixture composition of inserted particles
|
||||
}
|
||||
}
|
||||
|
13
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/shapes
Executable file
13
tutorials/sphereGranFlow/drum-PeriodicBoundary/caseSetup/shapes
Executable file
@ -0,0 +1,13 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName sphereDict;
|
||||
objectType sphereShape;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
names (sphere1); // names of shapes
|
||||
|
||||
diameters (0.004); // diameter of shapes
|
||||
|
||||
materials (prop1); // material names for shapes
|
Reference in New Issue
Block a user