PlotFlowField
- class sharpy.postproc.plotflowfield.PlotFlowField[source]
Plots the flow field in Paraview and computes the velocity at a set of points in a grid.
The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name
Type
Description
Default
Options
postproc_grid_generator
str
Generator used to create grid and plot flow field
GridBox
GridBox
postproc_grid_input
dict
Dictionary containing settings for
postproc_grid_generator
.{}
velocity_field_generator
str
Chosen velocity field generator
SteadyVelocityField
velocity_field_input
dict
Dictionary containing settings for the selected
velocity_field_generator
.{}
dt
float
Time step.
0.1
include_external
bool
Include external velocities.
True
include_induced
bool
Include induced velocities.
True
stride
int
Number of time steps between plots.
1
num_cores
int
Number of cores to use.
1
vortex_radius
float
Distance below which inductions are not computed.
sharpy.utils.constants.vortex_radius_def