V-blender finalized for v-1.0

This commit is contained in:
Hamidreza 2025-04-21 15:52:51 +03:30
parent cde93e953e
commit 8da8afbe63
9 changed files with 149 additions and 145 deletions

View File

@ -8,7 +8,7 @@ fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
active Yes; // is insertion active -> Yes or No active Yes; // is insertion active -> Yes or No
checkForCollision No; // is checked -> Yes or No checkForCollision Yes; // is checked -> Yes or No
/* /*
Two layers of particles are packed one-by-one using tho insertion steps Two layers of particles are packed one-by-one using tho insertion steps
@ -31,7 +31,6 @@ rightregion
cylinderInfo cylinderInfo
{ {
/* coordinates of center of both ends of the insertion /* coordinates of center of both ends of the insertion
cylinder on the right side of the V-blender (m,m,m) */ cylinder on the right side of the V-blender (m,m,m) */
p1 (0.0950615 0.12 0.5011585); p1 (0.0950615 0.12 0.5011585);
@ -69,7 +68,6 @@ leftregion
cylinderInfo cylinderInfo
{ {
/* coordinates of center of both ends of the insertion /* coordinates of center of both ends of the insertion
cylinder on the left side of the V-blender (m,m,m) */ cylinder on the left side of the V-blender (m,m,m) */
p1 ( 0.7562545 0.12 0.50079); p1 ( 0.7562545 0.12 0.50079);

View File

@ -6,6 +6,7 @@ objectName sphereDict;
objectType sphereShape; objectType sphereShape;
fileFormat ASCII; fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
names (smallSphere largeSphere); // names of particles names (smallSphere largeSphere); // names of particles
diameters (0.01 0.0101); // diameter of particles diameters (0.01 0.0101); // diameter of particles

0
tutorials/sphereGranFlow/V-blender/cleanThisCase Normal file → Executable file
View File

0
tutorials/sphereGranFlow/V-blender/runThisCase Normal file → Executable file
View File

View File

@ -6,7 +6,9 @@ objectName domainDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII; 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.1 -0.4 0); // lower corner point of the box min (-0.1 -0.4 0); // lower corner point of the box

View File

@ -10,9 +10,7 @@ setFields
{ {
/* /*
Default value for fields defined for particles Default value for fields defined for particles
These fields should always be defined for simulations with These fields should always be defined for simulations with
spherical particles. spherical particles.
*/ */
@ -30,12 +28,12 @@ setFields
selectors selectors
{} {}
} }
positionParticles // positions particles
positionParticles
{ {
method empty; // ordered positioning method empty; // no particle at the start of simulation
mortonSorting Yes; // perform initial sorting based on morton code? mortonSorting Yes; // perform initial sorting based on morton code?
maxNumberOfParticles 25000;
} }

View File

@ -23,12 +23,17 @@ g (0 0 -9.8); // gravity vector (m/s2)
includeObjects (diameter); // save necessary (i.e., required) data on disk includeObjects (diameter); // save necessary (i.e., required) data on disk
// exclude unnecessary data from saving on disk // exclude unnecessary data from saving on disk
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1); excludeObjects ();
// include the objects to be saved in the time folders
includeObject ();
integrationMethod AdamsBashforth2; // integration method integrationMethod AdamsBashforth2; // integration method
integrationHistory off; // Do not save integration history on the disk
writeFormat ascii; // data writting format (ascii or binary) writeFormat ascii; // data writting format (ascii or binary)
timersReport Yes; // report timers (Yes or No) timersReport Yes; // report timers (Yes or No)
timersReportInterval 0.01; // time interval for reporting timers timersReportInterval 0.05; // time interval for reporting timers