# Problem with 3D nedelec element

**URL:** <https://fenicsproject.discourse.group/t/problem-with-3d-nedelec-element/5423>\
**Category:** Uncategorized\
**Created:** [March 26, 2021, 4:56pm UTC](https://fenicsproject.discourse.group/t/problem-with-3d-nedelec-element/5423 "2021-03-26T16:56:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gangadhara](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@gangadhara](https://fenicsproject.discourse.group/u/gangadhara)\
**Post date:** [March 26, 2021, 4:56pm UTC](https://fenicsproject.discourse.group/t/problem-with-3d-nedelec-element/5423/1 "2021-03-26T16:56:40Z")

</div>

Dear sir

i am not able to multiply test function from nedelec space and known function of 3 dimensional.

```auto

import dolfin
from dolfin import*

import matplotlib.pyplot as plt

mesh = UnitCubeMesh(10, 10, 10)

V=FunctionSpace(mesh, "Nedelec 1st kind H(curl)", 1)

u=TrialFunction(V)
v=TestFunction(V)

f=Expression(("x[0]", "x[1]", "x[2]"), degree=1)
a=f*v*dx

```

---

<div class="post-metadata">

**Author:** ![nate](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/nate/32/17_2.png) [@nate](https://fenicsproject.discourse.group/u/nate)\
**Post date:** [March 26, 2021, 5:15pm UTC](https://fenicsproject.discourse.group/t/problem-with-3d-nedelec-element/5423/2 "2021-03-26T17:15:28Z")

</div>

`f` and `v` are vector quantities. Employ, for example, `dot(f,v)*dx`.
