This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

VectorFunctionSpace parameters

0 votes

Reading the documentation of VectorFunctionSpace

http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/functions/functionspace/VectorFunctionSpace.html

I'm confused about the "degree" parameter.
I've tried to run my simulation on Navier-Stokes-equations using "degree = 2" thereby expecting the arrows to "curve" like a 2nd degree polynomial, however I only observe regular straight arrows.

So what is the actual meaning of the "degree" parameter?
Has it something to do with accuracy?

asked Dec 7, 2015 by Fenics4ever FEniCS Novice (210 points)

1 Answer

0 votes
 
Best answer

Hi,

Yes degree is the polynomial degree of the finite element space (1 = linear, 2 = quadratic, etc...).

Visualization is a different issue. I am not sure how visualization actually works in FEniCS, but it is very common practice in many softwares to only visualize linear interpolation of the solution at the vertices of the mesh.

answered Dec 7, 2015 by umberto FEniCS User (6,440 points)
selected Dec 8, 2015 by Fenics4ever
...