This class provides the necessary functionality for spatial discretization of the conservative fluid equations.
More...
|
| | ConservativeFluidElementBase (MAST::SystemInitialization &sys, MAST::AssemblyBase &assembly, const MAST::GeomElem &elem, const MAST::FlightCondition &f) |
| |
| virtual | ~ConservativeFluidElementBase () |
| |
| virtual bool | internal_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac) |
| | internal force contribution to system residual More...
|
| |
| virtual bool | linearized_internal_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac) |
| | internal force contribution to system residual of the linearized problem. More...
|
| |
| virtual bool | velocity_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac_xdot, RealMatrixX &jac) |
| | inertial force contribution to system residual More...
|
| |
| virtual bool | linearized_velocity_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac_xdot, RealMatrixX &jac) |
| | inertial force contribution to system residual of the linearized problem More...
|
| |
| bool | side_external_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, std::multimap< libMesh::boundary_id_type, MAST::BoundaryConditionBase * > &bc) |
| | side external force contribution to system residual More...
|
| |
| bool | linearized_side_external_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, std::multimap< libMesh::boundary_id_type, MAST::BoundaryConditionBase * > &bc) |
| | side external force contribution to system residual More...
|
| |
| virtual bool | internal_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac) |
| | sensitivity of the internal force contribution to system residual More...
|
| |
| virtual bool | velocity_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac_xdot, RealMatrixX &jac) |
| | sensitivity of the damping force contribution to system residual More...
|
| |
| bool | side_external_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac, std::multimap< libMesh::boundary_id_type, MAST::BoundaryConditionBase * > &bc) |
| | sensitivity of the side external force contribution to system residual More...
|
| |
| virtual void | side_integrated_force (const unsigned int s, RealVectorX &f, RealMatrixX *dfdX=nullptr) |
| | surface integrated force More...
|
| |
| virtual void | side_integrated_force_sensitivity (const MAST::FunctionBase &p, const unsigned int s, RealVectorX &f) |
| |
| virtual bool | symmetry_surface_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | symmetry_surface_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | slip_wall_surface_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | linearized_slip_wall_surface_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | noslip_wall_surface_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | noslip_wall_surface_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | slip_wall_surface_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | far_field_surface_residual (bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| virtual bool | far_field_surface_residual_sensitivity (const MAST::FunctionBase &p, bool request_jacobian, RealVectorX &f, RealMatrixX &jac, const unsigned int s, MAST::BoundaryConditionBase &bc) |
| |
| | FluidElemBase (const unsigned int dimension, const MAST::FlightCondition &f) |
| | Constructor. More...
|
| |
| virtual | ~FluidElemBase () |
| |
| void | get_infinity_vars (RealVectorX &vars_inf) const |
| |
| bool | if_viscous () const |
| |
| void | calculate_dxidX (const unsigned int qp, const MAST::FEBase &fe, RealMatrixX &dxi_dX, RealMatrixX &dX_dxi) |
| |
| void | update_solution_at_quadrature_point (const unsigned int qp, const MAST::FEBase &fe, const RealVectorX &elem_solution, RealVectorX &conservative_sol, MAST::PrimitiveSolution &primitive_sol, MAST::FEMOperatorMatrix &B_mat, std::vector< MAST::FEMOperatorMatrix > &dB_mat) |
| |
| void | calculate_advection_flux (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealVectorX &flux) |
| |
| void | calculate_diffusion_flux (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, const RealMatrixX &stress_tensor, const RealVectorX &temp_gradient, RealVectorX &flux) |
| |
| void | calculate_diffusion_tensors (const RealVectorX &elem_sol, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const RealMatrixX &dprim_dcons, const MAST::PrimitiveSolution &psol, RealMatrixX &stress_tensor, RealVectorX &temp_gradient) |
| | calculates and returns the stress tensor in stress_tensor. More...
|
| |
| void | calculate_diffusion_tensors_sensitivity (const RealVectorX &elem_sol, const RealVectorX &elem_sol_sens, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const RealMatrixX &dprim_dcons, const MAST::PrimitiveSolution &psol, const MAST::SmallPerturbationPrimitiveSolution< Real > &dsol, RealMatrixX &stress_tensor_sens, RealVectorX &temp_gradient_sens) |
| | calculates and returns the stress tensor in stress_tensor. More...
|
| |
| void | calculate_conservative_variable_jacobian (const MAST::PrimitiveSolution &sol, RealMatrixX &dcons_dprim, RealMatrixX &dprim_dcons) |
| |
| void | calculate_advection_flux_jacobian (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_rho_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u1_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u2_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u3_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_T_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| template<typename ValType > |
| void | calculate_advection_flux_jacobian_vec_mult_second_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, const ValType &lin_sol, RealMatrixX &mat) |
| |
| template<typename ValType > |
| void | calculate_advection_flux_jacobian_vec_adjoint_mult_second_derivative (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, const ValType &lin_sol, RealMatrixX &mat) |
| |
| void | calculate_diffusion_flux_jacobian (const unsigned int flux_dim, const unsigned int deriv_dim, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_diffusion_flux_jacobian_primitive_vars (const unsigned int flux_dim, const unsigned int deriv_dim, const RealVectorX &uvec, const bool zero_kth, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_sensitivity_for_conservative_variable (const unsigned int calculate_dim, const MAST::PrimitiveSolution &sol, std::vector< RealMatrixX > &mat) |
| |
| void | calculate_advection_flux_jacobian_sensitivity_for_primitive_variable (const unsigned int calculate_dim, const unsigned int primitive_var, const MAST::PrimitiveSolution &sol, RealMatrixX &mat) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealVectorX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_rho_derivative_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealMatrixX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_u1_derivative_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealMatrixX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_u2_derivative_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealMatrixX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_u3_derivative_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealMatrixX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| void | calculate_advection_left_eigenvector_and_inverse_T_derivative_for_normal (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, RealMatrixX &eig_vals, RealMatrixX &l_eig_mat, RealMatrixX &l_eig_mat_inv_tr) |
| |
| template<typename ValType > |
| void | calculate_advection_outflow_flux_jacobian_vec_mult_second_derivative (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, const ValType &lin_sol, RealMatrixX &mat) |
| |
| template<typename ValType > |
| void | calculate_advection_outflow_flux_jacobian_vec_adjoint_mult_second_derivative (const MAST::PrimitiveSolution &sol, const libMesh::Point &normal, const ValType &lin_sol, RealMatrixX &mat) |
| |
| void | calculate_entropy_variable_jacobian (const MAST::PrimitiveSolution &sol, RealMatrixX &dUdV, RealMatrixX &dVdU) |
| |
| void | calculate_pressure_derivative_wrt_conservative_variables (const MAST::PrimitiveSolution &sol, RealVectorX &dpdX) |
| |
| void | calculate_advection_flux_jacobian_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_rho_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u1_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u2_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_u3_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| void | calculate_advection_flux_jacobian_T_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, RealMatrixX &mat) |
| |
| template<typename ValType > |
| void | calculate_advection_flux_jacobian_vec_mult_second_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, const ValType &lin_sol, RealMatrixX &mat) |
| |
| template<typename ValType > |
| void | calculate_advection_flux_jacobian_vec_adjoint_mult_second_derivative_for_moving_solid_wall_boundary (const MAST::PrimitiveSolution &sol, const Real ui_ni, const libMesh::Point &nvec, const RealVectorX &dnvec, const ValType &lin_sol, RealMatrixX &mat) |
| |
| bool | calculate_barth_tau_matrix (const unsigned int qp, const MAST::FEBase &fe, const MAST::PrimitiveSolution &sol, RealMatrixX &tau, std::vector< RealMatrixX > &tau_sens) |
| |
| bool | calculate_aliabadi_tau_matrix (const unsigned int qp, const MAST::FEBase &fe, const MAST::PrimitiveSolution &sol, RealMatrixX &tau, std::vector< RealMatrixX > &tau_sens) |
| |
| void | calculate_hartmann_discontinuity_operator (const unsigned int qp, const MAST::FEBase &fe, const MAST::PrimitiveSolution &sol, const RealVectorX &elem_solution, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const RealMatrixX &Ai_Bi_advection, RealVectorX &discontinuity_val) |
| |
| void | calculate_aliabadi_discontinuity_operator (const unsigned int qp, const MAST::FEBase &fe, const MAST::PrimitiveSolution &sol, const RealVectorX &elem_solution, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const RealMatrixX &Ai_Bi_advection, RealVectorX &discontinuity_val) |
| |
| template<typename ValType > |
| void | calculate_small_disturbance_aliabadi_discontinuity_operator (const unsigned int qp, const MAST::FEBase &fe, const MAST::PrimitiveSolution &sol, const MAST::SmallPerturbationPrimitiveSolution< ValType > &dsol, const RealVectorX &elem_solution, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const RealMatrixX &Ai_Bi_advection, RealVectorX &discontinuity_val) |
| |
| void | calculate_differential_operator_matrix (const unsigned int qp, const MAST::FEBase &fe, const RealVectorX &elem_solution, const MAST::PrimitiveSolution &sol, const MAST::FEMOperatorMatrix &B_mat, const std::vector< MAST::FEMOperatorMatrix > &dB_mat, const std::vector< RealMatrixX > &Ai_advection, const RealMatrixX &Ai_Bi_advection, const std::vector< std::vector< RealMatrixX > > &Ai_sens, RealMatrixX &LS_operator, RealMatrixX &LS_sens) |
| |
| | ElementBase (MAST::SystemInitialization &sys, MAST::AssemblyBase &assembly, const MAST::GeomElem &elem) |
| | The default constructor. More...
|
| |
| virtual | ~ElementBase () |
| | Default virtual destructor. More...
|
| |
| MAST::SystemInitialization & | system_initialization () |
| |
| MAST::AssemblyBase & | assembly () |
| |
| MAST::NonlinearSystem & | system () |
| |
| const MAST::GeomElem & | elem () const |
| |
| const RealVectorX & | sol (bool if_sens=false) const |
| |
| virtual void | set_solution (const RealVectorX &vec, bool if_sens=false) |
| | stores vec as solution for element level calculations, or its sensitivity if if_sens is true. More...
|
| |
| virtual void | set_perturbed_solution (const RealVectorX &vec, bool if_sens=false) |
| | This provides the perturbed solution (or its sensitivity if if_sens is true.) for linearized analysis. More...
|
| |
| virtual void | set_complex_solution (const ComplexVectorX &vec, bool if_sens=false) |
| | This provides the complex solution (or its sensitivity if if_sens is true.) for frequecy-domain analysis. More...
|
| |
| virtual void | set_velocity (const RealVectorX &vec, bool if_sens=false) |
| | stores vec as velocity for element level calculations, or its sensitivity if if_sens is true. More...
|
| |
| virtual void | set_perturbed_velocity (const RealVectorX &vec, bool if_sens=false) |
| | stores vec as perturbed velocity for element level calculations, or its sensitivity if if_sens is true. More...
|
| |
| virtual void | set_acceleration (const RealVectorX &vec, bool if_sens=false) |
| | stores vec as acceleration for element level calculations, or its sensitivity if if_sens is true. More...
|
| |
| virtual void | set_perturbed_acceleration (const RealVectorX &vec, bool if_sens=false) |
| | stores vec as perturbed acceleration for element level calculations, or its sensitivity if if_sens is true. More...
|
| |
| void | attach_active_solution_function (MAST::FunctionBase &f) |
| | Attaches the function that represents the system solution. More...
|
| |
| void | detach_active_solution_function () |
| | Detaches the function object that may have been attached to the element. More...
|
| |