proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::Kappa2D< 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/Kappa2D.h>

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

Public Member Functions

 Kappa2D ()
 
void setSedClosure (double aDarcy, double betaForch, double grain, double packFraction, double packMargin, double maxFraction, double frFraction, double sigmaC, double C3e, double C4e, double eR, double fContact, double mContact, double nContact, double angFriction, double vos_limiter, double mu_fr_limiter)
 
void computeK_OmegaCoefficients (const double &div_eps, const double &k, const double &omega, const double grad_k[nSpace], const double grad_omega[nSpace], const double grad_vx[nSpace], const double grad_vy[nSpace], double &inverse_sigma_k, double &inverse_sigma_omega, double &beta_star, double &beta, double &gamma)
 
void evaluateCoefficients (double v[nSpace], const double eps_mu, const double phi, const double nu_0, const double nu_1, const double sigma_k, const double c_mu, const double grad_vx[nSpace], const double grad_vy[nSpace], const double &k, double &k_old, double &dissipation, const double &porosity, int sedFlag, double q_vos, double q_vos_gradc[nSpace], double rho_f, double rho_s, double vs[nSpace], double g[nSpace], int dissipation_model_flag, const double grad_k_old[nSpace], const double grad_dissipation[nSpace], double &m, double &dm, double f[nSpace], double df[nSpace], double &a, double &da_dk, double &r, double &dr_dk)
 
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 &isAdvectiveFluxBoundary_u, const double n[nSpace], const double &bc_u, const double &bc_flux_u, const double &u, const double velocity[nSpace], double &flux)
 
double smoothedHeaviside (double eps, double phi)
 
void exteriorNumericalAdvectiveFluxDerivative (const int &isDOFBoundary_u, const int &isAdvectiveFluxBoundary_u, const double n[nSpace], const double velocity[nSpace], double &dflux)
 
void exteriorNumericalDiffusiveFlux (const double &bc_flux, const int &isDOFBoundary, const int &isDiffusiveFluxBoundary, double n[nSpace], double bc_u, double a, double grad_psi[nSpace], double u, double penalty, double &flux)
 
void exteriorNumericalDiffusiveFluxDerivative (const int &isDOFBoundary, const int &isDiffusiveFluxBoundary, double n[nSpace], double a, double da, double grad_psi[nSpace], const double grad_v[nSpace], double v, double penalty, double &fluxJacobian)
 
void calculateResidual (arguments_dict &args)
 
void calculateJacobian (arguments_dict &args)
 
- Public Member Functions inherited from proteus::Kappa2D_base
virtual ~Kappa2D_base ()
 

Public Attributes

cppHsuSedStress< 2 > closure
 
const int nDOF_test_X_trial_element
 
CompKernelType ck
 

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 48 of file Kappa2D.h.

Constructor & Destructor Documentation

◆ Kappa2D()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::Kappa2D ( )
inline

Definition at line 54 of file Kappa2D.h.

Member Function Documentation

◆ 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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args)
inlinevirtual

Implements proteus::Kappa2D_base.

Definition at line 1149 of file Kappa2D.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::Kappa2D< 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 390 of file Kappa2D.h.

◆ calculateResidual()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidual ( arguments_dict args)
inlinevirtual

Implements proteus::Kappa2D_base.

Definition at line 569 of file Kappa2D.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::Kappa2D< 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 372 of file Kappa2D.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::Kappa2D< 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 353 of file Kappa2D.h.

◆ computeK_OmegaCoefficients()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::computeK_OmegaCoefficients ( const double &  div_eps,
const double &  k,
const double &  omega,
const double  grad_k[nSpace],
const double  grad_omega[nSpace],
const double  grad_vx[nSpace],
const double  grad_vy[nSpace],
double &  inverse_sigma_k,
double &  inverse_sigma_omega,
double &  beta_star,
double &  beta,
double &  gamma 
)
inline

Definition at line 115 of file Kappa2D.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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( double  v[nSpace],
const double  eps_mu,
const double  phi,
const double  nu_0,
const double  nu_1,
const double  sigma_k,
const double  c_mu,
const double  grad_vx[nSpace],
const double  grad_vy[nSpace],
const double &  k,
double &  k_old,
double &  dissipation,
const double &  porosity,
int  sedFlag,
double  q_vos,
double  q_vos_gradc[nSpace],
double  rho_f,
double  rho_s,
double  vs[nSpace],
double  g[nSpace],
int  dissipation_model_flag,
const double  grad_k_old[nSpace],
const double  grad_dissipation[nSpace],
double &  m,
double &  dm,
double  f[nSpace],
double  df[nSpace],
double &  a,
double &  da_dk,
double &  r,
double &  dr_dk 
)
inline

Definition at line 194 of file Kappa2D.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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFlux ( const int &  isDOFBoundary_u,
const int &  isAdvectiveFluxBoundary_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 410 of file Kappa2D.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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFluxDerivative ( const int &  isDOFBoundary_u,
const int &  isAdvectiveFluxBoundary_u,
const double  n[nSpace],
const double  velocity[nSpace],
double &  dflux 
)
inline

Definition at line 476 of file Kappa2D.h.

◆ exteriorNumericalDiffusiveFlux()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalDiffusiveFlux ( const double &  bc_flux,
const int &  isDOFBoundary,
const int &  isDiffusiveFluxBoundary,
double  n[nSpace],
double  bc_u,
double  a,
double  grad_psi[nSpace],
double  u,
double  penalty,
double &  flux 
)
inline

Definition at line 511 of file Kappa2D.h.

◆ exteriorNumericalDiffusiveFluxDerivative()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalDiffusiveFluxDerivative ( const int &  isDOFBoundary,
const int &  isDiffusiveFluxBoundary,
double  n[nSpace],
double  a,
double  da,
double  grad_psi[nSpace],
const double  grad_v[nSpace],
double  v,
double  penalty,
double &  fluxJacobian 
)
inline

Definition at line 545 of file Kappa2D.h.

◆ setSedClosure()

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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::setSedClosure ( double  aDarcy,
double  betaForch,
double  grain,
double  packFraction,
double  packMargin,
double  maxFraction,
double  frFraction,
double  sigmaC,
double  C3e,
double  C4e,
double  eR,
double  fContact,
double  mContact,
double  nContact,
double  angFriction,
double  vos_limiter,
double  mu_fr_limiter 
)
inlinevirtual

Reimplemented from proteus::Kappa2D_base.

Definition at line 77 of file Kappa2D.h.

◆ smoothedHeaviside()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
double proteus::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedHeaviside ( double  eps,
double  phi 
)
inline

Definition at line 461 of file Kappa2D.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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ck

Definition at line 53 of file Kappa2D.h.

◆ closure

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
cppHsuSedStress<2> proteus::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::closure

Definition at line 51 of file Kappa2D.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::Kappa2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_trial_element

Definition at line 52 of file Kappa2D.h.


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