← Back to team overview

dolfin team mailing list archive

Tensor fields

 

Hi 

 

I am a Dolfin newbie trying to solve a  steady heat conduction problem

  div(K grad u) + f = 0 

For constant scalar K the variational form (I am using the Python interface)


  K*dot(grad(v),grad(u))*dx 

works OK. 

The problem is that  I do not know how to instruct Dolfin to deal with the
case where  K=K(x)  is a (symmetric) tensor field (anisotropic heat
conduction).

 

Any help is appreciated.

--

Best regards

   Heitor Pina

 


Follow ups