To achieve a uniform pressure distribution (plateau) across the fracture in PyFrac for your laboratory-scale experiment, here's a strategic approach:
Initial Fracture Configuration
Since you want uniform pressure from the start (matching the pre-prepared well condition), initialize with:
- Pre-existing fracture radius: Start with an initial fracture radius larger than the wellbore (e.g., 10-15 mm) rather than initiating from the wellbore itself
- Uniform initial width: Set constant aperture across all cells using
w_init = constant_value in the initialization
Pressure Initialization Strategy
For uniform pressure across all cells:
# In your initialization
P_init = P_wellbore * np.ones(mesh.NumberOfElts) # All cells same pressure
Key Considerations for Low Viscosity (1e-3 Pa·s)
With such low viscosity, pressure gradients equilibrate rapidly. To maintain plateau pressure:
- Use small time steps: This ensures numerical stability and captures the fast pressure equilibration
- Adjust leak-off: Set very low or zero leak-off coefficient to prevent pressure drops
- Match injection rate carefully: Your exponential pumping profile should compensate exactly for:
- Fracture volume growth
- Any leak-off losses
Matching Experimental Pressure
Since your experiment measures single pressure value (at wellbore):
# Extract wellbore pressure from simulation
P_wellbore_simulated = Fr.p[mesh.CenterCoor == 0] # Cell at r=0
# For validation
assert np.allclose(Fr.p, P_wellbore_simulated, rtol=1e-2) # Check uniformity
Recommended Initialization Approach
# Initial conditions for plateau pressure
simulProp.initSolidFrom = 'K1c'
simulProp.K1c_init = calculated_value # Based on your target pressure
simulProp.a_init = 0.015 # Initial radius (15mm example)
simulProp.C_init = 0.0 # Zero or very low leak-off
The key insight is that with your exponential pumping profile and pre-existing well conditions, you're essentially simulating the continuation of an already-established fracture rather than fracture initiation. This justifies starting with a non-zero fracture radius and uniform pressure distribution.