code example permeabiliteit

Show Instructions

In this code example, you'll calculate the flow rate Q based on Darcy's law:

Q = - (k * A / μ) * (dP/dL)

Follow these steps:

  1. Define the parameters:
  2. k: Permeability (m²)
  3. A: Cross-sectional area (m²)
  4. μ: Dynamic viscosity (Pa·s)
  5. dP/dL: Pressure gradient (Pa/m)

  6. Compute Q using the formula.

  7. Modify the parameters to see how the flow rate changes with permeability, area, viscosity, and pressure gradient.

Console Output


⏳ Loading…