Skip to content

Commit

Permalink
Merge pull request #21 from ESSS/fb-PWPA-2216-add-prefix-for-materials
Browse files Browse the repository at this point in the history
[PWPA-2216] Add prefix for cement and formation materials;
  • Loading branch information
gabrielantao authored Nov 4, 2024
2 parents 8f6117f + a051b7c commit 733a90d
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 46 deletions.
4 changes: 4 additions & 0 deletions src/alfasim_score/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
CEMENT_NAME = "cement"
GAS_LIFT_VALVE_NAME = "GAS_LIFT_VALVE"

# prefixes used to identify the class of material for the APB plugin (ALFAsim)
CEMENT_PREFIX = "CM_"
FORMATION_PREFIX = "FC_"

ROCK_DEFAULT_ROUGHNESS = Scalar(0.1, ROUGHNESS_UNIT)
ROCK_DEFAULT_HEAT_TRANSFER_COEFFICIENT = Scalar(1000.0, HEAT_TRANSFER_COEFFICIENT_UNIT)
CASING_DEFAULT_ROUGHNESS = Scalar(0.05, ROUGHNESS_UNIT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -363,7 +363,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -373,7 +373,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Arenito
- name: FC_Arenito
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -383,7 +383,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Halita
- name: FC_Halita
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Calcario
- name: FC_Calcario
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -403,7 +403,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Coquina
- name: FC_Coquina
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1554,7 +1554,7 @@ wells:
- 76.5
unit: degC
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1761,7 +1761,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand All @@ -1784,7 +1784,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Arenito
- name: FC_Arenito
material_type: solid
density:
value: 1.0
Expand All @@ -1807,7 +1807,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Halita
- name: FC_Halita
material_type: solid
density:
value: 3.0
Expand All @@ -1830,7 +1830,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Calcario
- name: FC_Calcario
material_type: solid
density:
value: 1.0
Expand All @@ -1853,7 +1853,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Coquina
- name: FC_Coquina
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1531,7 +1531,7 @@ wells:
- 97.0
unit: degC
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1669,7 +1669,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1515,7 +1515,7 @@ wells:
- 97.0
unit: degC
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1653,7 +1653,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -363,7 +363,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -373,7 +373,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Arenito
- name: FC_Arenito
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -383,7 +383,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Halita
- name: FC_Halita
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Calcario
- name: FC_Calcario
young_modulus:
value: 30000000.0
unit: psi
Expand All @@ -403,7 +403,7 @@ plugins:
thermal_expansion_coefficient:
value: 0.0
unit: 1/K
- name: Coquina
- name: FC_Coquina
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1554,7 +1554,7 @@ wells:
- 76.5
unit: degC
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1761,7 +1761,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand All @@ -1784,7 +1784,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Arenito
- name: FC_Arenito
material_type: solid
density:
value: 1.0
Expand All @@ -1807,7 +1807,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Halita
- name: FC_Halita
material_type: solid
density:
value: 3.0
Expand All @@ -1830,7 +1830,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Calcario
- name: FC_Calcario
material_type: solid
density:
value: 1.0
Expand All @@ -1853,7 +1853,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Coquina
- name: FC_Coquina
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1515,7 +1515,7 @@ wells:
- 97.0
unit: degC
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1653,7 +1653,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ wells:
- 288.6
unit: K
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1250,7 +1250,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ plugins:
MechanicalContainer:
name: Mechanical Properties
_children_list:
- name: cement
- name: CM_cement
young_modulus:
value: 1500000.0
unit: psi
Expand Down Expand Up @@ -393,7 +393,7 @@ plugins:
thermal_expansion_coefficient:
value: 1.2e-05
unit: 1/K
- name: Folhelho
- name: FC_Folhelho
young_modulus:
value: 30000000.0
unit: psi
Expand Down Expand Up @@ -1478,7 +1478,7 @@ wells:
- 288.6
unit: K
materials:
- name: cement
- name: CM_cement
material_type: solid
density:
value: 15.7743
Expand Down Expand Up @@ -1616,7 +1616,7 @@ materials:
viscosity:
value: 0.0
unit: cP
- name: Folhelho
- name: FC_Folhelho
material_type: solid
density:
value: 1.0
Expand Down
Loading

0 comments on commit 733a90d

Please sign in to comment.