How to Couple Two Modules in COMSOL?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 10K views
jig saw
Messages
2
Reaction score
0
Hi,

I want to couple two different modules of COMSOL. For example u is the solution of Module 1 and I want to give 0.95*u+a as subdomain settings parameter in module 2. Here a is a vector. I have succeeded with u and 0.95*u to use as subdomain settings parameter of module 2 but when I add a , it does not work.

Can anyone help me please?
 
Physics news on Phys.org
u is also a vector, try adding them component by component.

Which version are you running? I'll try to offer better advice once I get to my desk (don't have COMSOL on my laptop).
 
NeoDevin said:
u is also a vector, try adding them component by component.

Which version are you running? I'll try to offer better advice once I get to my desk (don't have COMSOL on my laptop).

I am using COMSOL 3.4.
Let me explain in detail,
I have saved a vector a previously. Then from current solution of module 1 is u
In the subdomain settings of module 2 I have written
a+0.95*u
As the length of each vector is same, it should add them component by component. But it does not work.