porepy.models.slightly_compressible_flow_model module

This module contains a simple extension of the incompressible flow by including a time derivative of the pressure and constant compressibility.

class SlightlyCompressibleFlow(params=None)[source]

Bases: IncompressibleFlow

This class extends the Incompressible flow model by including a cumulative term expressed through pressure and a constant compressibility coefficient. For a full documentation refer to the parent class.

The simulation starts at time t=0.

Overridden methods include:
  1. _set_parameters: compressibility added

  2. _assign_discretizations: Upgrade incompressible flow equations

    to slightly compressible

New methods:
  1. _compressibility: constant compressibility per cell

Parameters

params (Optional[Dict]) –

time_manager

Time-stepping control manager.

after_simulation()[source]