extract_eclipse_problem_cells
Extract convergence problem cells from ECLIPSE/Intersect PRT files to identify simulation failures, material balance errors, and problematic grid regions for debugging reservoir models.
Instructions
Extract convergence problem cells from ECLIPSE/Intersect PRT file.
SIMULATION DIAGNOSTICS TOOL - Parse ECLIPSE/Intersect PRT output files to extract cells with convergence failures, material balance errors, or other simulation problems.
What It Does:
Scans ECLIPSE .PRT files for error/warning messages
Identifies problem cells by (I, J, K) grid coordinates
Extracts timestep and iteration information
Reports error types and severity
Applications:
Convergence Debugging: Find cells causing timestep cuts
Model QC: Identify grid initialization issues
Performance Tuning: Locate problematic regions
Numerical Stability: Track material balance errors
Common Problems Detected:
Material balance errors
Negative saturations
Pressure/temperature out of range
Flash calculation failures
Linear solver issues
Severe saturation changes
Workflow:
Run ECLIPSE/Intersect simulation
Locate the .PRT output file
Use this tool to extract problem cell locations
Investigate problematic cells in pre-processor
Refine initialization or grid properties
Output Format: List of problem cells with timestep, iteration, cell coordinates (I,J,K), error type, and severity.
Args: request: Path to PRT file and output options
Returns: Dictionary with list of problem cells and summary statistics
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |