pymor.analyticalproblems.stokes

Module Contents

class pymor.analyticalproblems.stokes.StokesProblem(domain, viscosity, rhs=None, dirichlet_data=None, parameter_ranges=None, name=None)[source]

Bases: pymor.parameters.base.ParametricObject

Problem discretization of a Stokes equation.

The problem consists in solving

\[\begin{split}- \\mu \\Delta u(x, \\mu) + \nabla p(x, \\mu) & = f(x) \text{ in } \\Omega \\ \nabla \\cdot u(x, \\mu) & = 0 \text{ in } \\Omega\end{split}\]

for u and p.

Parameters:
  • domain – A DomainDescription of the domain the problem is posed on.

  • rhs – The Function f. rhs.dim_domain has to agree with the dimension of domain, whereas rhs.shape_range has to be (dim domain,).

  • viscosity – The ParameterFunctional representing the viscosity coefficient mu.

  • dirichlet_dataFunction providing the Dirichlet boundary values. dirichlet_data.shape_range has to be (dim domain,).

  • parameter_ranges – Ranges of interest for the Parameter of the problem.

  • name – Name of the problem.

domain[source]
rhs[source]
dirichlet_data[source]
viscosity[source]
parameter_ranges[source]
name[source]