Skip to content

Output Data

Every output is triggered by a frequency of the global block and written under output_directory.

Log

Every simulation_print_log_freq steps, a log line prints the step, the physical time, the number of nodes, the sum of the densities, the minimum and maximum velocity norms (m/s) and the throughput in MLUPS (million lattice updates per second):

     Step     Time          Mesh Size   Sum(density)   min(||V||)   max(||V||)     MLUPS
        0  0.000000e+00         27900       2.79e+04     1.59e-07     1.59e-07   0.00e+00
       10  3.333333e-02         27900       2.79e+04     1.59e-07     1.59e-07   ...

ParaView files

Every simulation_paraview_freq steps, write_paraview writes in <output_directory>/ParaviewOutput/ (one .pvtr file per output, one .vtr piece per MPI process):

  • P: pressure difference relative to the reference state (Pa), \(p = \frac{c^2}{3}\,\rho_{ref}\,(\rho_{LBM} - 1)\), 0 in the obstacles;
  • U: velocity (m/s);
  • OBST: obstacle field (-1 fluid node, -2 solid node inside an obstacle).

Open the .pvtr files in ParaView.

Profiles

Every simulation_analysis_freq steps, the analysis batch runs. The Poiseuille deck samples the velocity along a vertical line at the center of the channel:

1
2
3
analysis:
  - plot_line_velocity:
     line: [[0.05,0.05,0],[0.05,0.05,0.1]]

and writes <output_directory>/Profile/line_<step>.csv. At the end of the run, the checker hook writes the average velocity profile along Z:

1
2
3
checker:
  - plane_velocity_profile:
     dimension: Z

See Outputs & Analysis for all the output operators and Checkpoint / Restart for checkpoint files.