Rotary Air-Lock Valve

Comments for Settings Folder were fixed.
This commit is contained in:
Omid Khosravi 2023-05-01 16:18:49 +04:30
parent 58254fe9f2
commit 7d62ba42de
3 changed files with 93 additions and 45 deletions

View File

@ -2,40 +2,65 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName geometryDict; objectName geometryDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
// motion model: rotating object around an axis // motion model: rotating object around an axis
motionModel rotatingAxisMotion; motionModel rotatingAxisMotion;
surfaces
{
gear
{
type stlWall; // type of the wall
file gear.stl; // file name in stl folder
material wallMat; // material name of this wall
motion rotAxis; // motion component name
}
surfaces
{
type stlWall; // type of the wall
file surfaces.stl; // file name in stl folder
material wallMat; // material name of this wall
motion none; // motion component name
}
}
// information for rotatingAxisMotion motion model // information for rotatingAxisMotion motion model
rotatingAxisMotionInfo rotatingAxisMotionInfo
{ {
rotAxis rotAxis
{ {
p1 (0.561547 0.372714 0.000); // first point for the axis of rotation
p2 (0.561547 0.372714 0.010); // second point for the axis of rotation // first point for the axis of rotation
omega 2.1; // rotation speed (rad/s) p1 (0.561547 0.372714 0.000);
// second point for the axis of rotation
p2 (0.561547 0.372714 0.010);
// rotation speed (rad/s)
omega 2.1;
// Start time of Geometry Rotating (s)
startTime 1.25; startTime 1.25;
// End time of Geometry Rotating (s)
endTime 7; endTime 7;
} }
} }
surfaces
{
gear
{
// type of the wall
type stlWall;
// file name in stl folder
file gear.stl;
// material name of this wall
material wallMat;
// motion component name
motion rotAxis;
}
surfaces
{
// type of the wall
type stlWall;
// file name in stl folder
file surfaces.stl;
// material name of this wall
material wallMat;
// motion component name
motion none;
}

View File

@ -2,18 +2,26 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName geometryDict;
objectName particlesDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
setFields setFields
{ {
defaultValue defaultValue
{ {
velocity realx3 (0 0 0); // linear velocity (m/s) // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2) velocity realx3 (0 0 0);
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word sphere; // name of the particle shape // 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 sphere;
} }
selectors selectors
@ -23,9 +31,13 @@ setFields
// positions particles // positions particles
positionParticles positionParticles
{ {
method empty; // creates the required fields with zero particles (empty).
maxNumberOfParticles 50000; // maximum number of particles in the simulation // creates the required fields with zero particles (empty).
mortonSorting Yes; // perform initial sorting based on morton code? method empty;
// maximum number of particles in the simulation
maxNumberOfParticles 50000;
// perform initial sorting based on morton code?
mortonSorting Yes;
} }

View File

@ -2,36 +2,47 @@
| phasicFlow File | | phasicFlow File |
| copyright: www.cemf.ir | | copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */ \* ------------------------------------------------------------------------- */
objectName settingsDict; objectName geometryDict;
objectType dictionary;; objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
run rotatingValve; run rotatingValve;
dt 0.00001; // time step for integration (s) // time step for integration (s)
dt 0.00001;
startTime 0; // start time for simulation // start time for simulation
startTime 0;
endTime 7; // end time for simulation // end time for simulation
endTime 7;
saveInterval 0.05; // time interval for saving the simulation // time interval for saving the simulation
saveInterval 0.05;
timePrecision 6; // maximum number of digits for time folder // maximum number of digits for time folder
timePrecision 6;
g (0 -9.8 0); // gravity vector (m/s2) // gravity vector (m/s2)
g (0 -9.8 0);
/* /*
Simulation domain Simulation domain every particles that goes outside this domain is deleted.
every particles that goes outside this domain is deleted.
*/ */
domain domain
{ {
min (0.397538 0.178212 0.00); min (0.397538 0.178212 0.00);
max (0.725537 0.600214 0.06); max (0.725537 0.600214 0.06);
} }
integrationMethod AdamsBashforth3; // integration method // integration method
integrationMethod AdamsBashforth3;
timersReport Yes; // report timers? // report timers?
timersReport Yes;
timersReportInterval 0.01; // time interval for reporting timers // time interval for reporting timers
timersReportInterval 0.01;