← Back to team overview

dolfin team mailing list archive

[Question #128351]: making a vector fields with previous solution

 

New question #128351 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/128351

Let  'u' be a scalar nodal value.
Now I want to construct a nodal vector field as below.

velocity = Expression(('u', '0.0', '0.0'))

There comes no error related this.
However, it seems that velocity = (0,0,0) all throughout domain.
Can anyone help me to know the right way to do this?

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.