mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
Fixed Codes of RDB
This commit is contained in:
@ -2,49 +2,61 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
|
||||
objectName geometryDict;
|
||||
objectType dictionary;
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
// motion model: all surfaces are fixed
|
||||
motionModel rotatingAxisMotion;
|
||||
|
||||
surfaces
|
||||
{
|
||||
Shell
|
||||
body
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
file shell.stl; // file name in stl folder
|
||||
material wallMat; // material name of this wall
|
||||
motion rotAxis; // motion component name
|
||||
// type of the wall
|
||||
type stlWall;
|
||||
// file name in stl folder
|
||||
file Body.stl;
|
||||
// material name of this wall
|
||||
material wallMat;
|
||||
// motion component name
|
||||
motion rotAxis;
|
||||
}
|
||||
|
||||
/*
|
||||
This is a plane wall at the rear end of cylinder
|
||||
*/
|
||||
wall1
|
||||
/* This is a Cylinder Wall at the rear of cylinder */
|
||||
CylinderRear1
|
||||
{
|
||||
type planeWall; // type of the wall
|
||||
p1 (-0.4 0.10 0.0); // first point of the wall
|
||||
p2 ( 0.0 0.10 0.0); // second point
|
||||
p3 ( 0.0 0.35 0.0); // third point
|
||||
p4 (-0.4 0.35 0.0); // fourth point
|
||||
material wallMat; // material name of the wall
|
||||
motion rotAxis; // motion component name
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// first point for the axis of rotation
|
||||
p1 (-0.1974 0.2269 -0.001);
|
||||
// second point for the axis of rotation
|
||||
p2 (-0.1974 0.2269 0.0);
|
||||
// Radius of p1
|
||||
radius1 0.0001;
|
||||
// Radius of p2
|
||||
radius2 0.12;
|
||||
// material name of the wall
|
||||
material wallMat;
|
||||
// motion component name
|
||||
motion rotAxis;
|
||||
}
|
||||
|
||||
/*
|
||||
This is a plane wall at the front end of cylinder
|
||||
*/
|
||||
wall2
|
||||
/* This a cylinder Wall at the front of Cylinder */
|
||||
CylinderFront2
|
||||
{
|
||||
type planeWall; // type of the wall
|
||||
p1 (-0.4 0.10 0.1); // first point of the wall
|
||||
p2 ( 0.0 0.10 0.1); // second point
|
||||
p3 ( 0.0 0.35 0.1); // third point
|
||||
p4 (-0.4 0.35 0.1); // fourth point
|
||||
material wallMat; // material name of the wall
|
||||
motion rotAxis; // motion component name
|
||||
// type of the wall
|
||||
type cylinderWall;
|
||||
// first point for the axis of rotation
|
||||
p1 (-0.1974 0.2269 0.0989);
|
||||
// second point for the axis of rotation
|
||||
p2 (-0.1974 0.2269 0.0990);
|
||||
// Radius of p1
|
||||
radius1 0.0001;
|
||||
// Radius of p2
|
||||
radius2 0.12;
|
||||
// material name of the wall
|
||||
material wallMat;
|
||||
// motion component name
|
||||
motion rotAxis;
|
||||
}
|
||||
}
|
||||
// information for rotatingAxisMotion motion model
|
||||
@ -52,12 +64,15 @@ rotatingAxisMotionInfo
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
p1 (-0.1974 0.2269 0); // first point for the axis of rotation
|
||||
p2 (-0.1974 0.2269 0.1); // second point for the axis of rotation
|
||||
omega 2.38733; // rotation speed (rad/s) => 15 rpm
|
||||
// first point for the axis of rotation
|
||||
p1 (-0.1974 0.2269 0);
|
||||
// second point for the axis of rotation
|
||||
p2 (-0.1974 0.2269 0.1);
|
||||
// rotation speed (rad/s) => 15 rpm
|
||||
omega 2.38733;
|
||||
// Start time of Geometry Rotating
|
||||
startTime 2;
|
||||
// End time of Geometry Rotating
|
||||
endTime 9.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,18 +2,21 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
|
||||
objectName particlesDict;
|
||||
objectType dictionary;
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
setFields
|
||||
{
|
||||
defaultValue
|
||||
{
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||
shapeName word lightSphere; // name of the particle shape
|
||||
// linear velocity (m/s)
|
||||
velocity realx3 (0 0 0);
|
||||
// linear acceleration (m/s2)
|
||||
acceleration realx3 (0 0 0);
|
||||
// rotational velocity (rad/s)
|
||||
rotVelocity realx3 (0 0 0);
|
||||
// name of the particle shape
|
||||
shapeName word lightSphere;
|
||||
}
|
||||
|
||||
selectors
|
||||
@ -23,9 +26,11 @@ setFields
|
||||
// positions particles
|
||||
positionParticles
|
||||
{
|
||||
method empty; // creates the required fields with zero particles (empty).
|
||||
|
||||
maxNumberOfParticles 50000; // maximum number of particles in the simulation
|
||||
mortonSorting Yes; // perform initial sorting based on morton code?
|
||||
// creates the required spaces with zero particles (empty).
|
||||
method empty;
|
||||
// maximum number of particles in the simulation
|
||||
maxNumberOfParticles 20050;
|
||||
// perform initial sorting based on morton code?
|
||||
mortonSorting Yes;
|
||||
|
||||
}
|
||||
|
@ -2,35 +2,35 @@
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
|
||||
objectName settingsDict;
|
||||
objectType dictionary;;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
run RotatingDrumwithBaffles;
|
||||
|
||||
run layerdSiloFilling;
|
||||
// time step for integration (s)
|
||||
dt 0.00001;
|
||||
// start time for simulation
|
||||
startTime 0;
|
||||
// end time for simulation
|
||||
endTime 10;
|
||||
// time interval for saving the simulation
|
||||
saveInterval 0.05;
|
||||
// maximum number of digits for time folder
|
||||
timePrecision 6;
|
||||
// gravity vector (m/s2)
|
||||
g (0 -9.8 0);
|
||||
|
||||
dt 0.00001; // time step for integration (s)
|
||||
|
||||
startTime 0; // start time for simulation
|
||||
|
||||
endTime 10; // end time for simulation
|
||||
|
||||
saveInterval 0.05; // time interval for saving the simulation
|
||||
|
||||
timePrecision 6; // maximum number of digits for time folder
|
||||
|
||||
g (0 -9.8 0); // gravity vector (m/s2)
|
||||
|
||||
/*
|
||||
Simulation domain
|
||||
every particles that goes outside this domain is deleted.
|
||||
*/
|
||||
/*Simulation domain*/
|
||||
/* Every particles that goes outside this domain is deleted.*/
|
||||
domain
|
||||
{
|
||||
min (-0.328 0.095 -0.025);
|
||||
max (-0.068 0.355 0.125);
|
||||
}
|
||||
|
||||
integrationMethod AdamsBashforth3; // integration method
|
||||
|
||||
timersReport Yes; // report timers?
|
||||
|
||||
timersReportInterval 0.01; // time interval for reporting timers
|
||||
// integration method
|
||||
integrationMethod AdamsBashforth3;
|
||||
// report timers?
|
||||
timersReport Yes;
|
||||
// time interval for reporting timers
|
||||
timersReportInterval 0.01;
|
||||
|
Reference in New Issue
Block a user