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

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

Inheritance diagram for proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >:
[legend]
Collaboration diagram for proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >:
[legend]

Public Member Functions

 RANS2P ()
 
void evaluateCoefficients (const double NONCONSERVATIVE_FORM, const double sigma, const double rho, double nu, 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 phi_solid, const double p_old, const double u_old, const double v_old, const double w_old, const double grad_p_old[nSpace], const double grad_u_old[nSpace], const double grad_v_old[nSpace], const double grad_w_old[nSpace], 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 LAG_LES, double &eddy_viscosity, double &eddy_viscosity_last, 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 &dmom_u_ham_u, double &dmom_u_ham_v, double &dmom_u_ham_w, double &mom_v_ham, double dmom_v_ham_grad_p[nSpace], double dmom_v_ham_grad_v[nSpace], double &dmom_v_ham_u, double &dmom_v_ham_v, double &dmom_v_ham_w, double &mom_w_ham, double dmom_w_ham_grad_p[nSpace], double dmom_w_ham_grad_w[nSpace], double &dmom_w_ham_u, double &dmom_w_ham_v, double &dmom_w_ham_w, double forcex, double forcey, double forcez)
 
int get_distance_to_ball (int n_balls, const double *ball_center, const double *ball_radius, const double x, const double y, const double z, double &distance)
 
void get_distance_to_ith_ball (int n_balls, const double *ball_center, const double *ball_radius, int I, const double x, const double y, const double z, double &distance)
 
void get_normal_to_ith_ball (int n_balls, const double *ball_center, const double *ball_radius, int I, const double x, const double y, const double z, double &nx, double &ny, double &nz)
 
void get_cross_product (const double *u, const double *v, double res[3])
 
void get_velocity_to_ith_ball (int n_balls, const double *ball_center, const double *ball_radius, const double *ball_velocity, const double *ball_angular_velocity, int I, const double x, const double y, const double z, double &vx, double &vy, double &vz)
 
void updateSolidParticleTerms (int particle_index, const double NONCONSERVATIVE_FORM, bool element_owned, const double particle_nitsche, const double dV, const int nParticles, const int sd_offset, double *particle_signed_distances, double *particle_signed_distance_normals, double *particle_velocities, double *particle_centroids, const int use_ball_as_particle, const double *ball_center, const double *ball_radius, const double *ball_velocity, const double *ball_angular_velocity, const double *ball_density, const double porosity, const double penalty, 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 x, const double y, const double z, const double p, const double u, const double v, const double w, const double uStar, const double vStar, const double wStar, const double eps_s, const double grad_u[nSpace], const double grad_v[nSpace], const double grad_w[nSpace], double &mass_source, 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 mom_u_adv[nSpace], double mom_v_adv[nSpace], double mom_w_adv[nSpace], double dmom_u_adv_u[nSpace], double dmom_v_adv_v[nSpace], double dmom_w_adv_w[nSpace], double &mom_u_ham, double dmom_u_ham_grad_u[nSpace], double dmom_u_ham_grad_v[nSpace], double dmom_u_ham_grad_w[nSpace], double &dmom_u_ham_u, double &dmom_u_ham_v, double &dmom_u_ham_w, double &mom_v_ham, double dmom_v_ham_grad_u[nSpace], double dmom_v_ham_grad_v[nSpace], double dmom_v_ham_grad_w[nSpace], double &dmom_v_ham_u, double &dmom_v_ham_v, double &dmom_v_ham_w, double &mom_w_ham, double dmom_w_ham_grad_u[nSpace], double dmom_w_ham_grad_v[nSpace], double dmom_w_ham_grad_w[nSpace], double &dmom_w_ham_u, double &dmom_w_ham_v, double &dmom_w_ham_w, double &mass_ham, double &dmass_ham_u, double &dmass_ham_v, double &dmass_ham_w, double *particle_netForces, double *particle_netMoments, double *particle_surfaceArea)
 
