20 #ifndef __mast__pk_flutter_solver_h__    21 #define __mast__pk_flutter_solver_h__    66                         unsigned int                                 n_V_divs,
    69                         unsigned int                                 n_kr_divs,
    70                         std::vector<libMesh::NumericVector<Real>*>& basis);
    94         virtual std::pair<bool, MAST::FlutterRootBase*>
    96                        const unsigned int n_bisection_iters);
   105         virtual std::pair<bool, MAST::FlutterRootBase*>
   107                            const unsigned int n_bisection_iters);
   145         virtual std::pair<bool, MAST::FlutterSolutionBase*>
   148                           const unsigned int root_num,
   150                           const unsigned int max_iters);
   169         virtual std::unique_ptr<MAST::FlutterSolutionBase>
   263 #endif // __mast__pk_flutter_solver_h__ 
void _insert_new_solution(const Real k_red_ref, MAST::FlutterSolutionBase *sol)
virtual std::unique_ptr< MAST::FlutterSolutionBase > _analyze(const Real k_red, const Real v_ref, const MAST::FlutterSolutionBase *prev_sol=nullptr)
Newton method to look for cross-over point method search. 
void _initialize_matrices(const Real k_red, const Real v_ref, ComplexMatrixX &L, ComplexMatrixX &R, RealMatrixX &stiff)
initializes the matrices for the specified k_red. 
virtual ~PKFlutterSolver()
void initialize(MAST::Parameter &V_param, MAST::Parameter &kr_param, MAST::Parameter &bref_param, Real rho, Real V_lower, Real V_upper, unsigned int n_V_divs, Real kr_lower, Real kr_upper, unsigned int n_kr_divs, std::vector< libMesh::NumericVector< Real > *> &basis)
initializes the data structres for a flutter solution. 
unsigned int _n_k_red_divs
number of division in the reference value range for initial scanning 
This is a scalar function whose value can be changed and one that can be used as a design variable in...
std::pair< Real, Real > _kr_range
range of reference values within which to find flutter roots 
std::multimap< Real, MAST::FlutterRootCrossoverBase * > _flutter_crossovers
the map of flutter crossover points versus average velocity of the two bounding roots ...
void _initialize_matrix_sensitivity_for_param(const MAST::FunctionBase &f, const Real k_red, const Real U_inf, ComplexMatrixX &L, ComplexMatrixX &R)
Assembles the reduced order system structural and aerodynmaic matrices for specified flight velocity ...
virtual std::pair< bool, MAST::FlutterRootBase * > find_next_root(const Real g_tol, const unsigned int n_bisection_iters)
Looks through the list of flutter cross-over points and iteratively zooms in to find the cross-over p...
unsigned int _n_V_divs
number of division in the reference value range for initial scanning 
virtual void calculate_sensitivity(MAST::FlutterRootBase &root, const MAST::FunctionBase &f)
Calculate the sensitivity of the flutter root with respect to the parameter f. 
virtual std::pair< bool, MAST::FlutterSolutionBase * > _bisection_search(const std::pair< MAST::FlutterSolutionBase *, MAST::FlutterSolutionBase *> &ref_sol_range, const unsigned int root_num, const Real g_tol, const unsigned int max_iters)
virtual void clear_solutions()
clears the solutions stored from a previous analysis. 
virtual void scan_for_roots()
Scans for flutter roots in the analyzed points, and identified the divergence (if k_red = 0...
virtual void clear()
clears the solution and other data from this solver 
Matrix< Real, Dynamic, Dynamic > RealMatrixX
Matrix< Complex, Dynamic, Dynamic > ComplexMatrixX
virtual void print_crossover_points()
Prints the crossover points output. 
virtual void print_sorted_roots()
Prints the sorted roots to the output. 
const MAST::FlutterRootBase & get_root(const unsigned int n) const
returns the n th root in terms of ascending velocity that is found by the solver 
virtual unsigned int n_roots_found() const
finds the number of critical points already identified in the procedure. 
virtual void _identify_crossover_points()
identifies all cross-over and divergence points from analyzed roots 
MAST::Parameter * _kred_param
Parameter that define the reduced frequency. 
MAST::Parameter * _velocity_param
Parameter that define the velocity. 
std::pair< Real, Real > _V_range
range of reference values within which to find flutter roots 
virtual std::pair< bool, MAST::FlutterRootBase * > find_critical_root(const Real g_tol, const unsigned int n_bisection_iters)
This method checks if the flutter root corresponding to the lowest velocity crossover has been calcul...
MAST::Parameter * _bref_param
reference chord 
std::map< Real, MAST::FlutterSolutionBase * > _flutter_solutions
map of velocity sorted flutter solutions