From 7d62ba42de864b81627a44166ce7745fd2fadb2d Mon Sep 17 00:00:00 2001 From: Omid Khosravi Date: Mon, 1 May 2023 16:18:49 +0430 Subject: [PATCH] Rotary Air-Lock Valve Comments for Settings Folder were fixed. --- .../RotaryAirLockValve/settings/geometryDict | 69 +++++++++++++------ .../RotaryAirLockValve/settings/particlesDict | 30 +++++--- .../RotaryAirLockValve/settings/settingsDict | 39 +++++++---- 3 files changed, 93 insertions(+), 45 deletions(-) diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/geometryDict b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/geometryDict index 98816cf8..e54be4d1 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/geometryDict +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/geometryDict @@ -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; +} + diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict index e4a58b20..3ee8f1cf 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict @@ -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; } diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/settingsDict b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/settingsDict index 23ab3c90..d4165910 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/settingsDict +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/settingsDict @@ -2,36 +2,47 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ -objectName settingsDict; -objectType dictionary;; +objectName geometryDict; +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 - 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;