This routine obtains the mass fractions of the fluid’s compounds from the input file, additionally, it calculates the product
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | file |
file name |
||
real(kind=pr), | intent(out), | allocatable | :: | w(:) |
mass fractions of the fluid’s compounds |
|
real(kind=pr), | intent(out), | allocatable | :: | product_z_mw_def_comp(:) |
product between composition and molecular weight of defind components |
|
real(kind=pr), | intent(out), | allocatable | :: | product_z_mw_scn(:) |
product between composition and molecular weight of scn fractions |
|
real(kind=pr), | intent(out) | :: | sum_z_mw_i |
sum of the product between composition and molecular weight of the fluid’s compounds |
||
real(kind=pr), | intent(out) | :: | product_z_mw_plus |
product between composition and molecular weight of residual fraction |
||
real(kind=pr), | intent(out), | allocatable | :: | def_comp_w(:) | ||
real(kind=pr), | intent(out), | allocatable | :: | scn_w(:) | ||
real(kind=pr), | intent(out) | :: | plus_w |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public, | allocatable | :: | def_comp_mw(:) |
set of corresponding molecular weights of defined components |
||
integer, | public | :: | def_comp_nc |
number of defined components being considered in the oil |
|||
real(kind=pr), | public, | allocatable | :: | def_comp_z(:) |
set of corresponding mole fractions of defined components |
||
integer, | public | :: | funit | ||||
integer, | public | :: | numbers_ps |
number of pseudos in which the scn fractions grouped |
|||
real(kind=pr), | public | :: | plus_mw |
molecular weight of residual fraction |
|||
real(kind=pr), | public | :: | plus_z |
composition of residual fraction |
|||
real(kind=pr), | public, | allocatable | :: | product_z_mw_i(:) | |||
real(kind=pr), | public, | allocatable | :: | scn_mw(:) |
set of corresponding molecular weights of scn cuts |
||
integer, | public | :: | scn_nc |
number of single cuts being considered in the oil |
|||
integer, | public | :: | scn_nc_ps |
CN from which all SCN fractions will be lumped into the specified number of pseudos |
|||
real(kind=pr), | public, | allocatable | :: | scn_z(:) |
set of corresponding mole fractions of scn cuts |