void updateDarcyForchheimerTerms_Ergun (const double NONCONSERVATIVE_FORM, 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 uStar, const double vStar, const double wStar, const double eps_porous, const double phi_porous, const double u_porous, const double v_porous, const double w_porous, 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 double NONCONSERVATIVE_FORM, 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 &eddy_viscosity, 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_v_trial_element], const double dpdeResidualP_dv[nDOF_v_trial_element], const double dpdeResidualP_dw[nDOF_v_trial_element], const double dpdeResidualU_dp[nDOF_trial_element], const double dpdeResidualU_du[nDOF_v_trial_element], const double dpdeResidualV_dp[nDOF_trial_element], const double dpdeResidualV_dv[nDOF_v_trial_element], const double dpdeResidualW_dp[nDOF_trial_element], const double dpdeResidualW_dw[nDOF_v_trial_element], double dsubgridErrorP_du[nDOF_v_trial_element], double dsubgridErrorP_dv[nDOF_v_trial_element], double dsubgridErrorP_dw[nDOF_v_trial_element], double dsubgridErrorU_dp[nDOF_trial_element], double dsubgridErrorU_du[nDOF_v_trial_element], double dsubgridErrorV_dp[nDOF_trial_element], double dsubgridErrorV_dv[nDOF_v_trial_element], double dsubgridErrorW_dp[nDOF_trial_element], double dsubgridErrorW_dw[nDOF_v_trial_element])
 
