mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
first commit for post-processing
- the whole structure is ready. - next step whould be execute methods and then write methods - post-processing after simulation is not started yet.
This commit is contained in:
108
src/PostProcessData/postprocessDataDict
Executable file
108
src/PostProcessData/postprocessDataDict
Executable file
@ -0,0 +1,108 @@
|
||||
/* -------------------------------*- C++ -*--------------------------------- *\
|
||||
| phasicFlow File |
|
||||
| copyright: www.cemf.ir |
|
||||
\* ------------------------------------------------------------------------- */
|
||||
objectName processDataDict;
|
||||
objectType dictionary;;
|
||||
fileFormat ASCII;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
runTimeActive yes;
|
||||
|
||||
defaultTimeControl
|
||||
{
|
||||
timeControl;
|
||||
startTime;
|
||||
endTime;
|
||||
actionInterval 0.05;
|
||||
}
|
||||
|
||||
components
|
||||
(
|
||||
velocityProb
|
||||
{
|
||||
method particleProbe;
|
||||
region idSelecttion;
|
||||
field velocity;
|
||||
ids (0 10 100);
|
||||
timeControl timeStep;
|
||||
startTime 0;
|
||||
endTime infinity;
|
||||
probInterval 1;
|
||||
}
|
||||
|
||||
comp2
|
||||
{
|
||||
method uniformDistribution;
|
||||
region spehre;
|
||||
|
||||
sphereInfo
|
||||
{
|
||||
radius 0.01;
|
||||
center ();
|
||||
}
|
||||
timeControl default; //default;
|
||||
operations
|
||||
(
|
||||
numParticle
|
||||
{
|
||||
function sum;
|
||||
field compoenent(velocity,x);
|
||||
phi square(mass);
|
||||
divideByVol no; //default
|
||||
threshold 1; //default;
|
||||
defaultVal NaN;
|
||||
//includeMask all; //default;
|
||||
includeMask lessThan;
|
||||
lessThanInfo
|
||||
{
|
||||
field diameter;
|
||||
value 0.003;
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
comp3
|
||||
{
|
||||
|
||||
region line;
|
||||
lineInfo
|
||||
{
|
||||
p1 ();
|
||||
p2 ();
|
||||
numPoints 10;
|
||||
radius 0.01;
|
||||
}
|
||||
timeControl settingsDict; //default;
|
||||
type numberBased;
|
||||
operations();
|
||||
}
|
||||
|
||||
comp4
|
||||
{
|
||||
type GaussianDistribution;
|
||||
region hexMesh; // unstructuredMehs;
|
||||
hexMeshInfo
|
||||
{
|
||||
min (-0.3 -1.4 -0.01);
|
||||
max ( 0.3 2 0.48 );
|
||||
nx 30; // number of divisions in x direction
|
||||
ny 160; // number of divisions in y direction
|
||||
nz 24; // number of divisions in z direction
|
||||
}
|
||||
timeControl settingsDict; // read from settingsDict
|
||||
operations
|
||||
(
|
||||
avVelocity
|
||||
{
|
||||
type average;
|
||||
field realx3 velocity; // default to real 1.0
|
||||
divideByVol no; // default
|
||||
threshold 1; //default;
|
||||
includeMask all; //default;
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user