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

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

Public Member Functions

 cppRANS3PSed2D ()
 
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)
 
double smoothedHeaviside (double eps, double phi)
 
double smoothedHeaviside_integral (double eps, double phi)
 
double smoothedDirac (double eps, double phi)
 
void evaluateCoefficients (const double eps_rho, const double eps_mu, const double sigma, const double rho_0, double nu_0, const double rho_1, double nu_1, const double rho_s, const double h_e, const double smagorinskyConstant, const int turbulenceClosureModel, const double g[nSpace], const double useVF, const double &vf, const double &phi, const double n[nSpace], const double &kappa, const double vos, const double &p, const double grad_p[nSpace], const double grad_u[nSpace], const double grad_v[nSpace], const double grad_w[nSpace], const double &u, const double &v, const double &w, const double &uStar, const double &vStar, const double &wStar, double &eddy_viscosity, double &mom_u_acc, double &dmom_u_acc_u, double &mom_v_acc, double &dmom_v_acc_v, double &mom_w_acc, double &dmom_w_acc_w, double mass_adv[nSpace], double dmass_adv_u[nSpace], double dmass_adv_v[nSpace], double dmass_adv_w[nSpace], double mom_u_adv[nSpace], double dmom_u_adv_u[nSpace], double dmom_u_adv_v[nSpace], double dmom_u_adv_w[nSpace], double mom_v_adv[nSpace], double dmom_v_adv_u[nSpace], double dmom_v_adv_v[nSpace], double dmom_v_adv_w[nSpace], double mom_w_adv[nSpace], double dmom_w_adv_u[nSpace], double dmom_w_adv_v[nSpace], double dmom_w_adv_w[nSpace], double mom_uu_diff_ten[nSpace], double mom_vv_diff_ten[nSpace], double mom_ww_diff_ten[nSpace], double mom_uv_diff_ten[1], double mom_uw_diff_ten[1], double mom_vu_diff_ten[1], double mom_vw_diff_ten[1], double mom_wu_diff_ten[1], double mom_wv_diff_ten[1], double &mom_u_source, double &mom_v_source, double &mom_w_source, double &mom_u_ham, double dmom_u_ham_grad_p[nSpace], double dmom_u_ham_grad_u[nSpace], double &mom_v_ham, double dmom_v_ham_grad_p[nSpace], double dmom_v_ham_grad_v[nSpace], double &mom_w_ham, double dmom_w_ham_grad_p[nSpace], double dmom_w_ham_grad_w[nSpace])
 
void updateDarcyForchheimerTerms_Ergun (const double alpha, const double beta, const double eps_rho, const double eps_mu, const double rho_0, const double nu_0, const double rho_1, const double nu_1, double nu_t, const double useVF, const double vf, const double phi, const double u, const double v, const double w, const double uStar, const double vStar, const double wStar, const double eps_s, const double vos, const double u_f, const double v_f, const double w_f, const double uStar_f, const double vStar_f, const double wStar_f, double &mom_u_source, double &mom_v_source, double &mom_w_source, double dmom_u_source[nSpace], double dmom_v_source[nSpace], double dmom_w_source[nSpace], double gradC_x, double gradC_y, double gradC_z)
 
void updatePenaltyForPacking (const double vos, const double u, const double v, const double w, double &mom_u_source, double &mom_v_source, double &mom_w_source, double dmom_u_source[nSpace], double dmom_v_source[nSpace], double dmom_w_source[nSpace])
 
void updateFrictionalPressure (const double vos, const double grad_vos[nSpace], double &mom_u_source, double &mom_v_source, double &mom_w_source)
 
void updateFrictionalStress (const double LAG_MU_FR, const double mu_fr_last, double &mu_fr_new, const double vos, const double eps_rho, const double eps_mu, const double rho_0, const double nu_0, const double rho_1, const double nu_1, const double rho_s, const double useVF, const double vf, const double phi, const double grad_u[nSpace], const double grad_v[nSpace], const double grad_w[nSpace], double mom_uu_diff_ten[nSpace], double mom_uv_diff_ten[1], double mom_uw_diff_ten[1], double mom_vv_diff_ten[nSpace], double mom_vu_diff_ten[1], double mom_vw_diff_ten[1], double mom_ww_diff_ten[nSpace], double mom_wu_diff_ten[1], double mom_wv_diff_ten[1])
 
