You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PostprocessData/readme.md
+45-15Lines changed: 45 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,14 @@ The `PostprocessData` module in phasicFlow provides powerful tools for analyzing
5
5
- in-simulation: this is postprocessing that is active during simulation. When running a solver, it allows for real-time data analysis and adjustments based on the simulation's current state. See below to see how you can activate in-simulation postprocessing.
6
6
- post-simulation: this is postprocessing that is done after the simulation is completed. It allows for detailed analysis of the simulation results, including data extraction and visualization based on the results that are stored in time-folders. If you want to use post-simulation, you need to run utility `postprocessPhasicFlow` in terminal (in the simulation case setup folder) to run the postprocessing. This utility reads the `postprocessDataDict` file and performs the specified operations on the simulation data.
in-simulation postprocessing is not implemented for MPI execution. For post-simulation postprocessing, you can use the `postprocessPhasicFlow` utility without MPI, even though the actual simulation has been done using MPI.
11
+
***NOTE 1:**
12
+
postprocessing for in-simulation, is not implemented for MPI execution. So, do not use it when using MPI execution. For post-simulation postprocessing, you can use the `postprocessPhasicFlow` utility without MPI, even though the actual simulation has been done using MPI.
13
13
14
-
</div>
15
-
16
-
## 1. Overview
17
-
18
-
Postprocessing in phasicFlow allows you to:
19
-
20
-
- Extract information about particles in specific regions of the domain
21
-
- Calculate statistical properties such as averages and sums of particle attributes
22
-
- Track specific particles throughout the simulation
23
-
- Apply different weighing methods when calculating statistics
24
-
- Perform postprocessing at specific time intervals
14
+
***NOTE 2:**
15
+
In post-simulation mode, all timeControl settings are ignored. The postprocessing will be done for all the time folders that are available in the case directory or if you specify the time range in the command line, the postprocessing will be done for the time folders that are in the specified range of command line.
25
16
26
17
## Table of Contents
27
18
@@ -48,6 +39,16 @@ Postprocessing in phasicFlow allows you to:
-[10. A complete dictionary file (postprocessDataDict)](#10-a-complete-dictionary-file-postprocessdatadict)
50
41
42
+
## 1. Overview
43
+
44
+
Postprocessing in phasicFlow allows you to:
45
+
46
+
- Extract information about particles in specific regions of the domain
47
+
- Calculate statistical properties such as averages and sums of particle attributes
48
+
- Track specific particles throughout the simulation
49
+
- Apply different weighing methods when calculating statistics
50
+
- Perform postprocessing at specific time intervals
51
+
51
52
## 2. Setting Up Postprocessing
52
53
53
54
Postprocessing is configured through a dictionary file named `postprocessDataDict` which should be placed in the `settings` directory. Below is a detailed explanation of the configuration options.
@@ -460,7 +461,7 @@ components
460
461
processMethod particleProbe;
461
462
processRegion centerPoints;
462
463
selector id;
463
-
field component(position,y);
464
+
field component(velocity,y);
464
465
ids (0 10 100);
465
466
timeControl default; // other options are settings, timeStep, simulationTime
466
467
// settings: uses parameters from settingsDict file
@@ -469,6 +470,35 @@ components
469
470
// default: uses the default time control (defined in defaultTimeControl).
470
471
// default behavior: if you do not specify it, parameters in defaultTimeControl is used.
471
472
}
473
+
474
+
particlesTrack
475
+
{
476
+
processMethod particleProbe;
477
+
478
+
processRegion centerPoints;
479
+
480
+
// all particles whose ceters are located inside this box
481
+
// are selected. Selection occurs at startTime: particles
482
+
// that are inside the box at t = startTime.
483
+
selector box;
484
+
boxInfo
485
+
{
486
+
min (0 0 0);
487
+
max (0.1 0.05 0.05);
488
+
}
489
+
490
+
// center position of selected particles are processed
0 commit comments