pycopm.utils.generate_files module
Create modified (coarser, finner, submodels, transformations) OPM files.
- pycopm.utils.generate_files.create_deck(dic)
Main scrip to call the diffeent methods to generate the opm files
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary
- pycopm.utils.generate_files.handle_nnc_trans(dic)
Map the trans from the non-neighbouring connections
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary
- pycopm.utils.generate_files.initialize_variables(dic)
Use resdata or opm to read the dry run
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary
- pycopm.utils.generate_files.write_grid(dic)
Write the corner-point grid
- Args:
dic (dict): Global dictionary
- Returns:
None
- pycopm.utils.generate_files.write_props(dic)
Write the modified properties
- Args:
dic (dict): Global dictionary
- Returns:
None