void calculateSubgridError_tau (const double &hFactor, const double &elementDiameter, const double &dmt, const double &dm, const double df[nSpace], const double &a, const double &pfac, double &tau_v, double &tau_p, double &cfl)
 
void calculateSubgridError_tau (const double &Ct_sge, const double &Cd_sge, const double G[nSpace *nSpace], const double &G_dd_G, const double &tr_G, const double &A0, const double Ai[nSpace], const double &Kij, const double &pfac, double &tau_v, double &tau_p, double &q_cfl)
 
void calculateSubgridError_tauRes (const double &tau_p, const double &tau_v, const double &pdeResidualP, const double &pdeResidualU, const double &pdeResidualV, const double &pdeResidualW, double &subgridErrorP, double &subgridErrorU, double &subgridErrorV, double &subgridErrorW)
 
void calculateSubgridErrorDerivatives_tauRes (const double &tau_p, const double &tau_v, const double dpdeResidualP_du[nDOF_trial_element], const double dpdeResidualP_dv[nDOF_trial_element], const double dpdeResidualP_dw[nDOF_trial_element], const double dpdeResidualU_dp[nDOF_trial_element], const double dpdeResidualU_du[nDOF_trial_element], const double dpdeResidualV_dp[nDOF_trial_element], const double dpdeResidualV_dv[nDOF_trial_element], const double dpdeResidualW_dp[nDOF_trial_element], const double dpdeResidualW_dw[nDOF_trial_element], double dsubgridErrorP_du[nDOF_trial_element], double dsubgridErrorP_dv[nDOF_trial_element], double dsubgridErrorP_dw[nDOF_trial_element], double dsubgridErrorU_dp[nDOF_trial_element], double dsubgridErrorU_du[nDOF_trial_element], double dsubgridErrorV_dp[nDOF_trial_element], double dsubgridErrorV_dv[nDOF_trial_element], double dsubgridErrorW_dp[nDOF_trial_element], double dsubgridErrorW_dw[nDOF_trial_element])
 
void exteriorNumericalAdvectiveFlux (const int &isDOFBoundary_p, const int &isDOFBoundary_u, const int &isDOFBoundary_v, const int &isDOFBoundary_w, const int &isFluxBoundary_p, const int &isFluxBoundary_u, const int &isFluxBoundary_v, const int &isFluxBoundary_w, const double &oneByRho, const double &bc_oneByRho, const double n[nSpace], const double &vos, const double &bc_p, const double &bc_u, const double &bc_v, const double &bc_w, const double bc_f_mass[nSpace], const double bc_f_umom[nSpace], const double bc_f_vmom[nSpace], const double bc_f_wmom[nSpace], const double &bc_flux_mass, const double &bc_flux_umom, const double &bc_flux_vmom, const double &bc_flux_wmom, const double &p, const double &u, const double &v, const double &w, const double f_mass[nSpace], const double f_umom[nSpace], const double f_vmom[nSpace], const double f_wmom[nSpace], const double df_mass_du[nSpace], const double df_mass_dv[nSpace], const double df_mass_dw[nSpace], const double df_umom_dp[nSpace], const double df_umom_du[nSpace], const double df_umom_dv[nSpace], const double df_umom_dw[nSpace], const double df_vmom_dp[nSpace], const double df_vmom_du[nSpace], const double df_vmom_dv[nSpace], const double df_vmom_dw[nSpace], const double df_wmom_dp[nSpace], const double df_wmom_du[nSpace], const double df_wmom_dv[nSpace], const double df_wmom_dw[nSpace], double &flux_mass, double &flux_umom, double &flux_vmom, double &flux_wmom, double *velocity_star, double *velocity)
 
void exteriorNumericalAdvectiveFluxDerivatives (const int &isDOFBoundary_p, const int &isDOFBoundary_u, const int &isDOFBoundary_v, const int &isDOFBoundary_w, const int &isFluxBoundary_p, const int &isFluxBoundary_u, const int &isFluxBoundary_v, const int &isFluxBoundary_w, const double &oneByRho, const double n[nSpace], const double &vos, const double &bc_p, const double &bc_u, const double &bc_v, const double &bc_w, const double bc_f_mass[nSpace], const double bc_f_umom[nSpace], const double bc_f_vmom[nSpace], const double bc_f_wmom[nSpace], const double &bc_flux_mass, const double &bc_flux_umom, const double &bc_flux_vmom, const double &bc_flux_wmom, const double &p, const double &u, const double &v, const double &w, const double f_mass[nSpace], const double f_umom[nSpace], const double f_vmom[nSpace], const double f_wmom[nSpace], const double df_mass_du[nSpace], const double df_mass_dv[nSpace], const double df_mass_dw[nSpace], const double df_umom_dp[nSpace], const double df_umom_du[nSpace], const double df_umom_dv[nSpace], const double df_umom_dw[nSpace], const double df_vmom_dp[nSpace], const double df_vmom_du[nSpace], const double df_vmom_dv[nSpace], const double df_vmom_dw[nSpace], const double df_wmom_dp[nSpace], const double df_wmom_du[nSpace], const double df_wmom_dv[nSpace], const double df_wmom_dw[nSpace], double &dflux_mass_du, double &dflux_mass_dv, double &dflux_mass_dw, double &dflux_umom_dp, double &dflux_umom_du, double &dflux_umom_dv, double &dflux_umom_dw, double &dflux_vmom_dp, double &dflux_vmom_du, double &dflux_vmom_dv, double &dflux_vmom_dw, double &dflux_wmom_dp, double &dflux_wmom_du, double &dflux_wmom_dv, double &dflux_wmom_dw, double *velocity_star)
 
void exteriorNumericalDiffusiveFlux (const double &eps, const double &phi, int *rowptr, int *colind, const int &isDOFBoundary, const int &isFluxBoundary, const double n[nSpace], double *bc_a, const double &bc_u, const double &bc_flux, double *a, const double grad_potential[nSpace], const double &u, const double &penalty, double &flux)
 
double ExteriorNumericalDiffusiveFluxJacobian (const double &eps, const double &phi, int *rowptr, int *colind, const int &isDOFBoundary, const int &isFluxBoundary, const double n[nSpace], double *a, const double &v, const double grad_v[nSpace], const double &penalty)
 
void calculateResidual (arguments_dict &args)
 
void calculateJacobian (arguments_dict &args)
 
void calculateVelocityAverage (arguments_dict &args)
 
- Public Member Functions inherited from proteus::cppRANS3PSed2D_base
virtual ~cppRANS3PSed2D_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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 55 of file RANS3PSed2D.h.

Constructor & Destructor Documentation

◆ cppRANS3PSed2D()

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

Definition at line 61 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args)
inlinevirtual

Implements proteus::cppRANS3PSed2D_base.

Definition at line 2697 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidual ( arguments_dict args)
inlinevirtual

Implements proteus::cppRANS3PSed2D_base.

Definition at line 1117 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridError_tau ( const double &  Ct_sge,
const double &  Cd_sge,
const double  G[nSpace *nSpace],
const double &  G_dd_G,
const double &  tr_G,
const double &  A0,
const double  Ai[nSpace],
const double &  Kij,
const double &  pfac,
double &  tau_v,
double &  tau_p,
double &  q_cfl 
)
inline

Definition at line 665 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridError_tau ( const double &  hFactor,
const double &  elementDiameter,
const double &  dmt,
const double &  dm,
const double  df[nSpace],
const double &  a,
const double &  pfac,
double &  tau_v,
double &  tau_p,
double &  cfl 
)
inline

Definition at line 631 of file RANS3PSed2D.h.

◆ calculateSubgridError_tauRes()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridError_tauRes ( const double &  tau_p,
const double &  tau_v,
const double &  pdeResidualP,
const double &  pdeResidualU,
const double &  pdeResidualV,
const double &  pdeResidualW,
double &  subgridErrorP,
double &  subgridErrorU,
double &  subgridErrorV,
double &  subgridErrorW 
)
inline

Definition at line 686 of file RANS3PSed2D.h.

◆ calculateSubgridErrorDerivatives_tauRes()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridErrorDerivatives_tauRes ( const double &  tau_p,
const double &  tau_v,
const double  dpdeResidualP_du[nDOF_trial_element],
const double  dpdeResidualP_dv[nDOF_trial_element],
const double  dpdeResidualP_dw[nDOF_trial_element],
const double  dpdeResidualU_dp[nDOF_trial_element],
const double  dpdeResidualU_du[nDOF_trial_element],
const double  dpdeResidualV_dp[nDOF_trial_element],
const double  dpdeResidualV_dv[nDOF_trial_element],
const double  dpdeResidualW_dp[nDOF_trial_element],
const double  dpdeResidualW_dw[nDOF_trial_element],
double  dsubgridErrorP_du[nDOF_trial_element],
double  dsubgridErrorP_dv[nDOF_trial_element],
double  dsubgridErrorP_dw[nDOF_trial_element],
double  dsubgridErrorU_dp[nDOF_trial_element],
double  dsubgridErrorU_du[nDOF_trial_element],
double  dsubgridErrorV_dp[nDOF_trial_element],
double  dsubgridErrorV_dv[nDOF_trial_element],
double  dsubgridErrorW_dp[nDOF_trial_element],
double  dsubgridErrorW_dw[nDOF_trial_element] 
)
inline

Definition at line 705 of file RANS3PSed2D.h.

◆ calculateVelocityAverage()

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

Implements proteus::cppRANS3PSed2D_base.

Definition at line 4317 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double  eps_rho,
const double  eps_mu,
const double  sigma,
const double  rho_0,
double  nu_0,
const double  rho_1,
double  nu_1,
const double  rho_s,
const double  h_e,
const double  smagorinskyConstant,
const int  turbulenceClosureModel,
const double  g[nSpace],
const double  useVF,
const double &  vf,
const double &  phi,
const double  n[nSpace],
const double &  kappa,
const double  vos,
const double &  p,
const double  grad_p[nSpace],
const double  grad_u[nSpace],
const double  grad_v[nSpace],
const double  grad_w[nSpace],
const double &  u,
const double &  v,
const double &  w,
const double &  uStar,
const double &  vStar,
const double &  wStar,
double &  eddy_viscosity,
double &  mom_u_acc,
double &  dmom_u_acc_u,
double &  mom_v_acc,
double &  dmom_v_acc_v,
double &  mom_w_acc,
double &  dmom_w_acc_w,
double  mass_adv[nSpace],
double  dmass_adv_u[nSpace],
double  dmass_adv_v[nSpace],
double  dmass_adv_w[nSpace],
double  mom_u_adv[nSpace],
double  dmom_u_adv_u[nSpace],
double  dmom_u_adv_v[nSpace],
double  dmom_u_adv_w[nSpace],
double  mom_v_adv[nSpace],
double  dmom_v_adv_u[nSpace],
double  dmom_v_adv_v[nSpace],
double  dmom_v_adv_w[nSpace],
double  mom_w_adv[nSpace],
double  dmom_w_adv_u[nSpace],
double  dmom_w_adv_v[nSpace],
double  dmom_w_adv_w[nSpace],
double  mom_uu_diff_ten[nSpace],
double  mom_vv_diff_ten[nSpace],
double  mom_ww_diff_ten[nSpace],
double  mom_uv_diff_ten[1],
double  mom_uw_diff_ten[1],
double  mom_vu_diff_ten[1],
double  mom_vw_diff_ten[1],
double  mom_wu_diff_ten[1],
double  mom_wv_diff_ten[1],
double &  mom_u_source,
double &  mom_v_source,
double &  mom_w_source,
double &  mom_u_ham,
double  dmom_u_ham_grad_p[nSpace],
double  dmom_u_ham_grad_u[nSpace],
double &  mom_v_ham,
double  dmom_v_ham_grad_p[nSpace],
double  dmom_v_ham_grad_v[nSpace],
double &  mom_w_ham,
double  dmom_w_ham_grad_p[nSpace],
double  dmom_w_ham_grad_w[nSpace] 
)
inline

