////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// More...
#include <multi_domain_boussinesq_elements.h>
Public Member Functions | |
RefineableNavierStokesBoussinesqElement () | |
Constructor: call the underlying constructors and initialise the pointer to the Rayleigh number to point to the default value of 0.0. More... | |
const double & | ra () const |
Access function for the Rayleigh number (const version) More... | |
double *& | ra_pt () |
Access function for the pointer to the Rayleigh number. More... | |
void | further_build () |
Call the underlying single-physics element's further_build() functions and make sure that the pointer to the Rayleigh number is passed to the sons. Also make sure that if the external geometric Data was ignored in the father it's also ignored in the sons. More... | |
void | get_body_force_nst (const double &time, const unsigned &ipt, const Vector< double > &s, const Vector< double > &x, Vector< double > &body_force) |
Overload get_body_force_nst() to return the temperature-dependent buoyancy force, using the temperature computed by the "external" advection diffusion element associated with integration point ipt . More... | |
void | fill_in_contribution_to_jacobian (Vector< double > &residuals, DenseMatrix< double > &jacobian) |
Compute the element's residual vector and the Jacobian matrix. More... | |
void | fill_in_contribution_to_jacobian_and_mass_matrix (Vector< double > &residuals, DenseMatrix< double > &jacobian, DenseMatrix< double > &mass_matrix) |
Add the element's contribution to its residuals vector, jacobian matrix and mass matrix. More... | |
void | get_dbody_force_nst_dexternal_element_data (const unsigned &ipt, DenseMatrix< double > &result, Vector< unsigned > &global_eqn_number) |
Fill in the derivatives of the body force with respect to the external unknowns. More... | |
void | fill_in_off_diagonal_block_analytic (Vector< double > &residuals, DenseMatrix< double > &jacobian) |
Compute the contribution of the external degrees of freedom (temperatures) on the Navier-Stokes equations. More... | |
void | get_dof_numbers_for_unknowns (std::list< std::pair< unsigned long, unsigned >> &dof_lookup_list) const |
Classify dof numbers as in underlying element. More... | |
unsigned | ndof_types () const |
Get number of dof types from underlying element. More... | |
Private Attributes | |
double * | Ra_pt |
Pointer to a private data member, the Rayleigh number. More... | |
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
Build a refineable Navier Stokes element that inherits from ElementWithExternalElement so that it can "communicate" with an advection diffusion element that provides the temperature in the body force term.
Definition at line 63 of file multi_domain_boussinesq_elements.h.
|
inline |
Constructor: call the underlying constructors and initialise the pointer to the Rayleigh number to point to the default value of 0.0.
Definition at line 71 of file multi_domain_boussinesq_elements.h.
References oomph::MultiDomainBoussinesqHelper::Default_Physical_Constant_Value, and oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::Ra_pt.
|
inline |
Compute the element's residual vector and the Jacobian matrix.
Definition at line 156 of file multi_domain_boussinesq_elements.h.
|
inline |
Add the element's contribution to its residuals vector, jacobian matrix and mass matrix.
Definition at line 179 of file multi_domain_boussinesq_elements.h.
|
inline |
Compute the contribution of the external degrees of freedom (temperatures) on the Navier-Stokes equations.
Definition at line 202 of file multi_domain_boussinesq_elements.h.
Referenced by oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::fill_in_contribution_to_jacobian().
|
inline |
Call the underlying single-physics element's further_build() functions and make sure that the pointer to the Rayleigh number is passed to the sons. Also make sure that if the external geometric Data was ignored in the father it's also ignored in the sons.
Definition at line 97 of file multi_domain_boussinesq_elements.h.
References oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::ra_pt(), and oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::Ra_pt.
|
inline |
Overload get_body_force_nst() to return the temperature-dependent buoyancy force, using the temperature computed by the "external" advection diffusion element associated with integration point ipt
.
Definition at line 123 of file multi_domain_boussinesq_elements.h.
References oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::ra().
void oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::get_dbody_force_nst_dexternal_element_data | ( | const unsigned & | ipt, |
DenseMatrix< double > & | result, | ||
Vector< unsigned > & | global_eqn_number | ||
) |
Fill in the derivatives of the body force with respect to the external unknowns.
Fill in the derivatives of the body force with respect to the external unknowns in the Navier–Stokes equations.
Definition at line 1434 of file multi_domain_boussinesq_elements.h.
Referenced by oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::fill_in_off_diagonal_block_analytic().
|
inline |
Classify dof numbers as in underlying element.
Definition at line 345 of file multi_domain_boussinesq_elements.h.
|
inline |
Get number of dof types from underlying element.
Definition at line 353 of file multi_domain_boussinesq_elements.h.
|
inline |
Access function for the Rayleigh number (const version)
Definition at line 82 of file multi_domain_boussinesq_elements.h.
References oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::Ra_pt.
Referenced by oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::get_body_force_nst().
|
inline |
Access function for the pointer to the Rayleigh number.
Definition at line 88 of file multi_domain_boussinesq_elements.h.
References oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::Ra_pt.
Referenced by oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::further_build().
|
private |
Pointer to a private data member, the Rayleigh number.
Definition at line 360 of file multi_domain_boussinesq_elements.h.
Referenced by oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::further_build(), oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::ra(), oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::ra_pt(), and oomph::RefineableNavierStokesBoussinesqElement< NST_ELEMENT, AD_ELEMENT >::RefineableNavierStokesBoussinesqElement().