# defining Expression as a product

Asked by
shriram

Suppose,

v0 = Expression(

p0 = Expression(

In the above expressions, the term (exp(t)-1) is a common factor in v0 while cos(pi*t) is so in p0. Is there any way to write these terms as product of 2 expressions. When I try doing that, I get an error when I define DirichletBC for V.

Thanks,

Shriram

## Question information

- Language:
- English Edit question

- Status:
- Answered

- Assignee:
- No assignee Edit question

- Last query:

- Last reply:

## Can you help with this problem?

Provide an answer of your own, or ask shriram for more information if necessary.

To post a message you must log in.