version 0.6.0
Loading...
Searching...
No Matches
How to print fields on a set of probe points and/or lines

The following guidelines will help you to print the time variation of some fields on a set of probe points and/or lines.

Below simple examples to print fields on a set of probe points and/or lines. For a complete description, see the full documentation of probe_lines

Probe points

You can follow the time variation of fields on a set on points in domain. Default output files are written in the output directory (output name: OUTPUT_NAME_probe_point_PROBE_INDEX). For instance, to print velocity and pressure at points (1.0, 1.0, 10.0) and (5.0, 2.0, 3.0) every 5 time iterations:

post_processing {
   probe_point {
      output_frequency 5; #default 1
      point (1.0, 1.0, 10.0);
      point (5.0, 2.0, 3.0);
      output_fields velocity, temperature;
   }
}

Probe lines

You can print the spatial variation of fields along some probe lines. Default output files are written in the output directory (output name: OUTPUT_NAME_probe_line_PROBE_INDEX). For instance, to print fields on a line segment parallel to the x axis at y=1 (at each x cell coordinate):

probe_line {
  output_frequency 5; # default 1
  line_segment_x cell 1.0; # write an array in 3D, for instance: (1.0, 1.0)
  output_fields velocity, temperature;
}