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

nonlifting_body_interactions

bool

Consider nonlifting body interactions

False

only_nonlifting

bool

Consider only nonlifting bodies

False

phantom_wing_test

bool

Debug option

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

0

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

cfl1

bool

If it is True, it assumes that the discretisation complies with CFL=1

True

vortex_radius

float

Distance between points below which induction is not computed

sharpy.utils.constants.vortex_radius_def

vortex_radius_wake_ind

float

Distance between points below which induction is not computed in the wake convection

sharpy.utils.constants.vortex_radius_def

rbm_vel_g

list(float)

Rigid body velocity in G FoR

[0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

centre_rot_g

list(float)

Centre of rotation in G FoR around which rbm_vel_g is applied

[0.0, 0.0, 0.0]

map_forces_on_struct

bool

Maps the forces on the structure at the end of the timestep. Only usefull if the solver is used outside StaticCoupled

False

ignore_first_x_nodes_in_force_calculation

int

Ignores the forces on the first user-specified number of nodes of all surfaces.

0

next_step()[source]

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