pyopmspe11.utils.inputvalues module

Utiliy functions to set the requiried input values by pyopmspe11.

pyopmspe11.utils.inputvalues.check_deck(dic)

Write unsupported features to the terminal if Flow from release is used

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pyopmspe11.utils.inputvalues.handle_tuning(dic)

If tuning is enable, then we write the entries corresponding to the maximum length of the next time step after event and the solver restart factor.

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pyopmspe11.utils.inputvalues.process_input(dic, in_file)

Process the configuration file

Args:

dic (dict): Global dictionary

in_file (str): Name of the input text file

Returns:

dic (dict): Modified global dictionary

pyopmspe11.utils.inputvalues.readthefirstpart(lol, dic)

Process the lines from the flow executable and model parameters

Args:

lol (list): List of lines read from the input file

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pyopmspe11.utils.inputvalues.readthesecondpart(lol, dic)

Process the lines from the saturation functions until the end

Args:

lol (list): List of lines read from the input file

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary