Calculate the area fraciton of each froup on each molecule.
Calculate the area fraciton of each froup on each molecule. The values are obtained on the setup_unifac function and stored on the UNIFAC type, since the values can be reused (no compositional or temperature dependence)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | nm |
Number of molecules |
||
| integer, | intent(in) | :: | ng |
Number of groups |
||
| type(GeGCModelParameters), | intent(in) | :: | parameters |
UNIFAC parameters |
||
| type(Groups), | intent(in) | :: | stew |
All the groups present in the system |
||
| type(Groups), | intent(in) | :: | molecules(:) |
Molecules |
Group j area fraction on molecule i
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | gi | ||||
| integer, | public | :: | i | ||||
| integer, | public | :: | j | ||||
| integer, | public | :: | k | ||||
| real(kind=pr), | public | :: | qki_contribution | ||||
| real(kind=pr), | public | :: | total_area_i(nm) |