proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary > Class Template Reference

#include </Users/cekees/proteus/proteus/mprans/VOF.h>

Inheritance diagram for proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >:
[legend]
Collaboration diagram for proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >:
[legend]

Public Member Functions

 VOF ()
 
void calculateCFL (const double &elementDiameter, const double df[nSpace], double &cfl)
 
void evaluateCoefficients (const double v[nSpace], const double &u, const double &porosity, double &m, double &dm, double f[nSpace], double df[nSpace])
 
void calculateSubgridError_tau (const double &elementDiameter, const double &dmt, const double dH[nSpace], double &cfl, double &tau)
 
void calculateSubgridError_tau (const double &Ct_sge, const double G[nSpace *nSpace], const double &A0, const double Ai[nSpace], double &tau_v, double &cfl)
 
void calculateNumericalDiffusion (const double &shockCapturingDiffusion, const double &elementDiameter, const double &strong_residual, const double grad_u[nSpace], double &numDiff)
 
void exteriorNumericalAdvectiveFlux (const int &isDOFBoundary_u, const int &isFluxBoundary_u, const double n[nSpace], const double &bc_u, const double &bc_flux_u, const double &u, const double velocity[nSpace], double &flux)
 
void exteriorNumericalAdvectiveFluxDerivative (const int &isDOFBoundary_u, const int &isFluxBoundary_u, const double n[nSpace], const double velocity[nSpace], double &dflux)
 
void calculateResidualElementBased (arguments_dict &args)
 
void calculateJacobian (arguments_dict &args)
 
void FCTStep (arguments_dict &args)
 
void calculateResidualEdgeBased (arguments_dict &args)
 
- Public Member Functions inherited from proteus::VOF_base
virtual ~VOF_base ()
 

Public Attributes

const int nDOF_test_X_trial_element
 
CompKernelType ck
 
- Public Attributes inherited from proteus::VOF_base
std::valarray< double > Rpos
 
std::valarray< double > Rneg
 
std::valarray< double > FluxCorrectionMatrix
 
std::valarray< double > TransportMatrix
 
std::valarray< double > TransposeTransportMatrix
 
std::valarray< double > psi
 
std::valarray< double > eta
 
std::valarray< double > global_entropy_residual
 
std::valarray< double > boundary_integral
 
std::valarray< double > maxVel
 
std::valarray< double > maxEntRes
 

Detailed Description

template<class CompKernelType, int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
class proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 68 of file VOF.h.

Constructor & Destructor Documentation

◆ VOF()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::VOF ( )
inline

Definition at line 73 of file VOF.h.

Member Function Documentation

◆ calculateCFL()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateCFL ( const double &  elementDiameter,
const double  df[nSpace],
double &  cfl 
)
inline

Definition at line 79 of file VOF.h.

◆ calculateJacobian()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args)
inlinevirtual

Implements proteus::VOF_base.

Definition at line 884 of file VOF.h.

◆ calculateNumericalDiffusion()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateNumericalDiffusion ( const double &  shockCapturingDiffusion,
const double &  elementDiameter,
const double &  strong_residual,
const double  grad_u[nSpace],
double &  numDiff 
)
inline

Definition at line 145 of file VOF.h.

◆ calculateResidualEdgeBased()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidualEdgeBased ( arguments_dict args)
inlinevirtual

Implements proteus::VOF_base.

Definition at line 1457 of file VOF.h.

◆ calculateResidualElementBased()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidualElementBased ( arguments_dict args)
inlinevirtual

Implements proteus::VOF_base.

Definition at line 250 of file VOF.h.

◆ calculateSubgridError_tau() [1/2]

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridError_tau ( const double &  Ct_sge,
const double  G[nSpace *nSpace],
const double &  A0,
const double  Ai[nSpace],
double &  tau_v,
double &  cfl 
)
inline

Definition at line 129 of file VOF.h.

◆ calculateSubgridError_tau() [2/2]

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridError_tau ( const double &  elementDiameter,
const double &  dmt,
const double  dH[nSpace],
double &  cfl,
double &  tau 
)
inline

Definition at line 111 of file VOF.h.

◆ evaluateCoefficients()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double  v[nSpace],
const double &  u,
const double &  porosity,
double &  m,
double &  dm,
double  f[nSpace],
double  df[nSpace] 
)
inline

Definition at line 93 of file VOF.h.

◆ exteriorNumericalAdvectiveFlux()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFlux ( const int &  isDOFBoundary_u,
const int &  isFluxBoundary_u,
const double  n[nSpace],
const double &  bc_u,
const double &  bc_flux_u,
const double &  u,
const double  velocity[nSpace],
double &  flux 
)
inline

Definition at line 165 of file VOF.h.

◆ exteriorNumericalAdvectiveFluxDerivative()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFluxDerivative ( const int &  isDOFBoundary_u,
const int &  isFluxBoundary_u,
const double  n[nSpace],
const double  velocity[nSpace],
double &  dflux 
)
inline

Definition at line 215 of file VOF.h.

◆ FCTStep()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::FCTStep ( arguments_dict args)
inlinevirtual

Implements proteus::VOF_base.

Definition at line 1342 of file VOF.h.

Member Data Documentation

◆ ck

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
CompKernelType proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ck

Definition at line 72 of file VOF.h.

◆ nDOF_test_X_trial_element

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::VOF< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_trial_element

Definition at line 71 of file VOF.h.


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