Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to refer variables in one model to another model in same .mph file
Posted 16.07.2012, 04:57 GMT-4 Parameters, Variables, & Functions Version 4.3 0 Replies
Please login with a confirmed email address before reporting spam
I am trying to solve two geometries simultaneously and interchange variables from one geometry to another through boundary conditions. I am using V4.3
Please help in understanding these.
1. Will it be possible to solve two different geometries simultaneously and couple them through BC's.
2 My file structure is like this
A.mph
- Global variables
-model1
-var1
-geometry1.
-PDE's1
-model2
-var2
-geometry2
-PDE's2
-study1
-solveall PDE's
I have tried to look at documentation to refer variables like mod1.interface.variable etc. Unfortunately I couldn't understand this terminology completely. For eg. I tried to refer cs1 in model1 to model2 as mod1.PDE1.cs1 in PDE's 2 equations. But , It didn't work.
Can someone explain how to do this?
Thanks in advance
Ganesh
Hello GaneshM
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.