Documentation 6b54b78464
Loading...
Searching...
No Matches
CVolumeElementFEM Class Reference

Class to store a volume element for the FEM solver. More...

#include <fem_geometry_structure.hpp>

Public Member Functions

void GetCornerPointsAllFaces (unsigned short &numFaces, unsigned short nPointsPerFace[], unsigned long faceConn[6][4])
 Get all the corner points of all the faces of this element. It must be made sure that the numbering of the faces is identical to the numbering used for the standard elements.
 

Public Attributes

bool elemIsOwned
 Whether or not this is an owned element.
 
bool JacIsConsideredConstant
 Whether or not the Jacobian of the transformation to the standard element is considered constant.
 
int rankOriginal
 The rank where the original volume is stored. For the owned volumes, this is simply the current rank.
 
short periodIndexToDonor
 The index of the periodic transformation to the donor element. Only for halo elements. A -1 indicates no periodic transformation.
 
unsigned short VTK_Type
 Element type using the VTK convention.
 
unsigned short nPolyGrid
 Polynomial degree for the geometry of the element.
 
unsigned short nPolySol
 Polynomial degree for the solution of the element.
 
unsigned short nDOFsGrid
 Number of DOFs for the geometry of the element.
 
unsigned short nDOFsSol
 Number of DOFs for the solution of the element.
 
unsigned short nFaces
 Number of faces of the element.
 
unsigned short timeLevel
 Time level of the element when time accurate local time stepping is employed.
 
unsigned short indStandardElement
 Index in the vector of standard elements.
 
unsigned int factTimeLevel
 Number of local time steps for this element compared to the largest time step when time accurate local time stepping is employed.
 
unsigned long elemIDGlobal
 Global element ID of this element.
 
unsigned long offsetDOFsSolGlobal
 Global offset of the solution DOFs of this element.
 
unsigned long offsetDOFsSolLocal
 Local offset of the solution DOFs of this element.
 
unsigned long offsetDOFsSolThisTimeLevel
 Local offset of the solution DOFs of this element in the working vector of the time level of the element. Needed for time accurate local time stepping.
 
unsigned long offsetDOFsSolPrevTimeLevel
 Local offset of the solution DOFs of this element in the working vector of the previous time level.
 
vector< bool > JacFacesIsConsideredConstant
 Vector with the booleans whether the Jacobian of the transformation to the standard element is constant for the faces.
 
vector< bool > ElementOwnsFaces
 Vector with the booleans whether the element is the owner of the faces.
 
vector< unsigned long > nodeIDsGrid
 Vector with the node IDs of the grid for this element.
 
su2double lenScale
 Length scale of the element.
 
su2double shockSensorValue
 Value for sensing a shock.
 
su2double shockArtificialViscosity
 Artificial viscosity for a shock.
 
vector< su2double > metricTerms
 Vector of the metric terms in the integration points of this element.
 
vector< su2double > metricTermsSolDOFs
 Vector of the metric terms in the solution DOFs of this element.
 
vector< su2double > metricTerms2ndDer
 Vector of the metric terms needed for the computation of the 2nd derivatives in the integration points. Only determined when needed (ADER-DG with non-aliased predictor for the Navier-Stokes equations).
 
vector< su2double > gridVelocities
 Vector of the grid velocities in the integration points of this element.
 
vector< su2double > gridVelocitiesSolDOFs
 Vector of the grid velocities in the solution DOFs of this element.
 
vector< su2double > massMatrix
 Mass matrix for this element.
 
vector< su2double > invMassMatrix
 Inverse mass matrix for this element.
 
vector< su2double > lumpedMassMatrix
 Lumped mass matrix for this element.
 
vector< su2double > coorIntegrationPoints
 The coordinates of the integration points of this element.
 
vector< su2double > coorSolDOFs
 The coordinates of the solution DOFs of this element.
 
vector< su2double > wallDistance
 The wall distance to the viscous walls for the integration points of this element.
 
vector< su2double > wallDistanceSolDOFs
 The wall distance to the viscous walls for the solution DOFs of this element.
 

Detailed Description

Class to store a volume element for the FEM solver.

Author
E. van der Weide
Version
8.5.0 "Harrier"

Member Function Documentation

◆ GetCornerPointsAllFaces()

void CVolumeElementFEM::GetCornerPointsAllFaces ( unsigned short &  numFaces,
unsigned short  nPointsPerFace[],
unsigned long  faceConn[6][4] 
)

Get all the corner points of all the faces of this element. It must be made sure that the numbering of the faces is identical to the numbering used for the standard elements.

Parameters
[out]nFaces- Number of faces of this element.
[out]nPointsPerFace- Number of corner points for each of the faces.
[out]faceConn- Global IDs of the corner points of the faces.

Member Data Documentation

◆ coorIntegrationPoints

vector<su2double> CVolumeElementFEM::coorIntegrationPoints

The coordinates of the integration points of this element.

◆ coorSolDOFs

vector<su2double> CVolumeElementFEM::coorSolDOFs

The coordinates of the solution DOFs of this element.

◆ ElementOwnsFaces

