StaticTrim¶
- class sharpy.solvers.statictrim.StaticTrim[source]¶
The
StaticTrimsolver determines the longitudinal state of trim (equilibrium) for an aeroelastic system in static conditions. It wraps around the desired solver to yield the state of trim of the system, in most cases theStaticCoupledsolver.It calculates the required angle of attack, elevator deflection and thrust required to achieve longitudinal equilibrium. The output angles are shown in degrees.
The results from the trimming iteration can be saved to a text file by using the save_info option.
The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name
Type
Description
Default
print_infoboolPrint info to screen
TruesolverstrSolver to run in trim routine
solver_settingsdictSolver settings dictionary
{}max_iterintMaximum number of iterations of trim routine
100fz_tolerancefloatTolerance in vertical force
0.01fx_tolerancefloatTolerance in horizontal force
0.01m_tolerancefloatTolerance in pitching moment
0.01tail_cs_indexintIndex of control surfaces that move to achieve trim
0thrust_nodeslist(int)Nodes at which thrust is applied
[0]initial_alphafloatInitial angle of attack
0.0initial_deflectionfloatInitial control surface deflection
0.0initial_thrustfloatInitial thrust setting
0.0initial_angle_epsfloatInitial change of control surface deflection
0.05initial_thrust_epsfloatInitial thrust setting change
2.0relaxation_factorfloatRelaxation factor
0.2save_infoboolSave trim results to text file
False