Problem multiplying scalar and vector
Asked by
Chukwudi
Hi,
I'm new to fenics. I'm trying to scale a vector function by a constant value as shown below and I keeps getting errors related to the fact that I cant multiply a scalar and vector.
f = Constant(0.01)
V = VectorFunctionS
w = Function(V)
"step to solve for w"
w = f*w
This is the error message
ufl.log.
Any help on how to solve this will be appreciated
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.