tutorials-1 after diameter->distance

This commit is contained in:
Hamidreza
2025-04-25 14:17:09 +03:30
parent a545acb374
commit 7c3b90a22d
52 changed files with 1100 additions and 908 deletions

View File

@ -2,64 +2,62 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName domainDict;
objectType dictionary;
objectName domainDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
globalBox // Simulation domain: every particles that goes outside this domain will be deleted
// Simulation domain: every particles that goes outside this domain will be deleted
globalBox
{
min (-0.11 -0.11 -0.41);
max ( 0.33 0.11 0.41);
min (-0.11 -0.11 -0.41);
max ( 0.33 0.11 0.41);
}
boundaries
{
// Determines how often (how many iterations) do you want to
// Determines how often (how many iterations) do you want to
// rebuild the list of particles in the neighbor list
// of all boundaries in the simulation domain
// rebuild the list of particles in the neighbor list
neighborListUpdateInterval 30;
// Determines how often do you want to update the new changes in the boundary
updateInterval 10;
// of all boundaries in the simulation domain
// The distance from the boundary plane within which particles are marked to be in the boundary list
neighborLength 0.004;
neighborListUpdateInterval 30;
// Determines how often do you want to update the new changes in the boundary
left
{
type exit; // other options: periodict, reflective
}
updateInterval 10;
right
{
type exit; // other options: periodict, reflective
}
// The distance from the boundary plane within which particles are marked to be in the boundary list
bottom
{
type exit; // other options: periodict, reflective
}
neighborLength 0.004;
top
{
type exit; // other options: periodict, reflective
}
left
{
type exit; // other options: periodict, reflective
}
rear
{
type exit; // other options: periodict, reflective
}
right
{
type exit; // other options: periodict, reflective
}
bottom
{
type exit; // other options: periodict, reflective
}
top
{
type exit; // other options: periodict, reflective
}
rear
{
type exit; // other options: periodict, reflective
}
front
{
type exit; // other options: periodict, reflective
}
front
{
type exit; // other options: periodict, reflective
}
}

View File

@ -2,11 +2,13 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName geometryDict;
objectType dictionary;
objectName geometryDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
motionModel conveyorBelt; // motion model can be rotatingAxis or stationary or vibrating
// motion model can be rotatingAxis or stationary or vibrating
motionModel conveyorBelt;
conveyorBeltInfo
{
@ -18,63 +20,58 @@ conveyorBeltInfo
surfaces
{
cylinderShell
{
type cylinderWall; // other options: cuboidWall and planeWall
cylinderShell
{
type cylinderWall; // other options: cuboidWall and planeWall
p1 (0.0 0.0 0.0); // begin point of cylinder axis
p1 (0.0 0.0 0.0); // begin point of cylinder axis
p2 (0.0 0.0 0.4); // end point of cylinder axis
p2 (0.0 0.0 0.4); // end point of cylinder axis
radius1 0.1; // radius at p1
radius1 0.1; // radius at p1
radius2 0.1; // radius at p2
radius2 0.1; // radius at p2
resolution 36; // number of divisions
resolution 36; // number of divisions
material wallMat; // material name of this wall
}
material wallMat; // material name of this wall
}
coneShell
{
type cylinderWall; // other options: cuboidWall and planeWall
coneShell
{
type cylinderWall; // other options: cuboidWall and planeWall
p1 (0.0 0.0 -0.1); // begin point of cylinder axis
p1 (0.0 0.0 -0.1); // begin point of cylinder axis
p2 (0.0 0.0 0.0); // end point of cylinder axis
p2 (0.0 0.0 0.0); // end point of cylinder axis
radius1 0.02; // radius at p1
radius1 0.02; // radius at p1
radius2 0.1; // radius at p2
radius2 0.1; // radius at p2
resolution 36; // number of divisions
resolution 36; // number of divisions
material wallMat; // material name of this wall
}
material wallMat; // material name of this wall
}
belt
{
type stlWall; // type of the wall
belt
{
type stlWall; // type of the wall
file belt.stl; // file name in stl folder
file belt.stl; // file name in stl folder
material wallMat; // material name of this wall
material wallMat; // material name of this wall
motion conveyorBelt1; // motion component name
}
motion conveyorBelt1; // motion component name
}
box
{
type stlWall; // type of the wall
box
{
type stlWall; // type of the wall
file box.stl; // file name in stl folder
file box.stl; // file name in stl folder
material wallMat; // material name of this wall
}
material wallMat; // material name of this wall
}
}

View File

@ -6,16 +6,14 @@ objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
setFields
{
/*
Default value for fields defined for particles
These fields should always be defined for simulations with
spherical particles.
*/
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
@ -31,17 +29,8 @@ setFields
{}
}
positionParticles // positions particles
positionParticles
{
method empty; // other options: ordered and random
regionType box; // other options: cylinder and sphere
boxInfo // box region for positioning particles
{
min (-0.08 -0.08 0.015); // lower corner point of the box
max ( 0.08 0.08 0.098); // upper corner point of the box
}
method empty; // other options: file, ordered and random
}

View File

@ -2,41 +2,39 @@
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName settingsDict;
objectType dictionary;
objectName settingsDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
run layerdSiloFilling;
dt 0.00005; // time step for integration (s)
run conveyorBelt;
startTime 0.0; // start time for simulation
dt 0.00005; // time step for integration (s)
endTime 5.0; // end time for simulation
startTime 0.0; // start time for simulation
saveInterval 0.05; // time interval for saving the simulation
endTime 5.0; // end time for simulation
timePrecision 6; // maximum number of digits for time folder
saveInterval 0.05; // time interval for saving the simulation
g (0 0 -9.8); // gravity vector (m/s2)
timePrecision 6; // maximum number of digits for time folder
g (0 0 -9.8); // gravity vector (m/s2)
// save data objects that are not automatically saved on disk.
// overrides the default behavior
includeObjects (diameter);
// exclude unnecessary data from saving on disk
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
integrationMethod AdamsBashforth2; // integration method
integrationMethod AdamsBashforth2; // integration method
writeFormat ascii; // data writting format (ascii or binary)
writeFormat ascii; // data writting format (ascii or binary)
timersReport Yes; // report timers
timersReport Yes; // report timers
timersReportInterval 0.01; // time interval for reporting timers
timersReportInterval 0.01; // time interval for reporting timers