read_composition Subroutine

public subroutine read_composition(file, def_comp_z, scn_z, plus_z)

Reads the molar compositions of each component from input file

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: file

file name

real(kind=pr), intent(out), allocatable :: def_comp_z(:)

set of corresponding mole fractions of defined components

real(kind=pr), intent(out), allocatable :: scn_z(:)

set of corresponding mole fractions of scn cuts

real(kind=pr), intent(out) :: plus_z

composition of residual fraction from input file


Calls

proc~~read_composition~~CallsGraph proc~read_composition read_composition proc~read_setup read_setup proc~read_composition->proc~read_setup

Called by

proc~~read_composition~~CalledByGraph proc~read_composition read_composition proc~data_from_file data_from_file proc~data_from_file->proc~read_composition proc~mass_fractions mass_fractions proc~data_from_file->proc~mass_fractions proc~mass_fractions->proc~read_composition proc~characterize characterize proc~characterize->proc~data_from_file

Variables

Type Visibility Attributes Name Initial
integer, public :: def_comp_nc

number of defined components being considered in the oil

integer, public :: funit
integer, public :: numbers_ps

number of pseudos in which the scn fractions grouped

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


Namelists

Namelist nml_composition


Variables

Name Type Default Description
def_comp_z real(kind=pr) None

set of corresponding mole fractions of defined components

scn_z real(kind=pr) None

set of corresponding mole fractions of scn cuts

plus_z real(kind=pr) None

composition of residual fraction from input file