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 |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName geometryDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
// motion model: rotating object around an axis
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
rotatingAxisMotionInfo
{
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
omega 2.1; // rotation speed (rad/s)
// first point for the axis of rotation
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;
// End time of Geometry Rotating (s)
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 |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectName geometryDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
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 sphere; // 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 sphere;
}
selectors
@ -23,9 +31,13 @@ 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 fields with zero particles (empty).
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 |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName settingsDict;
objectType dictionary;;
objectName geometryDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
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
every particles that goes outside this domain is deleted.
Simulation domain every particles that goes outside this domain is deleted.
*/
domain
{
min (0.397538 0.178212 0.00);
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;