This module contains an interface for external C++ code to compute liquid mixture property like thermodynamic factor and Maxwell-Stefan Diffusivity coefficients
Dummy routine which sets thermodynamic factor matrix to diagonal matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nFields | number of fields in mixture |
||
real(kind=rk), | intent(in) | :: | temp | mixture temperature |
||
real(kind=rk), | intent(in) | :: | press | mixture pressure |
||
real(kind=rk), | intent(in) | :: | mole_frac(nFields) | mole fraction of all species of single element |
||
real(kind=rk), | intent(out) | :: | therm_factors(nFields,nFields) | thermodynamic factor matrix |
Dummy routine which sets diffusivity coeff matrix to diagonal matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nFields | number of fields in mixture |
||
real(kind=rk), | intent(in) | :: | temp | mixture temperature |
||
real(kind=rk), | intent(in) | :: | press | mixture pressure |
||
real(kind=rk), | intent(in) | :: | mole_dens(nFields) | mole density of all species of single element |
||
real(kind=rk), | intent(out) | :: | D_ij_out(nFields,nFields) | thermodynamic factor matrix |
Dummy function to init_enrtl
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(kind=c_char), | dimension(*) | :: | filename | |||
integer, | intent(out) | :: | nFields | Number of fields defined in the property file |
Result, indicating the status of encode
Dummy routine which sets thermodynamic factor matrix to diagonal matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nFields | number of fields in mixture |
||
real(kind=rk), | intent(in) | :: | temp | mixture temperature |
||
real(kind=rk), | intent(in) | :: | press | mixture pressure |
||
real(kind=rk), | intent(in) | :: | mole_frac(nFields) | mole fraction of all species of single element |
||
real(kind=rk), | intent(out) | :: | therm_factors(nFields,nFields) | thermodynamic factor matrix |
Dummy routine which sets diffusivity coeff matrix to diagonal matrix
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nFields | number of fields in mixture |
||
real(kind=rk), | intent(in) | :: | temp | mixture temperature |
||
real(kind=rk), | intent(in) | :: | press | mixture pressure |
||
real(kind=rk), | intent(in) | :: | mole_dens(nFields) | mole density of all species of single element |
||
real(kind=rk), | intent(out) | :: | D_ij_out(nFields,nFields) | thermodynamic factor matrix |