1Monte Carlo Stochastic Flow
Step 1 β Enter Synthetic Mode
Click 'Go to Synthetic Case Area' to create a blank domain.
Step 2 β Add River Boundaries
Click
to add river zones on left (prescribed head = 0 m) and right (prescribed head = -10 m) edges.
Step 3 β Assign K as a Random Field
Click
the 'Zone=DM' button to create a domain-wide zone. Assign hydraulic conductivity as a random field with the desired probability distribution parameters (mean, variance, correlation scales) β same as Tutorial 15.
Step 4 β Enable Monte Carlo Simulation
Click
to access Simulation Settings in the Domain Attributes menu, then click 'Solver Options'. Check the box next to 'Monte Carlo Simulation'. Set the number of realizations β the default is 10. Each realization generates a new random K field, solves the flow equations, updates the running statistics, and moves on. More realizations = smoother, more reliable statistics.
Step 5 β Enable MCS Display
Click to access Display Settings. Check 'MCS Display' to enable Monte Carlo visualization. Change the Main Display to 'Vectors Only' for a clear view of how mean flow vectors evolve as realizations accumulate.
Step 6 β Run the Monte Carlo Simulation
Click to submit. Watch the simulation proceed realization by realization:
Realizations 1-2: Only the current realization's flow vectors are displayed
Realization 3+: Both the current realization AND the statistical mean flow vectors appear
Each realization: The mean head and mean flow vectors update in real time β you watch the statistics converge
Step 7 β View Mean Head and Flow Vectors
After all realizations complete, the map displays the mean head field and mean flow vectors β the expected (average) outcome across all realizations. The mean field is smoother than any single realization β the random fluctuations average out, revealing the underlying regional flow pattern.
Step 8 β View Head Variance
Access Display Settings again. Under 'MCS Display', check 'Head Variance' and uncheck 'Mean Head'. Click save. The display now shows the head variance at every cell β computed from all 10 realizations. High variance = high uncertainty (the head value changes a lot between realizations). Low variance = well-constrained (the head is similar regardless of which K field is used). Variance is typically highest in the interior and lowest near fixed boundaries.
Step 9 β Add a Monitoring Well with Probability Tracking
Add a well near the right edge. In the well properties, check the box next to 'Monitoring Probability'. This tells IGW-NET to record the head value at this location for every realization β building a probability distribution of possible heads.
Step 10 β View Statistics at the Monitoring Well
Click
'Display Charts' under Analysis to view results at the well location. The chart shows the probability distribution of head β a histogram of head values across all realizations. This tells you: "At this location, head is most likely between X and Y, with a standard deviation of Z." This is the foundation of risk-based decision making.
Key Concepts
Constant-memory streaming: IGW-NET computes running mean and variance using Welford's algorithm β each realization is generated, simulated, incorporated into the running statistics, and discarded. Running 10,000 realizations uses the same memory as running 10. This is unique among groundwater modeling tools and makes large-scale Monte Carlo feasible in a browser environment.
Convergence: With few realizations, the mean is noisy and the variance estimate is unreliable. As you add more realizations, the statistics converge β the mean stabilizes and the variance estimate becomes more precise. In practice, 100-500 realizations are often sufficient for mean head; variance and tail probabilities may need more. Watch the mean display β when it stops changing visibly, you're approaching convergence.
Variance = uncertainty map: The head variance map is a spatial uncertainty map. It answers: "Where in my model is the prediction most uncertain?" Areas near fixed boundaries are well-constrained (low variance). Interior areas far from constraints have high variance β these are where you need more data, more characterization, or more conservative design assumptions.
From variance to risk: At a monitoring well with probability tracking, you get a full distribution β not just a single number. This enables risk-based decisions: "There's a 90% probability that head at this well exceeds 5 m" or "The 95th percentile drawdown is 3.2 m." Regulators and decision-makers need these probability statements, not single deterministic predictions.
2What's Next
With Monte Carlo flow mastered, continue the learning path:
Tutorial 17: MC Transport Simulation β Monte Carlo for contaminant plumes, not just heads
Tutorial 18: Probabilistic Capture Zone β capture zone uncertainty from stochastic realizations
Tutorial 19: Automatic Parameter Estimation β optimize parameters across realizations