pyopmnearwell.utils.inputvalues module
Utiliy functions to set the requiried input values by pynearwell.
- pyopmnearwell.utils.inputvalues.process_input(dic, in_file)
Function to process the input file
- Args:
dic (dict): Global dictionary with required parameters in_file (str): Name of the input text file
- Returns:
dic (dict): Global dictionary with new added parameters
- pyopmnearwell.utils.inputvalues.readco2eorfoam(lol, dic)
Read the additional parameters for the co2eor/foam
- pyopmnearwell.utils.inputvalues.readhysteresis(lol, dic)
Read the parameters for the hysteresis
- pyopmnearwell.utils.inputvalues.readsalt(lol, dic)
Read the parameters for the salt precipitation simulations
- pyopmnearwell.utils.inputvalues.readthefirstpart(lol, dic)
Function to process the first lines from the configuration file
- Args:
lol (list): List of lines read from the input file dic (dict): Global dictionary with required parameters
- Returns:
dic (dict): Global dictionary with new added parameters inc (int): Number of line in the input file
- pyopmnearwell.utils.inputvalues.readthesecondpart(lol, dic, index)
Function to process the remaining lines in the configuration file
- Args:
lol (list): List of lines read from the input file dic (dict): Global dictionary with required parameters inc (int): Number of line in the input file
- Returns:
dic (dict): Global dictionary with new added parameters