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

Inheritance diagram for proteus::RANS2P2D< 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::RANS2P2D< 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

 RANS2P2D ()
 
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)
 
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)
 
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_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_u, double &dmom_v_ham_v, double &dmom_v_ham_w, double &mom_w_ham, 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_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 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_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 &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, double dmass_adv_p[nSpace], double dmom_u_adv_u[nSpace], double dmom_v_adv_v[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, 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)
 
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, 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)
 
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])
 
void getTwoPhaseAdvectionOperator (arguments_dict &args)
 
void getTwoPhaseInvScaledLaplaceOperator (arguments_dict &args)
 
void getTwoPhaseScaledMassOperator (arguments_dict &args)
 
- Public Member Functions inherited from proteus::RANS2P2D_base
virtual ~RANS2P2D_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::RANS2P2D< 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 306 of file RANS2P2D.h.

Constructor & Destructor Documentation

◆ RANS2P2D()

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::RANS2P2D< 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 >::RANS2P2D ( )
inline

Definition at line 322 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 4287 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 1677 of file RANS2P2D.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::RANS2P2D< 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 1134 of file RANS2P2D.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::RANS2P2D< 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 1108 of file RANS2P2D.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::RANS2P2D< 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 1156 of file RANS2P2D.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::RANS2P2D< 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 1175 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 6762 of file RANS2P2D.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::RANS2P2D< 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 332 of file RANS2P2D.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::RANS2P2D< 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,
double  dmass_adv_p[nSpace],
double  dmom_u_adv_u[nSpace],
double  dmom_v_adv_v[nSpace] 
)
inline

Definition at line 6927 of file RANS2P2D.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::RANS2P2D< 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,
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 
)
inline

Definition at line 7001 of file RANS2P2D.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::RANS2P2D< 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] 
)
inline

Definition at line 7034 of file RANS2P2D.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::RANS2P2D< 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,
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 
)
inline

Definition at line 6956 of file RANS2P2D.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::RANS2P2D< 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_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  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 1218 of file RANS2P2D.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::RANS2P2D< 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_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 &  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 1389 of file RANS2P2D.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::RANS2P2D< 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 1594 of file RANS2P2D.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::RANS2P2D< 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 1644 of file RANS2P2D.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::RANS2P2D< 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 620 of file RANS2P2D.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::RANS2P2D< 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 639 of file RANS2P2D.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::RANS2P2D< 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 
)
inline

Definition at line 648 of file RANS2P2D.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::RANS2P2D< 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 
)
inline

Definition at line 668 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 7062 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 7219 of file RANS2P2D.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::RANS2P2D< 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::RANS2P2D_base.

Definition at line 7404 of file RANS2P2D.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::RANS2P2D< 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 939 of file RANS2P2D.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::RANS2P2D< 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_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_u,
double &  dmom_v_ham_v,
double &  dmom_v_ham_w,
double &  mom_w_ham,
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 677 of file RANS2P2D.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::RANS2P2D< 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 1013 of file RANS2P2D.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::RANS2P2D< 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 317 of file RANS2P2D.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::RANS2P2D< 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 318 of file RANS2P2D.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::RANS2P2D< 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 310 of file RANS2P2D.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::RANS2P2D< 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 311 of file RANS2P2D.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::RANS2P2D< 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 319 of file RANS2P2D.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::RANS2P2D< 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 320 of file RANS2P2D.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::RANS2P2D< 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 321 of file RANS2P2D.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::RANS2P2D< 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 309 of file RANS2P2D.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::RANS2P2D< 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 309 of file RANS2P2D.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::RANS2P2D< 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 313 of file RANS2P2D.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::RANS2P2D< 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 314 of file RANS2P2D.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::RANS2P2D< 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 315 of file RANS2P2D.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::RANS2P2D< 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 316 of file RANS2P2D.h.


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