StallCheck

class sharpy.postproc.stallcheck.StallCheck[source]

Outputs the incidence angle of every panel of the surface as cell variables for visualisation in Paraview.

Note

This postprocessor appends the information to the current SHARPy timestep being run, therefore, in order to visualise the result in Paraview, it must be run prior to AerogridPlot. Otherwise, the panel stall check will be performed but the actual angle not produced in the Paraview visualisation.

It also checks that the angles do not exceed the specified limit, with a warning in the log if the angle of attack exceeds such limits (both positive and negative).

The limits are set through the setting airfoil_stall_angles, which takes a dictionary where the key is the ID to the airfoil (in string format) and the value is a 2-tuple containing the negative and positive limits in radians.

The settings that this solver accepts are given by a dictionary, with the following key-value pairs:

Name

Type

Description

Default

print_info

bool

Print info to screen

True

airfoil_stall_angles

dict

Dictionary of stall angles for each airfoil as per the details above

{}

output_degrees

bool

Output incidence angles in degrees vs radians

False