expreccs.utils.writefile module

Utiliy functions for necessary files and variables to run OPM Flow.

expreccs.utils.writefile.set_gridmako(dic, f_xy)

Set the mainfold function in the grid for the reservoir z profile

Args:

dic (dict): Global dictionary

f_xy: The function for the reservoir surface

Returns:

dic (dict): Modified global dictionary

expreccs.utils.writefile.write_files(dic, reservoir)

Function to write opm-related reference files by running mako templates

Args:

dic (dict): Global dictionary

reservoir (str): Name of the geological model

Returns:

None

expreccs.utils.writefile.write_folders(dic)

Function to make the output folders

Args:

dic (dict): Global dictionary

Returns:

None

expreccs.utils.writefile.write_properties(dic)

Write some numpy files used in the plotting routine

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary