StaticUvlm

class sharpy.solvers.staticuvlm.StaticUvlm[source]

StaticUvlm solver class, inherited from BaseSolver

Aerodynamic solver that runs a UVLM routine to solve the steady or unsteady aerodynamic problem. The aerodynamic problem is posed in the form of an Aerogrid object.

Parameters:
  • data (PreSharpy) – object with problem data
  • custom_settings (dict) – custom settings that override the settings in the solver .txt file. None by default
settings

Name-value pair of settings employed by solver. See Notes for valid combinations

Type:dict
settings_types

Acceptable data types for entries in settings

Type:dict
settings_default

Default values for the available settings

Type:dict
data

object containing the information of the problem

Type:PreSharpy
velocity_generator

object containing the flow conditions information

Type:object

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
horseshoe bool Horseshoe wake modelling for steady simulations. False
num_cores int Number of cores to use in the VLM lib 0
n_rollup int Number of rollup iterations for free wake. Use at least n_rollup > 1.1*m_star 1
rollup_dt float Controls when the AIC matrix is refreshed during the wake rollup 0.1
rollup_aic_refresh int   1
rollup_tolerance float Convergence criterium for rollup wake 0.0001
iterative_solver bool Not in use False
iterative_tol float Not in use 0.0001
iterative_precond bool Not in use False
velocity_field_generator str Name of the velocity field generator to be used in the simulation SteadyVelocityField
velocity_field_input dict Dictionary of settings for the velocity field generator {}
rho float Air density 1.225
next_step()[source]

Updates de aerogrid based on the info of the step, and increases the self.ts counter