LinDynamicSim¶
- class sharpy.solvers.lindynamicsim.LinDynamicSim[source]¶
Time-domain solution of Linear Time Invariant Systems
Uses the derived linear time invariant systems and solves it in time domain.
Requires a
case_name.lininput.h5
file in the case root folder that contains:x0
(optional): Initial state vectorinput_vec
: Input vector(n_tsteps, n_inputs)
.
Note
This solver is seldom used in SHARPy (its focus is on nonlinear time domain aeroelasticity) hence you may find this solver lacking in features. If you use it, you may need to make modifications. We would greatly appreciate that you contribute these modifications by means of a pull request!
The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name
Type
Description
Default
write_dat
list(str)
List of vectors to write:
x
,y
,u
and/ort
[]
reference_velocity
float
Velocity to scale the structural equations when using a non-dimensional system
1.0
n_tsteps
int
Number of time steps to run
10
physical_time
float
Time to run
2.0
dt
float
Time increment for the solution of systems without a specified dt
0.001
postprocessors
list(str)
[]
postprocessors_settings
dict
{}