Source terms associated at the boundary faces and the neighboring cells with surface condensation. More...
 Include dependency graph for cs_user_wall_condensation.c:
 Include dependency graph for cs_user_wall_condensation.c:| Functions | |
| void | cs_user_wall_condensation (int nvar, int nscal, int iappel) | 
| Source terms associated at the boundary faces and the neighboring cells with surface condensation.  More... | |
Source terms associated at the boundary faces and the neighboring cells with surface condensation.
| void cs_user_wall_condensation | ( | int | nvar, | 
| int | nscal, | ||
| int | iappel | ||
| ) | 
Source terms associated at the boundary faces and the neighboring cells with surface condensation.
This function fills the condensation source terms for each variable at the cell center associated to the boundary faces identifed in the mesh. The fluid exchange coefficient is computed with a empirical law to be imposed at the boundary face where the condensation phenomenon occurs.
This user function is called which allows the setting of  the condensation source term.
 the condensation source term.
This function fills the condensation source term array gamma_cond adding to the following equations:
![\[ D\frac{rho}{dt} + divs \left( \rho \vect{u}^n\right) = \Gamma _{cond} \]](form_594.png) 
 :
: 
![\[ D\frac{\phi}{dt} = ... + \Gamma _{cond}*(\Phi _i - \Phi) \]](form_596.png) 
discretized as below:
![\[ \rho*\dfrac{\Phi^{n+1}-\Phi^{n}}/dt = ... + \Gamma _{cond}*(\Phi _i - \Phi^{n+1}) \]](form_597.png) 
 is the value of
 is the value of  associated to the injected condensation rate.
 associated to the injected condensation rate.
With 2 options are available:
 in this case the
 in this case the  variable is not modified.
 variable is not modified. the specified value given by the user.
 the specified value given by the user.The three stages in the code where this User subroutine is called (with
)
| [in] | nvar | total number of variables | 
| [in] | nscal | total number of scalars | 
| [in] | iappel | indicates which at which stage the routine is |