void exteriorNumericalAdvectiveFlux (const double NONCONSERVATIVE_FORM, 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_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 dham_grad[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 double NONCONSERVATIVE_FORM, 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_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 &dmom_u_acc_u, 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 dham_grad[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 evaluateTPAdvectionCoefficients (const double eps_rho, const double rho_0, const double rho_1, const double useVF, const double &vf, const double &phi, const double &u, const double &v, const double &w, double dmass_adv_p[nSpace], double dmom_u_adv_u[nSpace], double dmom_v_adv_v[nSpace], double dmom_w_adv_w[nSpace])
 
void evaluateTPInvViscosityMassCoefficients (const int use_numerical_viscosity, const double numerical_viscosity, const double eps_rho, const double eps_mu, const double rho_0, double nu_0, const double rho_1, double nu_1, const double useVF, const double &vf, const double &phi, const double &p, const double &u, const double &v, const double &w, double &mom_p_acc, double &dmom_p_acc_p, 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)
 
void evaluateTPDensityMassCoefficients (const double eps_rho, const double rho_0, const double rho_1, const double useVF, const double &vf, const double &phi, const double &p, const double &u, const double &v, const double &w, double &mom_p_acc, double &dmom_p_acc_p, 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)
 
void evaluateTPInvDensityLaplaceCoefficients (const double eps_rho, const double rho_0, const double rho_1, const double useVF, const double &vf, const double &phi, double mom_p_diff_ten[nSpace], double mom_u_diff_ten[nSpace], double mom_v_diff_ten[nSpace], double mom_w_diff_ten[nSpace])
 
void getTwoPhaseAdvectionOperator (arguments_dict &args)
 
void getTwoPhaseInvScaledLaplaceOperator (arguments_dict &args)
 
void getTwoPhaseScaledMassOperator (arguments_dict &args)
 
- Public Member Functions inherited from proteus::RANS2P_base
virtual ~RANS2P_base ()
 
void step6DOF (arguments_dict &args)
 

Public Attributes

std::set< int > ifem_boundaries
 
std::set< int > ifem_boundary_elements
 
std::set< int > cutfem_boundaries
 
std::map< int, int > cutfem_local_boundaries
 
const int nDOF_test_X_trial_element
 
const int nDOF_test_X_v_trial_element
 
const int nDOF_v_test_X_trial_element
 
const int nDOF_v_test_X_v_trial_element
 
CompKernelType ck
 
CompKernelType_v ck_v
 
GeneralizedFunctions< nSpace, 3, nQuadraturePoints_element, nQuadraturePoints_elementBoundary > gf
 
GeneralizedFunctions< nSpace, 3, nQuadraturePoints_element, nQuadraturePoints_elementBoundary > gf_p
 
GeneralizedFunctions< nSpace, 3, nQuadraturePoints_element, nQuadraturePoints_elementBoundary > gf_s
 

Detailed Description

template<class CompKernelType, class CompKernelType_v, int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
class proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >

Definition at line 309 of file RANS2P.h.

Constructor & Destructor Documentation

◆ RANS2P()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::RANS2P ( )
inline

Definition at line 325 of file RANS2P.h.

Member Function Documentation

◆ calculateJacobian()

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

Implements proteus::RANS2P_base.

Definition at line 5068 of file RANS2P.h.

◆ calculateResidual()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::calculateResidual ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_base.

Definition at line 2145 of file RANS2P.h.

◆ calculateSubgridError_tau() [1/2]

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_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 1426 of file RANS2P.h.

◆ calculateSubgridError_tau() [2/2]

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_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 1400 of file RANS2P.h.

◆ calculateSubgridError_tauRes()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_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 1448 of file RANS2P.h.

◆ calculateSubgridErrorDerivatives_tauRes()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::calculateSubgridErrorDerivatives_tauRes ( const double &  tau_p,
const double &  tau_v,
const double  dpdeResidualP_du[nDOF_v_trial_element],
const double  dpdeResidualP_dv[nDOF_v_trial_element],
const double  dpdeResidualP_dw[nDOF_v_trial_element],
const double  dpdeResidualU_dp[nDOF_trial_element],
const double  dpdeResidualU_du[nDOF_v_trial_element],
const double  dpdeResidualV_dp[nDOF_trial_element],
const double  dpdeResidualV_dv[nDOF_v_trial_element],
const double  dpdeResidualW_dp[nDOF_trial_element],
const double  dpdeResidualW_dw[nDOF_v_trial_element],
double  dsubgridErrorP_du[nDOF_v_trial_element],
double  dsubgridErrorP_dv[nDOF_v_trial_element],
double  dsubgridErrorP_dw[nDOF_v_trial_element],
double  dsubgridErrorU_dp[nDOF_trial_element],
double  dsubgridErrorU_du[nDOF_v_trial_element],
double  dsubgridErrorV_dp[nDOF_trial_element],
double  dsubgridErrorV_dv[nDOF_v_trial_element],
double  dsubgridErrorW_dp[nDOF_trial_element],
double  dsubgridErrorW_dw[nDOF_v_trial_element] 
)
inline

Definition at line 1468 of file RANS2P.h.

◆ calculateVelocityAverage()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::calculateVelocityAverage ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_base.

Definition at line 7873 of file RANS2P.h.

◆ evaluateCoefficients()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double  NONCONSERVATIVE_FORM,
const double  sigma,
const double  rho,
double  nu,
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  phi_solid,
const double  p_old,
const double  u_old,
const double  v_old,
const double  w_old,
const double  grad_p_old[nSpace],
const double  grad_u_old[nSpace],
const double  grad_v_old[nSpace],
const double  grad_w_old[nSpace],
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  LAG_LES,
double &  eddy_viscosity,
double &  eddy_viscosity_last,
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 &  dmom_u_ham_u,
double &  dmom_u_ham_v,
double &  dmom_u_ham_w,
double &  mom_v_ham,
double  dmom_v_ham_grad_p[nSpace],
double  dmom_v_ham_grad_v[nSpace],
double &  dmom_v_ham_u,
double &  dmom_v_ham_v,
double &  dmom_v_ham_w,
double &  mom_w_ham,
double  dmom_w_ham_grad_p[nSpace],
double  dmom_w_ham_grad_w[nSpace],
double &  dmom_w_ham_u,
double &  dmom_w_ham_v,
double &  dmom_w_ham_w,
double  forcex,
double  forcey,
double  forcez 
)
inline

Definition at line 335 of file RANS2P.h.

◆ evaluateTPAdvectionCoefficients()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::evaluateTPAdvectionCoefficients ( const double  eps_rho,
const double  rho_0,
const double  rho_1,
const double  useVF,
const double &  vf,
const double &  phi,
const double &  u,
const double &  v,
const double &  w,
double  dmass_adv_p[nSpace],
double  dmom_u_adv_u[nSpace],
double  dmom_v_adv_v[nSpace],
double  dmom_w_adv_w[nSpace] 
)
inline

Definition at line 8044 of file RANS2P.h.

◆ evaluateTPDensityMassCoefficients()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::evaluateTPDensityMassCoefficients ( const double  eps_rho,
const double  rho_0,
const double  rho_1,
const double  useVF,
const double &  vf,
const double &  phi,
const double &  p,
const double &  u,
const double &  v,
const double &  w,
double &  mom_p_acc,
double &  dmom_p_acc_p,
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 
)
inline

Definition at line 8134 of file RANS2P.h.

◆ evaluateTPInvDensityLaplaceCoefficients()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::evaluateTPInvDensityLaplaceCoefficients ( const double  eps_rho,
const double  rho_0,
const double  rho_1,
const double  useVF,
const double &  vf,
const double &  phi,
double  mom_p_diff_ten[nSpace],
double  mom_u_diff_ten[nSpace],
double  mom_v_diff_ten[nSpace],
double  mom_w_diff_ten[nSpace] 
)
inline

Definition at line 8173 of file RANS2P.h.

◆ evaluateTPInvViscosityMassCoefficients()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::evaluateTPInvViscosityMassCoefficients ( const int  use_numerical_viscosity,
const double  numerical_viscosity,
const double  eps_rho,
const double  eps_mu,
const double  rho_0,
double  nu_0,
const double  rho_1,
double  nu_1,
const double  useVF,
const double &  vf,
const double &  phi,
const double &  p,
const double &  u,
const double &  v,
const double &  w,
double &  mom_p_acc,
double &  dmom_p_acc_p,
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 
)
inline

Definition at line 8082 of file RANS2P.h.

◆ exteriorNumericalAdvectiveFlux()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFlux ( const double  NONCONSERVATIVE_FORM,
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_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  dham_grad[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 1516 of file RANS2P.h.

◆ exteriorNumericalAdvectiveFluxDerivatives()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFluxDerivatives ( const double  NONCONSERVATIVE_FORM,
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_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 &  dmom_u_acc_u,
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  dham_grad[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 1745 of file RANS2P.h.

◆ exteriorNumericalDiffusiveFlux()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_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 2062 of file RANS2P.h.

◆ ExteriorNumericalDiffusiveFluxJacobian()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
double proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_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 2112 of file RANS2P.h.

◆ get_cross_product()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::get_cross_product ( const double *  u,
const double *  v,
double  res[3] 
)
inline

Definition at line 836 of file RANS2P.h.

◆ get_distance_to_ball()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
int proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::get_distance_to_ball ( int  n_balls,
const double *  ball_center,
const double *  ball_radius,
const double  x,
const double  y,
const double  z,
double &  distance 
)
inline

Definition at line 783 of file RANS2P.h.

◆ get_distance_to_ith_ball()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::get_distance_to_ith_ball ( int  n_balls,
const double *  ball_center,
const double *  ball_radius,
int  I,
const double  x,
const double  y,
const double  z,
double &  distance 
)
inline

Definition at line 803 of file RANS2P.h.

◆ get_normal_to_ith_ball()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::get_normal_to_ith_ball ( int  n_balls,
const double *  ball_center,
const double *  ball_radius,
int  I,
const double  x,
const double  y,
const double  z,
double &  nx,
double &  ny,
double &  nz 
)
inline

Definition at line 813 of file RANS2P.h.

◆ get_velocity_to_ith_ball()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::get_velocity_to_ith_ball ( int  n_balls,
const double *  ball_center,
const double *  ball_radius,
const double *  ball_velocity,
const double *  ball_angular_velocity,
int  I,
const double  x,
const double  y,
const double  z,
double &  vx,
double &  vy,
double &  vz 
)
inline

Definition at line 842 of file RANS2P.h.

◆ getTwoPhaseAdvectionOperator()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::getTwoPhaseAdvectionOperator ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_base.

Definition at line 8208 of file RANS2P.h.

◆ getTwoPhaseInvScaledLaplaceOperator()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::getTwoPhaseInvScaledLaplaceOperator ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_base.

Definition at line 8371 of file RANS2P.h.

◆ getTwoPhaseScaledMassOperator()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::getTwoPhaseScaledMassOperator ( arguments_dict args)
inlinevirtual

Implements proteus::RANS2P_base.

Definition at line 8566 of file RANS2P.h.

◆ updateDarcyForchheimerTerms_Ergun()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::updateDarcyForchheimerTerms_Ergun ( const double  NONCONSERVATIVE_FORM,
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  uStar,
const double  vStar,
const double  wStar,
const double  eps_porous,
const double  phi_porous,
const double  u_porous,
const double  v_porous,
const double  w_porous,
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 1192 of file RANS2P.h.

◆ updateSolidParticleTerms()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::updateSolidParticleTerms ( int  particle_index,
const double  NONCONSERVATIVE_FORM,
bool  element_owned,
const double  particle_nitsche,
const double  dV,
const int  nParticles,
const int  sd_offset,
double *  particle_signed_distances,
double *  particle_signed_distance_normals,
double *  particle_velocities,
double *  particle_centroids,
const int  use_ball_as_particle,
const double *  ball_center,
const double *  ball_radius,
const double *  ball_velocity,
const double *  ball_angular_velocity,
const double *  ball_density,
const double  porosity,
const double  penalty,
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  x,
const double  y,
const double  z,
const double  p,
const double  u,
const double  v,
const double  w,
const double  uStar,
const double  vStar,
const double  wStar,
const double  eps_s,
const double  grad_u[nSpace],
const double  grad_v[nSpace],
const double  grad_w[nSpace],
double &  mass_source,
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  mom_u_adv[nSpace],
double  mom_v_adv[nSpace],
double  mom_w_adv[nSpace],
double  dmom_u_adv_u[nSpace],
double  dmom_v_adv_v[nSpace],
double  dmom_w_adv_w[nSpace],
double &  mom_u_ham,
double  dmom_u_ham_grad_u[nSpace],
double  dmom_u_ham_grad_v[nSpace],
double  dmom_u_ham_grad_w[nSpace],
double &  dmom_u_ham_u,
double &  dmom_u_ham_v,
double &  dmom_u_ham_w,
double &  mom_v_ham,
double  dmom_v_ham_grad_u[nSpace],
double  dmom_v_ham_grad_v[nSpace],
double  dmom_v_ham_grad_w[nSpace],
double &  dmom_v_ham_u,
double &  dmom_v_ham_v,
double &  dmom_v_ham_w,
double &  mom_w_ham,
double  dmom_w_ham_grad_u[nSpace],
double  dmom_w_ham_grad_v[nSpace],
double  dmom_w_ham_grad_w[nSpace],
double &  dmom_w_ham_u,
double &  dmom_w_ham_v,
double &  dmom_w_ham_w,
double &  mass_ham,
double &  dmass_ham_u,
double &  dmass_ham_v,
double &  dmass_ham_w,
double *  particle_netForces,
double *  particle_netMoments,
double *  particle_surfaceArea 
)
inline

Definition at line 856 of file RANS2P.h.

◆ updateTurbulenceClosure()

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
void proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::updateTurbulenceClosure ( const double  NONCONSERVATIVE_FORM,
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 &  eddy_viscosity,
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 1274 of file RANS2P.h.

Member Data Documentation

◆ ck

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
CompKernelType proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::ck

Definition at line 320 of file RANS2P.h.

◆ ck_v

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
CompKernelType_v proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::ck_v

Definition at line 321 of file RANS2P.h.

◆ cutfem_boundaries

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
std::set<int> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::cutfem_boundaries

Definition at line 313 of file RANS2P.h.

◆ cutfem_local_boundaries

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
std::map<int, int> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::cutfem_local_boundaries

Definition at line 314 of file RANS2P.h.

◆ gf

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
GeneralizedFunctions<nSpace,3,nQuadraturePoints_element,nQuadraturePoints_elementBoundary> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::gf

Definition at line 322 of file RANS2P.h.

◆ gf_p

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
GeneralizedFunctions<nSpace,3,nQuadraturePoints_element,nQuadraturePoints_elementBoundary> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::gf_p

Definition at line 323 of file RANS2P.h.

◆ gf_s

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
GeneralizedFunctions<nSpace,3,nQuadraturePoints_element,nQuadraturePoints_elementBoundary> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::gf_s

Definition at line 324 of file RANS2P.h.

◆ ifem_boundaries

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
std::set<int> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::ifem_boundaries

Definition at line 312 of file RANS2P.h.

◆ ifem_boundary_elements

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
std::set<int> proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::ifem_boundary_elements

Definition at line 312 of file RANS2P.h.

◆ nDOF_test_X_trial_element

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_trial_element

Definition at line 316 of file RANS2P.h.

◆ nDOF_test_X_v_trial_element

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_v_trial_element

Definition at line 317 of file RANS2P.h.

◆ nDOF_v_test_X_trial_element

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::nDOF_v_test_X_trial_element

Definition at line 318 of file RANS2P.h.

◆ nDOF_v_test_X_v_trial_element

template<class CompKernelType , class CompKernelType_v , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nDOF_v_trial_element, int nDOF_v_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::RANS2P< CompKernelType, CompKernelType_v, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nDOF_v_trial_element, nDOF_v_test_element, nQuadraturePoints_elementBoundary >::nDOF_v_test_X_v_trial_element

Definition at line 319 of file RANS2P.h.


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