mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-28 03:27:05 +00:00
V-blender updated.
This commit is contained in:
59
tutorials/sphereGranFlow/V-blender/settings/domainDict
Executable file
59
tutorials/sphereGranFlow/V-blender/settings/domainDict
Executable file
@ -0,0 +1,59 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName domainDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
globalBox // Simulation domain: every particles that goes outside this domain will be deleted
|
||||
{
|
||||
min (-0.1 -0.4 0);
|
||||
|
||||
max (0.86 0.6 0.6);
|
||||
}
|
||||
|
||||
boundaries
|
||||
{
|
||||
// Determines how often (how many iterations) do you want to
|
||||
// rebuild the list of particles in the neighbor list
|
||||
// of all boundaries in the simulation domain
|
||||
neighborListUpdateInterval 50;
|
||||
|
||||
// Determines how often do you want to update the new changes in the boundary
|
||||
updateInterval 0.0001;
|
||||
|
||||
// The distance from the boundary plane within which particles are marked to be in the boundary list
|
||||
neighborLength 0.004;
|
||||
|
||||
left
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
rear
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type exit; // other options: periodict, reflective
|
||||
}
|
||||
}
|
||||
|
63
tutorials/sphereGranFlow/V-blender/settings/geometryDict
Normal file → Executable file
63
tutorials/sphereGranFlow/V-blender/settings/geometryDict
Normal file → Executable file
@ -6,49 +6,38 @@ objectName geometryDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
motionModel rotatingAxis; // motion model can be rotatingAxis or stationary or vibrating
|
||||
|
||||
// motion model: rotating object around an axis
|
||||
motionModel rotatingAxisMotion;
|
||||
|
||||
surfaces
|
||||
{
|
||||
|
||||
body
|
||||
{
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// information for rotatingAxisMotion motion model
|
||||
rotatingAxisMotionInfo
|
||||
rotatingAxisInfo // information for rotatingAxisMotion motion model
|
||||
{
|
||||
rotAxis
|
||||
{
|
||||
// first point for the axis of rotation
|
||||
p1 (0.128228 0.116446 0.297901);
|
||||
p1 (0.128228 0.116446 0.297901); // first point for the axis of rotation
|
||||
|
||||
p2 (0.722596 0.116459 0.297901); // second point for the axis of rotation
|
||||
|
||||
// second point for the axis of rotation
|
||||
p2 (0.722596 0.116459 0.297901);
|
||||
omega 3.14; // rotation speed (rad/s)
|
||||
|
||||
// rotation speed (rad/s)
|
||||
omega 3.14;
|
||||
startTime 3; // start time of rotation
|
||||
|
||||
// start time of rotation
|
||||
startTime 3;
|
||||
|
||||
// end time of rotation
|
||||
endTime 10;
|
||||
endTime 10; // end time of rotation
|
||||
}
|
||||
}
|
||||
|
||||
surfaces
|
||||
{
|
||||
body
|
||||
{
|
||||
type stlWall; // type of the wall
|
||||
|
||||
file body.stl; // file name in stl folder
|
||||
|
||||
material wallMat; // material name of this wall
|
||||
|
||||
motion rotAxis; // motion component name
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
39
tutorials/sphereGranFlow/V-blender/settings/particlesDict
Normal file → Executable file
39
tutorials/sphereGranFlow/V-blender/settings/particlesDict
Normal file → Executable file
@ -6,7 +6,6 @@ objectName particlesDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
setFields
|
||||
{
|
||||
/*
|
||||
@ -17,32 +16,36 @@ setFields
|
||||
|
||||
defaultValue
|
||||
{
|
||||
// linear velocity (m/s)
|
||||
velocity realx3 (0 0 0);
|
||||
|
||||
// linear acceleration (m/s2)
|
||||
acceleration realx3 (0 0 0);
|
||||
velocity realx3 (0 0 0); // linear velocity (m/s)
|
||||
|
||||
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
||||
|
||||
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
||||
|
||||
// rotational velocity (rad/s)
|
||||
rVelocity realx3 (0 0 0);
|
||||
|
||||
// name of the particle shape
|
||||
shapeName word smallSphere;
|
||||
shapeName word smallSphere; // name of the particle shape
|
||||
}
|
||||
|
||||
selectors
|
||||
{}
|
||||
}
|
||||
|
||||
// positions particles
|
||||
positionParticles
|
||||
positionParticles // positions particles
|
||||
{
|
||||
// no particle is initially in the simulation
|
||||
method empty;
|
||||
method empty; // other options: ordered and random
|
||||
|
||||
// maximum number of particles in the simulation
|
||||
maxNumberOfParticles 25000;
|
||||
maxNumberOfParticles 25000; // maximum number of particles in the simulation
|
||||
|
||||
// perform initial sorting based on morton code?
|
||||
mortonSorting Yes;
|
||||
regionType box; // other options: cylinder and sphere
|
||||
|
||||
boxInfo // box for positioning particles
|
||||
{
|
||||
min (-0.08 -0.08 0.015); // lower corner point of the box
|
||||
|
||||
max ( 0.08 0.08 0.098); // upper corner point of the box
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
45
tutorials/sphereGranFlow/V-blender/settings/settingsDict
Normal file → Executable file
45
tutorials/sphereGranFlow/V-blender/settings/settingsDict
Normal file → Executable file
@ -6,45 +6,32 @@ objectName settingsDict;
|
||||
objectType dictionary;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
run rotatingVblender;
|
||||
|
||||
run rotatingVblender;
|
||||
dt 0.00001; // time step for integration
|
||||
|
||||
// time step for integration (s)
|
||||
dt 0.00001;
|
||||
startTime 0.0; // start time for simulation
|
||||
|
||||
// start time for simulation
|
||||
startTime 0;
|
||||
endTime 10.0; // end time for simulation
|
||||
|
||||
// end time for simulation
|
||||
endTime 10;
|
||||
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 0 -9.8); // gravity vector (m/s2)
|
||||
|
||||
// gravity vector (m/s2)
|
||||
g (0 0 -9.8);
|
||||
// save necessary (i.e., required) data on disk
|
||||
includeObjects (diameter);
|
||||
// exclude unnecessary data from saving on disk
|
||||
excludeObjects (rVelocity.dy1 pStructPosition.dy1 pStructVelocity.dy1);
|
||||
|
||||
/*
|
||||
Simulation domain
|
||||
every particles that goes outside this domain is deleted.
|
||||
*/
|
||||
integrationMethod AdamsBashforth2; // integration method
|
||||
|
||||
domain
|
||||
{
|
||||
min (-0.1 -0.4 0);
|
||||
max (0.86 0.6 0.6);
|
||||
}
|
||||
writeFormat ascii; // data writting format (ascii or binary)
|
||||
|
||||
// integration method
|
||||
integrationMethod AdamsBashforth2;
|
||||
timersReport Yes; // report timers
|
||||
|
||||
timersReportInterval 0.01; // time interval for reporting timers
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
// report timers?
|
||||
timersReport Yes;
|
||||
|
||||
// time interval for reporting timers
|
||||
timersReportInterval 0.01;
|
||||
|
Reference in New Issue
Block a user