# Diff of /trunk/doc/user/Models.tex

revision 2792 by gross, Wed Oct 14 06:38:03 2009 UTC revision 2793 by gross, Tue Dec 1 06:10:10 2009 UTC
# Line 381  on the domain \var{domain}. Line 381  on the domain \var{domain}.
381  \var{numMaterials} specifies the number of materials used in the power law  \var{numMaterials} specifies the number of materials used in the power law
382  model. Some progress information are printed if \var{verbose} is set to  model. Some progress information are printed if \var{verbose} is set to
383  \True. If \var{adaptSubTolerance} is equal to True the tolerances for subproblems are set automatically.  \True. If \var{adaptSubTolerance} is equal to True the tolerances for subproblems are set automatically.
384
385    The domain
386    needs to support LBB compliant elements for the Stokes problem, see~\cite{LBB} for detials~\index{LBB condition}.
387    For instance one can use second order polynomials for velocity and
388    first order polynomials for the pressure on the same element. Alternativly, one can use
389    macro elements\index{macro elements} using linear polynomial for both pressure and velocity bu with a subdivided
390    element for the velocity. Typically, the macro element is more cost effective. The fact that pressure and velocity are represented in different way is expressed by
391    \begin{python}
392    velocity=Vector(0.0, Solution(mesh))
393    pressure=Scalar(0.0, ReducedSolution(mesh))
394    \end{python}
395  \end{classdesc}  \end{classdesc}
396
397  \begin{methoddesc}[IncompressibleIsotropicFlowCartesian]{getDomain}{}  \begin{methoddesc}[IncompressibleIsotropicFlowCartesian]{getDomain}{}

Legend:
 Removed from v.2792 changed lines Added in v.2793