|
subroutine | compositional_terms::calculate_componentabsorptionterm (packed_state, icomp, cv_ndgln, Mdims, denold, volfra_pore, mass_ele, comp_absorb) |
| Calculate compositional model linkage between the phase expressed in COMP_ABSORB. Use values from the previous time step so its easier to converge. alpha_beta is the scaling coeff. of the compositional model e.g. =1.0. More...
|
|
subroutine | compositional_terms::calculate_componentdiffusionterm (packed_state, Mdims, CV_GIdims, CV_funs, mat_ndgln, u_ndgln, x_ndgln, ncomp_diff_coef, comp_diffusion_opt, comp_diff_coef, comp_diffusion) |
| Calculate the diffusion coefficient COMP_DIFFUSION for current composition... based on page 136 in Reservoir-Simulation-Mathematical-Techniques-In-Oil-Recovery-(2007).pdf COMP_DIFFUSION_OPT, integer option defining diffusion coeff NCOMP_DIFF_COEF, integer defining how many coeff's are needed to define the diffusion COMP_DIFF_COEF( Mdimsncomp, NCOMP_DIFF_COEF, Mdimsnphase ) More...
|
|
subroutine | compositional_terms::proj_u2mat (COMP_DIFFUSION_OPT, Mdims, CV_GIdims, CV_funs, COMP_DIFFUSION, NCOMP_DIFF_COEF, COMP_DIFF_COEF, X_ALL, NU, NV, NW, MAT_NDGLN, U_NDGLN, X_NDGLN, MAT_U) |
| Determine MAT_U from NU,NV,NW which are variables mapped to material mesh. More...
|
|
subroutine | compositional_terms::calc_comp_dif_ten (NDIM, UD, DIFF_molecular, DIFF_longitudinal, DIFF_transverse, DIFF_TEN) |
| Calculate the diffusion coefficient COMP_DIFFUSION for current composition... based on page 136 in Reservoir-Simulation-Mathematical-Techniques-In-Oil-Recovery-(2007).pdf. More...
|
|
subroutine | compositional_terms::calc_kcomp2 (cv_nonods, nphase, icomp, KComp_Sigmoid, Satura, K_Comp, max_k, min_k, K_Comp2) |
| Method to flash components. More...
|
|
real function | compositional_terms::sigmoid_function (Y, Y0, Width, LowMag, UpMag) |
| Width: width of the sigmoid function. The sigmoid function, varies between ( LowMag, UpMag ). Y is the variable of the function and Y0 is the centre of the function. More...
|
|
real function | compositional_terms::exprep (M) |
|
subroutine | compositional_terms::cal_comp_sum2one_sou (packed_state, Mdims) |
| make sure the composition sums to 1.0 More...
|
|