SaveData¶
The
SaveDatapostprocessor writes the SHARPy variables intohdf5files. The linear state space files may be saved to.matif desired instead.It has options to save the following classes:
Aerogridincludingsharpy.sharpy.utils.datastructures.AeroTimeStepInfoBeamincludingsharpy.sharpy.utils.datastructures.StructTimeStepInfosharpy.solvers.linearassembler.Linearincluding classes insharpy.linear.assembler
Notes
This method saves simply the data. If you would like to preserve the SHARPy methods of the relevant classes see also
sharpy.solvers.pickledata.PickleData.The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name Type Description Default Options folderstrFolder to save data ./outputsave_aeroboolSave aerodynamic classes. Truesave_structboolSave structural classes. Truesave_linearboolSave linear state space system. Falsesave_linear_uvlmboolSave linear UVLM state space system. Use with caution when dealing with large systems. Falseskip_attrlist(str)List of attributes to skip when writing file ['fortran', 'airfoils', 'airfoil_db', 'settings_types', 'ct_dynamic_forces_list', 'ct_gamma_dot_list', 'ct_gamma_list', 'ct_gamma_star_list', 'ct_normals_list', 'ct_u_ext_list', 'ct_u_ext_star_list', 'ct_zeta_dot_list', 'ct_zeta_list', 'ct_zeta_star_list', 'dynamic_input']compress_floatboolCompress float FalseformatstrSave linear state space to hdf5 .h5or Matlab.matformat.h5h5,mat