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.ParametricObjectProblem 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
DomainDescriptionof the domain the problem is posed on.rhs – The
Functionf.rhs.dim_domainhas to agree with the dimension ofdomain, whereasrhs.shape_rangehas to be(dim domain,).viscosity – The
ParameterFunctionalrepresenting the viscosity coefficient mu.dirichlet_data –
Functionproviding the Dirichlet boundary values.dirichlet_data.shape_rangehas to be(dim domain,).parameter_ranges – Ranges of interest for the
Parameterof the problem.name – Name of the problem.