pofff.utils.writefile module
Utiliy functions to write files and variables
- pofff.utils.writefile.compact_format(values)
Use the ‘n*x’ notation to write repited values to save storage
- Args:
values (list): List with the variable values
- Returns:
values (list): List with the compacted variable values
- pofff.utils.writefile.create_corner_point_grid(dic, xcoord, zcoord)
Write the corner-point grid
- Args:
dic (dict): Global dictionary
- Returns:
None
- pofff.utils.writefile.opm_files(dic)
Write opm-related files by running mako templates
- Args:
dic (dict): Global dictionary
- Returns:
None
- pofff.utils.writefile.write_keywords(dic)
Write some of the used keywords and values for OPM Flow
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary