SU2
Public Member Functions | List of all members
CQUAD4 Class Reference

Quadrilateral element with 4 Gauss Points. More...

#include <element_structure.hpp>

Inheritance diagram for CQUAD4:
CElement CQUAD4P1

Public Member Functions

 CQUAD4 (void)
 Constructor of the class.
 
 CQUAD4 (unsigned short val_nDim, CConfig *config)
 
virtual ~CQUAD4 (void)
 Destructor of the class.
 
void ComputeGrad_Linear (void)
 Set the value of the gradient of the shape functions respect to the reference configuration. More...
 
void ComputeGrad_NonLinear (void)
 Set the value of the gradient of the shape functions respect to the current configuration. More...
 
virtual void ComputeGrad_Pressure (void)
 Virtual member.
 
- Public Member Functions inherited from CElement
 CElement (void)
 Constructor of the class.
 
 CElement (unsigned short val_nDim, CConfig *config)
 
virtual ~CElement (void)
 Destructor of the class.
 
unsigned short GetnNodes (void)
 Retrieve the number of nodes of the element. More...
 
unsigned short GetnGaussPoints (void)
 Retrieve the number of nodes of the element. More...
 
unsigned short GetnGaussPointsP (void)
 Retrieve the number of nodes of the element. More...
 
void SetRef_Coord (su2double val_CoordRef, unsigned short iNode, unsigned short iDim)
 Set the value of the coordinate of the nodes in the reference configuration. More...
 
void SetCurr_Coord (su2double val_CoordCurr, unsigned short iNode, unsigned short iDim)
 Set the value of the coordinate of the nodes in the current configuration. More...
 
void SetElement_Pressure (su2double val_ElPressure)
 Set the value of the pressure in the element for incompressible materials. More...
 
su2double GetRef_Coord (unsigned short iNode, unsigned short iDim)
 Set the value of the coordinate of the nodes in the reference configuration. More...
 
su2double GetCurr_Coord (unsigned short iNode, unsigned short iDim)
 Get the value of the coordinate of the nodes in the current configuration. More...
 
su2double GetWeight (unsigned short iGauss)
 Get the weight of the corresponding Gaussian Point. More...
 
su2double GetWeight_P (unsigned short iGaussP)
 Get the weight of the corresponding Gaussian Point for pressure subintegration. More...
 
su2double GetJ_X (unsigned short iGauss)
 Get the jacobian respect to the reference configuration for the Gaussian Point iGauss. More...
 
su2double GetJ_x (unsigned short iGauss)
 Get the jacobian respect to the current configuration for the Gaussian Point iGauss. More...
 
su2double GetJ_X_P (unsigned short iGauss)
 Get the jacobian respect to the reference configuration for the Gaussian Point iGauss and the pressure term. More...
 
su2double GetJ_x_P (unsigned short iGauss)
 Get the jacobian respect to the current configuration for the Gaussian Point iGauss and the pressure term. More...
 
su2double GetElement_Pressure (void)
 Retrieve the value of the pressure in the element for incompressible materials. More...
 
void Add_Mab (su2double val_Mab, unsigned short nodeA, unsigned short nodeB)
 Add the value of the diagonal term for the mass matrix. More...
 
void Add_Kab (su2double **val_Kab, unsigned short nodeA, unsigned short nodeB)
 Add the value of a submatrix K relating nodes a and b, for the constitutive term. More...
 
void Add_Kab_T (su2double **val_Kab, unsigned short nodeA, unsigned short nodeB)
 Add the value of a submatrix K relating nodes a and b, for the constitutive term (symmetric terms need transpose) More...
 
void Add_Ks_ab (su2double val_Ks_ab, unsigned short nodeA, unsigned short nodeB)
 Add the value of the diagonal term for the stress contribution to the stiffness of the system. More...
 
void Add_Kt_a (su2double *val_Kt_a, unsigned short nodeA)
 Add the value of the nodal stress term for the computation of the residual. More...
 
void Add_FDL_a (su2double *val_FDL_a, unsigned short nodeA)
 Add the value of the dead load for the computation of the residual. More...
 
void Set_Kk_ab (su2double **val_Kk_ab, unsigned short nodeA, unsigned short nodeB)
 Set the value of a submatrix K relating nodes a and b, for the pressure term (this term is subintegrated). More...
 
void clearElement (void)
 Restarts the values in the element.
 
void clearStress (void)
 Restarts the values of stress in the element.
 
su2double Get_Mab (unsigned short nodeA, unsigned short nodeB)
 Return the value of the diagonal term for the mass matrix, relating nodes a and b. More...
 
su2double * Get_Kab (unsigned short nodeA, unsigned short nodeB)
 Return the value of the submatrix K relating nodes a and b. More...
 
su2double Get_Ks_ab (unsigned short nodeA, unsigned short nodeB)
 Return the value of the diagonal term for the stress contribution, relating nodes a and b. More...
 
su2double * Get_Kk_ab (unsigned short nodeA, unsigned short nodeB)
 Return the value of a submatrix K relating nodes a and b, for the pressure term (this term is subintegrated). More...
 
su2double * Get_Kt_a (unsigned short nodeA)
 Return the value of the nodal stress component of the residual for node a. More...
 
su2double * Get_FDL_a (unsigned short nodeA)
 Return the value of the dead load component of the residual for node a. More...
 
su2double GetNi (unsigned short iNode, unsigned short iGauss)
 Retrieve the value of the shape functions. More...
 
su2double GetGradNi_X (unsigned short iNode, unsigned short iGauss, unsigned short iDim)
 Retrieve the value of the gradient of the shape functions respect to the reference configuration. More...
 
su2double GetGradNi_x (unsigned short iNode, unsigned short iGauss, unsigned short iDim)
 Retrieve the value of the gradient of the shape functions respect to the reference configuration. More...
 
su2double GetGradNi_x_P (unsigned short iNode, unsigned short iGaussP, unsigned short iDim)
 Retrieve the value of the gradient of the shape functions respect to the reference configuration. More...
 
su2double GetNi_Extrap (unsigned short iNode, unsigned short iGauss)
 Retrieve the value of the gradient of the shape functions respect to the reference configuration. More...
 
void Add_NodalStress (su2double val_Stress, unsigned short iNode, unsigned short iVar)
 Add a value to the nodal stress for an element. More...
 
su2double Get_NodalStress (unsigned short iNode, unsigned short iVar)
 Retrieve the value of the nodal stress for an element. More...
 

Additional Inherited Members

- Protected Attributes inherited from CElement
unsigned short nGaussPoints
 Number of gaussian points.
 
unsigned short nGaussPointsP
 Number of gaussian points for the pressure term.
 
unsigned short nNodes
 Number of gaussian points.
 
su2double ** CurrentCoord
 Coordinates in the current frame.
 
su2double ** RefCoord
 Coordinates in the reference frame.
 
su2double ** GaussCoord
 Parent coordinates of the Gaussian Points.
 
su2double * GaussWeight
 Weight of the Gaussian Points for the integration.
 
su2double ** GaussCoordP
 Parent coordinates of the Gaussian Points for the pressure subintegration..
 
su2double * GaussWeightP
 Weight of the Gaussian Points for the pressure subintegration.
 
su2double ** NodalExtrap
 Coordinates of the nodal points for Gaussian extrapolation.
 
su2double ** NodalStress
 Stress at the nodes.
 
CGaussVariable ** GaussPoint
 Structure for the Gaussian Points.
 
CGaussVariable ** GaussPointP
 Structure for the Gaussian Points for the pressure subintegration.
 
su2double ** Mab
 Structure for the nodal components of the mass matrix.
 
su2double *** Kab
 Structure for the constitutive component of the tangent matrix.
 
su2double ** Ks_ab
 Structure for the stress component of the tangent matrix.
 
su2double *** Kk_ab
 Structure for the pressure component of the tangent matrix.
 
su2double ** Kt_a
 Structure for the nodal stress term for the residual computation.
 
su2double ** FDL_a
 Structure for the dead loads for the residual computation.
 
su2double el_Pressure
 Pressure in the element.
 
- Static Protected Attributes inherited from CElement
static unsigned short nDim = 0
 Number of dimension of the problem.
 

Detailed Description

Quadrilateral element with 4 Gauss Points.

Author
R. Sanchez
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CQUAD4()

CQUAD4::CQUAD4 ( unsigned short  val_nDim,
CConfig config 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_fea- Values of the fea solution (initialization value).
[in]val_nDim- Number of dimensions of the problem.
[in]config- Definition of the particular problem.

Member Function Documentation

§ ComputeGrad_Linear()

void CQUAD4::ComputeGrad_Linear ( void  )
virtual

Set the value of the gradient of the shape functions respect to the reference configuration.

Parameters
[in]val_solution- Solution of the problem.
[out]J_X- Jacobian of the element evaluated at the current Gauss Point respect to the reference configuration

Reimplemented from CElement.

§ ComputeGrad_NonLinear()

void CQUAD4::ComputeGrad_NonLinear ( void  )
virtual

Set the value of the gradient of the shape functions respect to the current configuration.

Parameters
[in]val_solution- Solution of the problem.
[out]J_x- Jacobian of the element evaluated at the current Gauss Point respect to the current configuration

Reimplemented from CElement.


The documentation for this class was generated from the following files: