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

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

Public Member Functions

 RANS2P_IB ()
 
double smoothedHeaviside (double eps, double phi)
 
double smoothedHeaviside_integral (double eps, double phi)
 
double smoothedDirac (double eps, double phi)
 
double delta_h (const double r)
 
void calculateBeamSinks (const int nBeams, const int nBeamElements, const int beam_quadOrder, const double beam_Cd, const double *beamRadius, const double x, const double y, const double z, const double *xq, const double *yq, const double *zq, const double *Beam_h, const double *dV_beam, const double u, const double v, const double w, const double eps_rho, const double &phi, const double rho_0, const double rho_1, double &mom_u_source, double &mom_v_source, double &mom_w_source, const double dV, double *netBeamDrag)
 
void calculateBeamLoads (const int nBeams, const int nBeamElements, const int beam_quadOrder, const double beam_Cd, const double *beamRadius, const double x, const double y, const double z, const double *xq, const double *yq, const double *zq, const double *Beam_h, const double u, const double v, const double w, const double eps_rho, const double &phi, const double rho_0, const double rho_1, double *q1, double *q2, double *q3, const double dV, double *vel_avg)
 
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 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 porosity, 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, 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 &mom_v_ham, double dmom_v_ham_grad_p[nSpace], double &mom_w_ham, double dmom_w_ham_grad_p[nSpace], const double &dragBeam1, const double &dragBeam2, const double &dragBeam3)
 
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, const double useVF, const double vf, const double phi, const double u, const double v, const double w, const double eps_s, const double phi_s, const double u_s, const double v_s, const double w_s, 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 updateTurbulenceClosure (const int turbulenceClosureModel, 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 useVF, const double vf, const double phi, const double porosity, const double eddy_visc_coef_0, const double turb_var_0, const double turb_var_1, const double turb_grad_0[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)
 
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 &bc_p, 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 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)
 
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 &bc_p, 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 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)
 
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)
 
void calculateForce (arguments_dict &args)
 
void calculateBeams (arguments_dict &args)
 
- Public Member Functions inherited from proteus::RANS2P_IB_base
virtual ~RANS2P_IB_base ()
 

Public Attributes

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

Definition at line 33 of file RANS2P_IB.h.

Constructor & Destructor Documentation

◆ RANS2P_IB()

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

Definition at line 38 of file RANS2P_IB.h.

Member Function Documentation

◆ calculateBeamLoads()

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::RANS2P_IB< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateBeamLoads ( const int  nBeams,
const int  nBeamElements,
const int  beam_quadOrder,
const double  beam_Cd,
const double *  beamRadius,
const double  x,
const double  y,
const double  z,
const double *  xq,
const double *  yq,
const double *  zq,
const double *  Beam_h,
const double  u,
const double  v,
const double  w,
const double  eps_rho,
const double &  phi,
const double  rho_0,
const double  rho_1,
double *  q1,
double *  q2,
double *  q3,
const double  dV,
double *  vel_avg 
)
inline

Definition at line 174 of file RANS2P_IB.h.

◆ calculateBeams()

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

Implements proteus::RANS2P_IB_base.

Definition at line 5070 of file RANS2P_IB.h.

◆ calculateBeamSinks()

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::RANS2P_IB< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateBeamSinks ( const int  nBeams,
const int  nBeamElements,
const int  beam_quadOrder,
const double  beam_Cd,
const double *  beamRadius,
const double  x,
const double  y,
const double  z,
const double *  xq,
const double *  yq,
const double *  zq,
const double *  Beam_h,
const double *  dV_beam,
const double  u,
const double  v,
const double  w,
const double  eps_rho,
const double &  phi,
const double  rho_0,
const double  rho_1,
double &  mom_u_source,
double &  mom_v_source,
double &  mom_w_source,
const double  dV,
double *  netBeamDrag 
)
inline

Definition at line 121 of file RANS2P_IB.h.

◆ calculateForce()

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

Implements proteus::RANS2P_IB_base.

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

Implements proteus::RANS2P_IB_base.

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

Implements proteus::RANS2P_IB_base.

Definition at line 1378 of file RANS2P_IB.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::RANS2P_IB< 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 831 of file RANS2P_IB.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::RANS2P_IB< 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 804 of file RANS2P_IB.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::RANS2P_IB< 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 854 of file RANS2P_IB.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::RANS2P_IB< 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 874 of file RANS2P_IB.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::RANS2P_IB< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateVelocityAverage ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_IB_base.

Definition at line 4559 of file RANS2P_IB.h.

◆ delta_h()

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::RANS2P_IB< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::delta_h ( const double  r)
inline

Definition at line 102 of file RANS2P_IB.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::RANS2P_IB< 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  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  porosity,
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,
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 &  mom_v_ham,
double  dmom_v_ham_grad_p[nSpace],
double &  mom_w_ham,
double  dmom_w_ham_grad_p[nSpace],
const double &  dragBeam1,
const double &  dragBeam2,
const double &  dragBeam3 
)
inline

Definition at line 236 of file RANS2P_IB.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::RANS2P_IB< 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 &  bc_p,
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  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 
)
inline

Definition at line 915 of file RANS2P_IB.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::RANS2P_IB< 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 &  bc_p,
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  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 
)
inline

Definition at line 1089 of file RANS2P_IB.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::RANS2P_IB< 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 1297 of file RANS2P_IB.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::RANS2P_IB< 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 1346 of file RANS2P_IB.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::RANS2P_IB< 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 90 of file RANS2P_IB.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::RANS2P_IB< 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 55 of file RANS2P_IB.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::RANS2P_IB< 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 69 of file RANS2P_IB.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::RANS2P_IB< 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,
const double  useVF,
const double  vf,
const double  phi,
const double  u,
const double  v,
const double  w,
const double  eps_s,
const double  phi_s,
const double  u_s,
const double  v_s,
const double  w_s,
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 612 of file RANS2P_IB.h.

◆ updateTurbulenceClosure()

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::RANS2P_IB< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::updateTurbulenceClosure ( const int  turbulenceClosureModel,
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  useVF,
const double  vf,
const double  phi,
const double  porosity,
const double  eddy_visc_coef_0,
const double  turb_var_0,
const double  turb_var_1,
const double  turb_grad_0[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 
)
inline

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

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

Definition at line 36 of file RANS2P_IB.h.


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