dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19871
Re: [Question #128351]: making a vector fields withprevious solution
Question #128351 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/128351
Status: Answered => Open
Sungick Kim is still having a problem:
Thank you very much for your replies, Anders and Johan.
Q = FunctionSpace(mesh, "DG", 1)
u1 = Function(Q)
u = u1('-')
velocity = Expression(('u','0','0'))
As you can see above, 'u' is not a scalar but a scalar field. In this
case, how can I create an expression for the velocity vector? I intend
to use 'grad(velocity)' for later formulation.
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups
References