ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
QAPConductivity Class Reference

General class for thermal conductive quantities. More...

#include <QAPConductivity.h>

Inherits QuantitiesAddPhys.

Collaboration diagram for QAPConductivity:
[legend]

Public Member Functions

 QAPConductivity (AddPhys *addPhys)
 ~QAPConductivity () override
void computeQuantities (Cell *cell) override
 Compute the needed quantities for the additional physic.
void setGrad (const Coord &grad, const int &num=-1) override
 Set the additional-physic gradient with the transmitted values.
const Coord & getGrad (const int &num=-1) const override
 Get the additional-physic gradient.
Public Member Functions inherited from QuantitiesAddPhys
 QuantitiesAddPhys (AddPhys *addPhys)
 Generic model constructor.
virtual ~QuantitiesAddPhys ()
double computeEnergyAddPhys ()
 Compute and send back mass energy linked to the physic (0 if no linked energy).
virtual void setGradU (const Coord &)
 Set the gradient of the velocity along the x-direction with the transmitted values.
virtual void setGradV (const Coord &)
 Set the gradient of the velocity along the y-direction with the transmitted values.
virtual void setGradW (const Coord &)
 Set the gradient of the velocity along the z-direction with the transmitted values.
virtual void setGradTk (const int &, const Coord &)
 Set the gradient of the phase temperature with the transmitted values.
virtual Coord getGradU () const
 Return the gradient of the velocity along the x-direction.
virtual Coord getGradV () const
 Return the gradient of the velocity along the y-direction.
virtual Coord getGradW () const
 Return the gradient of the velocity along the z-direction.
virtual const Coord & getGradTk (const int &) const
 Return the gradient of the phase temperature.
AddPhys * getAddPhys ()
 Return the corresponding additional-physic class of this quantities class.
virtual double getTurbulentViscosity () const
 Return the turbulent viscosity.
virtual void setTurbulentViscosity (const double &)
 Set the turbulent viscosity in the cell.

Protected Attributes

std::vector< Coord > m_gradTk
 Vector of the temperature gradient of each phase of the cell.
Protected Attributes inherited from QuantitiesAddPhys
AddPhys * m_addPhys
 Corresponding additional-physic class of this quantities class.

Detailed Description

General class for thermal conductive quantities.

Constructor & Destructor Documentation

◆ QAPConductivity()

QAPConductivity::QAPConductivity ( AddPhys * addPhys)
Here is the call graph for this function:

◆ ~QAPConductivity()

QAPConductivity::~QAPConductivity ( )
override

Member Function Documentation

◆ computeQuantities()

void QAPConductivity::computeQuantities ( Cell * )
overridevirtual

Compute the needed quantities for the additional physic.

Parameters
cellcorresponding cell

Reimplemented from QuantitiesAddPhys.

Here is the call graph for this function:

◆ getGrad()

const Coord & QAPConductivity::getGrad ( const int & = -1) const
inlineoverridevirtual

Get the additional-physic gradient.

Parameters
numnumber to determine the corresponding gradient

Reimplemented from QuantitiesAddPhys.

◆ setGrad()

void QAPConductivity::setGrad ( const Coord & ,
const int & = -1 )
overridevirtual

Set the additional-physic gradient with the transmitted values.

Parameters
gradtransmitted gradient
numnumber to determine the corresponding gradient

Reimplemented from QuantitiesAddPhys.

Member Data Documentation

◆ m_gradTk

std::vector<Coord> QAPConductivity::m_gradTk
protected

Vector of the temperature gradient of each phase of the cell.


The documentation for this class was generated from the following files:
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/AdditionalPhysics/Conductivity/QAPConductivity.h
  • /home/runner/work/ECOGEN/ECOGEN/doc_sources/src/AdditionalPhysics/Conductivity/QAPConductivity.cpp