pyopmspe11.utils.writefile module
Utiliy functions to write necessary files and variables
- pyopmspe11.utils.writefile.added_pv(dic, git)
Write the added pore volume on the boundaries
- Args:
dic (dict): Global dictionary
git (str): Link to the pyopmspe11 GitHub repository
- Returns:
dic (dict): Modified global dictionary
- pyopmspe11.utils.writefile.create_corner_point_grid(dic, xcoord, zcoord)
Write the corner-point grid
- Args:
dic (dict): Global dictionary
- Returns:
None
- pyopmspe11.utils.writefile.opm_files(dic)
Write opm-related files by running mako templates
- Args:
dic (dict): Global dictionary
- Returns:
None
- pyopmspe11.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
- pyopmspe11.utils.writefile.z_c(dic, j)
Return the z position of the zcorn
- Args:
dic (dict): Global dictionary
j : Cell id along the y axis
- Returns:
z: Position