vector<bool> CVolumeElementFEM::ElementOwnsFaces

Vector with the booleans whether the element is the owner of the faces.

◆ elemIDGlobal

unsigned long CVolumeElementFEM::elemIDGlobal

Global element ID of this element.

◆ elemIsOwned

bool CVolumeElementFEM::elemIsOwned

Whether or not this is an owned element.

◆ factTimeLevel

unsigned int CVolumeElementFEM::factTimeLevel

Number of local time steps for this element compared to the largest time step when time accurate local time stepping is employed.

◆ gridVelocities

vector<su2double> CVolumeElementFEM::gridVelocities

Vector of the grid velocities in the integration points of this element.

◆ gridVelocitiesSolDOFs

vector<su2double> CVolumeElementFEM::gridVelocitiesSolDOFs

Vector of the grid velocities in the solution DOFs of this element.

◆ indStandardElement

unsigned short CVolumeElementFEM::indStandardElement

Index in the vector of standard elements.

◆ invMassMatrix

vector<su2double> CVolumeElementFEM::invMassMatrix

Inverse mass matrix for this element.

◆ JacFacesIsConsideredConstant

vector<bool> CVolumeElementFEM::JacFacesIsConsideredConstant

Vector with the booleans whether the Jacobian of the transformation to the standard element is constant for the faces.

◆ JacIsConsideredConstant

bool CVolumeElementFEM::JacIsConsideredConstant

Whether or not the Jacobian of the transformation to the standard element is considered constant.

◆ lenScale

su2double CVolumeElementFEM::lenScale

Length scale of the element.

◆ lumpedMassMatrix

vector<su2double> CVolumeElementFEM::lumpedMassMatrix

Lumped mass matrix for this element.

◆ massMatrix

vector<su2double> CVolumeElementFEM::massMatrix

Mass matrix for this element.

◆ metricTerms

vector<su2double> CVolumeElementFEM::metricTerms

Vector of the metric terms in the integration points of this element.

◆ metricTerms2ndDer

vector<su2double> CVolumeElementFEM::metricTerms2ndDer

Vector of the metric terms needed for the computation of the 2nd derivatives in the integration points. Only determined when needed (ADER-DG with non-aliased predictor for the Navier-Stokes equations).

◆ metricTermsSolDOFs

vector<su2double> CVolumeElementFEM::metricTermsSolDOFs

Vector of the metric terms in the solution DOFs of this element.

◆ nDOFsGrid

unsigned short CVolumeElementFEM::nDOFsGrid

Number of DOFs for the geometry of the element.

◆ nDOFsSol

unsigned short CVolumeElementFEM::nDOFsSol

Number of DOFs for the solution of the element.

◆ nFaces

unsigned short CVolumeElementFEM::nFaces

Number of faces of the element.

◆ nodeIDsGrid

vector<unsigned long> CVolumeElementFEM::nodeIDsGrid

Vector with the node IDs of the grid for this element.

◆ nPolyGrid

unsigned short CVolumeElementFEM::nPolyGrid

Polynomial degree for the geometry of the element.

◆ nPolySol

unsigned short CVolumeElementFEM::nPolySol

Polynomial degree for the solution of the element.

◆ offsetDOFsSolGlobal

unsigned long CVolumeElementFEM::offsetDOFsSolGlobal

Global offset of the solution DOFs of this element.

◆ offsetDOFsSolLocal

unsigned long CVolumeElementFEM::offsetDOFsSolLocal

Local offset of the solution DOFs of this element.

◆ offsetDOFsSolPrevTimeLevel

unsigned long CVolumeElementFEM::offsetDOFsSolPrevTimeLevel

Local offset of the solution DOFs of this element in the working vector of the previous time level.

◆ offsetDOFsSolThisTimeLevel

unsigned long CVolumeElementFEM::offsetDOFsSolThisTimeLevel

Local offset of the solution DOFs of this element in the working vector of the time level of the element. Needed for time accurate local time stepping.

◆ periodIndexToDonor

short CVolumeElementFEM::periodIndexToDonor

The index of the periodic transformation to the donor element. Only for halo elements. A -1 indicates no periodic transformation.

◆ rankOriginal

int CVolumeElementFEM::rankOriginal

The rank where the original volume is stored. For the owned volumes, this is simply the current rank.

◆ shockArtificialViscosity

su2double CVolumeElementFEM::shockArtificialViscosity

Artificial viscosity for a shock.

◆ shockSensorValue

su2double CVolumeElementFEM::shockSensorValue

Value for sensing a shock.

◆ timeLevel

unsigned short CVolumeElementFEM::timeLevel

Time level of the element when time accurate local time stepping is employed.

◆ VTK_Type

unsigned short CVolumeElementFEM::VTK_Type

Element type using the VTK convention.

◆ wallDistance

vector<su2double> CVolumeElementFEM::wallDistance

The wall distance to the viscous walls for the integration points of this element.

◆ wallDistanceSolDOFs

vector<su2double> CVolumeElementFEM::wallDistanceSolDOFs

The wall distance to the viscous walls for the solution DOFs of this element.


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