Definition at line 169 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFlux ( const int &  isDOFBoundary_p,
const int &  isDOFBoundary_u,
const int &  isDOFBoundary_v,
const int &  isDOFBoundary_w,
const int &  isFluxBoundary_p,
const int &  isFluxBoundary_u,
const int &  isFluxBoundary_v,
const int &  isFluxBoundary_w,
const double &  oneByRho,
const double &  bc_oneByRho,
const double  n[nSpace],
const double &  vos,
const double &  bc_p,
const double &  bc_u,
const double &  bc_v,
const double &  bc_w,
const double  bc_f_mass[nSpace],
const double  bc_f_umom[nSpace],
const double  bc_f_vmom[nSpace],
const double  bc_f_wmom[nSpace],
const double &  bc_flux_mass,
const double &  bc_flux_umom,
const double &  bc_flux_vmom,
const double &  bc_flux_wmom,
const double &  p,
const double &  u,
const double &  v,
const double &  w,
const double  f_mass[nSpace],
const double  f_umom[nSpace],
const double  f_vmom[nSpace],
const double  f_wmom[nSpace],
const double  df_mass_du[nSpace],
const double  df_mass_dv[nSpace],
const double  df_mass_dw[nSpace],
const double  df_umom_dp[nSpace],
const double  df_umom_du[nSpace],
const double  df_umom_dv[nSpace],
const double  df_umom_dw[nSpace],
const double  df_vmom_dp[nSpace],
const double  df_vmom_du[nSpace],
const double  df_vmom_dv[nSpace],
const double  df_vmom_dw[nSpace],
const double  df_wmom_dp[nSpace],
const double  df_wmom_du[nSpace],
const double  df_wmom_dv[nSpace],
const double  df_wmom_dw[nSpace],
double &  flux_mass,
double &  flux_umom,
double &  flux_vmom,
double &  flux_wmom,
double *  velocity_star,
double *  velocity 
)
inline

Definition at line 746 of file RANS3PSed2D.h.

◆ exteriorNumericalAdvectiveFluxDerivatives()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFluxDerivatives ( const int &  isDOFBoundary_p,
const int &  isDOFBoundary_u,
const int &  isDOFBoundary_v,
const int &  isDOFBoundary_w,
const int &  isFluxBoundary_p,
const int &  isFluxBoundary_u,
const int &  isFluxBoundary_v,
const int &  isFluxBoundary_w,
const double &  oneByRho,
const double  n[nSpace],
const double &  vos,
const double &  bc_p,
const double &  bc_u,
const double &  bc_v,
const double &  bc_w,
const double  bc_f_mass[nSpace],
const double  bc_f_umom[nSpace],
const double  bc_f_vmom[nSpace],
const double  bc_f_wmom[nSpace],
const double &  bc_flux_mass,
const double &  bc_flux_umom,
const double &  bc_flux_vmom,
const double &  bc_flux_wmom,
const double &  p,
const double &  u,
const double &  v,
const double &  w,
const double  f_mass[nSpace],
const double  f_umom[nSpace],
const double  f_vmom[nSpace],
const double  f_wmom[nSpace],
const double  df_mass_du[nSpace],
const double  df_mass_dv[nSpace],
const double  df_mass_dw[nSpace],
const double  df_umom_dp[nSpace],
const double  df_umom_du[nSpace],
const double  df_umom_dv[nSpace],
const double  df_umom_dw[nSpace],
const double  df_vmom_dp[nSpace],
const double  df_vmom_du[nSpace],
const double  df_vmom_dv[nSpace],
const double  df_vmom_dw[nSpace],
const double  df_wmom_dp[nSpace],
const double  df_wmom_du[nSpace],
const double  df_wmom_dv[nSpace],
const double  df_wmom_dw[nSpace],
double &  dflux_mass_du,
double &  dflux_mass_dv,
double &  dflux_mass_dw,
double &  dflux_umom_dp,
double &  dflux_umom_du,
double &  dflux_umom_dv,
double &  dflux_umom_dw,
double &  dflux_vmom_dp,
double &  dflux_vmom_du,
double &  dflux_vmom_dv,
double &  dflux_vmom_dw,
double &  dflux_wmom_dp,
double &  dflux_wmom_du,
double &  dflux_wmom_dv,
double &  dflux_wmom_dw,
double *  velocity_star 
)
inline

Definition at line 877 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalDiffusiveFlux ( const double &  eps,
const double &  phi,
int *  rowptr,
int *  colind,
const int &  isDOFBoundary,
const int &  isFluxBoundary,
const double  n[nSpace],
double *  bc_a,
const double &  bc_u,
const double &  bc_flux,
double *  a,
const double  grad_potential[nSpace],
const double &  u,
const double &  penalty,
double &  flux 
)
inline

Definition at line 1037 of file RANS3PSed2D.h.

◆ ExteriorNumericalDiffusiveFluxJacobian()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ExteriorNumericalDiffusiveFluxJacobian ( const double &  eps,
const double &  phi,
int *  rowptr,
int *  colind,
const int &  isDOFBoundary,
const int &  isFluxBoundary,
const double  n[nSpace],
double *  a,
const double &  v,
const double  grad_v[nSpace],
const double &  penalty 
)
inline

Definition at line 1085 of file RANS3PSed2D.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::cppRANS3PSed2D< 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::cppRANS3PSed2D_base.

Definition at line 84 of file RANS3PSed2D.h.

◆ smoothedDirac()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedDirac ( double  eps,
double  phi 
)
inline

Definition at line 156 of file RANS3PSed2D.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::cppRANS3PSed2D< 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 121 of file RANS3PSed2D.h.

◆ smoothedHeaviside_integral()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedHeaviside_integral ( double  eps,
double  phi 
)
inline

Definition at line 135 of file RANS3PSed2D.h.

◆ updateDarcyForchheimerTerms_Ergun()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::updateDarcyForchheimerTerms_Ergun ( const double  alpha,
const double  beta,
const double  eps_rho,
const double  eps_mu,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
double  nu_t,
const double  useVF,
const double  vf,
const double  phi,
const double  u,
const double  v,
const double  w,
const double  uStar,
const double  vStar,
const double  wStar,
const double  eps_s,
const double  vos,
const double  u_f,
const double  v_f,
const double  w_f,
const double  uStar_f,
const double  vStar_f,
const double  wStar_f,
double &  mom_u_source,
double &  mom_v_source,
double &  mom_w_source,
double  dmom_u_source[nSpace],
double  dmom_v_source[nSpace],
double  dmom_w_source[nSpace],
double  gradC_x,
double  gradC_y,
double  gradC_z 
)
inline

Definition at line 446 of file RANS3PSed2D.h.

◆ updateFrictionalPressure()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::updateFrictionalPressure ( const double  vos,
const double  grad_vos[nSpace],
double &  mom_u_source,
double &  mom_v_source,
double &  mom_w_source 
)
inline

Definition at line 554 of file RANS3PSed2D.h.

◆ updateFrictionalStress()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::updateFrictionalStress ( const double  LAG_MU_FR,
const double  mu_fr_last,
double &  mu_fr_new,
const double  vos,
const double  eps_rho,
const double  eps_mu,
const double  rho_0,
const double  nu_0,
const double  rho_1,
const double  nu_1,
const double  rho_s,
const double  useVF,
const double  vf,
const double  phi,
const double  grad_u[nSpace],
const double  grad_v[nSpace],
const double  grad_w[nSpace],
double  mom_uu_diff_ten[nSpace],
double  mom_uv_diff_ten[1],
double  mom_uw_diff_ten[1],
double  mom_vv_diff_ten[nSpace],
double  mom_vu_diff_ten[1],
double  mom_vw_diff_ten[1],
double  mom_ww_diff_ten[nSpace],
double  mom_wu_diff_ten[1],
double  mom_wv_diff_ten[1] 
)
inline

Definition at line 570 of file RANS3PSed2D.h.

◆ updatePenaltyForPacking()

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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::updatePenaltyForPacking ( const double  vos,
const double  u,
const double  v,
const double  w,
double &  mom_u_source,
double &  mom_v_source,
double &  mom_w_source,
double  dmom_u_source[nSpace],
double  dmom_v_source[nSpace],
double  dmom_w_source[nSpace] 
)
inline

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

Definition at line 60 of file RANS3PSed2D.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::cppRANS3PSed2D< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::closure

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

Definition at line 59 of file RANS3PSed2D.h.


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