v2506: New and improved post-processing

New blade forces function object

TOP

The new bladeForces function object calculates thrust, drag, torque and lift/drag/pressure coefficients of single or multiple blades, e.g. propeller, turbine blades.

The primary purpose is to determine the blade characteristics of section-wise radial segments. In contrast to the existing forces and propellerInfo function objects, all local quantities are calculated with reference to the cylindrical coordinate system.

The output comprises the following:

  • coefficients per radial bin
  • area-weighted total coefficients
  • integrated forces and torque

Results are also written in a VTK (.vtp) output format for convenient post-processing. All surface results are registered internally, and available for other function objects such as surfaceFieldValue etc.

 

Source

Tutorial

New fieldStatistics function object

TOP

The new fieldStatistics function object calculates various statistics of user-specified fields. Available statistics of the operand fields include:

min        | Minimum value
max        | Maximum value
mean       | Arithmetic mean value
variance   | Sample variance value (unbiased)

The output statistics can be obtained for field components, e.g. Ux Uy Uz, or the magnitude of the field, e.g. mag(U). Average values are calculated using an arithmetic mean or volume-weighted arithmetic mean. Further, statistics may be generated for the entire domain or restricted to the internal field only. A minimal example usage is as follows:

fieldStatistics1
{
    // Mandatory entries
    type             fieldStatistics;
    libs             (fieldFunctionObjects);
    fields           (<wordList>);
    statistics       (<wordList>);

    // Optional entries
    mode             <word>;
    mean             <word>;
    extrema          <bool>;
    internal         <bool>;

    // Inherited entries
    ...
}

Source code

Tutorial

Merge request