-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update documentation about fluid models adding missing yaml key…
…words ECALC-1231 ECALC-1232 ECALC-1233 ECALC-1234
- Loading branch information
Showing
7 changed files
with
175 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# EOS_MODEL | ||
|
||
## Description | ||
|
||
`COMPOSITION` is required to be specified under the [MODEL](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `FLUID` and the [FLUID_MODEL_TYPE](/about/references/keywords/FLUID_MODEL_TYPE.md) | ||
is `COMPOSITION`. The composition is specified by setting | ||
the mole fraction of each component. Setting the mole fraction for **methane is required**, all other components | ||
are optional and will be set to 0 if not specified. If methane is not part of your composition, simply put 0.0 for it. | ||
|
||
It is not important that the fractions sum to one as they will be normalized by eCalc. It is the relative amount of | ||
each that will be important. | ||
|
||
### Format | ||
~~~~~~~~yaml | ||
MODELS: | ||
- NAME: <name of fluid model, for reference> | ||
TYPE: FLUID | ||
FLUID_MODEL_TYPE: COMPOSITION | ||
EOS_MODEL: <eos model> | ||
COMPOSITION: | ||
water: <mole fraction> | ||
nitrogen: <mole fraction> | ||
CO2: <mole fraction> | ||
methane: <mole fraction, required> | ||
ethane: <mole fraction> | ||
propane: <mole fraction> | ||
i_butane: <mole fraction> | ||
n_butane: <mole fraction> | ||
i_pentane: <mole fraction> | ||
n_pentane: <mole fraction> | ||
n_hexane: <mole fraction> | ||
~~~~~~~~ | ||
|
||
### Example | ||
~~~~~~~~yaml | ||
MODELS: | ||
- NAME: <name of fluid model, for reference> | ||
TYPE: FLUID | ||
FLUID_MODEL_TYPE: COMPOSITION | ||
EOS_MODEL: srk | ||
COMPOSITION: | ||
water: 0.1 | ||
nitrogen: 0.74373 | ||
CO2: 2.415619 | ||
methane: 85.60145 | ||
ethane: 6.707826 | ||
propane: 2.611471 | ||
i_butane: 0.45077 | ||
n_butane: 0.691702 | ||
i_pentane: 0.210714 | ||
n_pentane: 0.197937 | ||
n_hexane: 0.368786 | ||
~~~~~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# EOS_MODEL | ||
|
||
## Description | ||
|
||
`EOS_MODEL` is required to be specified under the [MODEL](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `FLUID`. | ||
|
||
The `EOS_MODEL` can be one of the following: | ||
- SRK | ||
- PR | ||
- GERG_SRK | ||
- GERG_PR | ||
|
||
If the `EOS_MODEL` is not specified, it will be defaulted to `SRK`. | ||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: FLUID | ||
... | ||
EOS_MODEL: <SRK/PR/GERG_SRK/GERG_PR> | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: fluid_model_reference_name | ||
TYPE: FLUID | ||
FLUID_MODEL_TYPE: PREDEFINED | ||
EOS_MODEL: SRK | ||
GAS_TYPE: MEDIUM | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# FLUID_MODEL_TYPE | ||
|
||
## Description | ||
|
||
`FLUID_MODEL_TYPE` is a required to be specified under the [MODEL](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `FLUID`. | ||
|
||
The `FLUID_MODEL_TYPE` can either be set to `PREDEFINED` or to `COMPOSITION`. | ||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: FLUID | ||
... | ||
FLUID_MODEL_TYPE: <PREDEFINED or COMPOSITION> | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: fluid_model_reference_name | ||
TYPE: FLUID | ||
FLUID_MODEL_TYPE: PREDEFINED | ||
EOS_MODEL: SRK | ||
GAS_TYPE: MEDIUM | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# GAS_TYPE | ||
|
||
## Description | ||
|
||
`GAS_TYPE` is required to be specified under the [MODEL](/about/references/keywords/MODELS.md) keyword when | ||
the model is of [TYPE](/about/references/keywords/TYPE.md) `FLUID` and the [FLUID_MODEL_TYPE](/about/references/keywords/FLUID_MODEL_TYPE.md) | ||
is `PREDEFINED`. Available gas types are: | ||
|
||
- ULTRA_DRY | ||
- DRY | ||
- MEDIUM | ||
- RICH | ||
- ULTRA_RICH | ||
|
||
If no `GAS_TYPE` is specified, it will be defaulted to `MEDIUM`. | ||
|
||
|
||
## Format | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: <name of model> | ||
TYPE: FLUID | ||
... | ||
EOS_MODEL: <SRK/PR/GERG_SRK/GERG_PR> | ||
~~~~ | ||
|
||
## Example | ||
|
||
~~~~yaml | ||
MODELS: | ||
- NAME: fluid_model_reference_name | ||
TYPE: FLUID | ||
FLUID_MODEL_TYPE: PREDEFINED | ||
EOS_MODEL: SRK | ||
GAS_TYPE: MEDIUM | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters