This class provides the necessary functions to evaluate the flux vectors and their Jacobians for both inviscid and viscous flows.
More...
|
| 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) |
|
This class provides the necessary functions to evaluate the flux vectors and their Jacobians for both inviscid and viscous flows.
Definition at line 73 of file fluid_elem_base.h.