making a nodal vector field
Asked by
Sungick Kim
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?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sungick Kim
- Solved:
- Last query:
- Last reply:
To post a message you must log in.