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.

Multiple physics with same dependent variable

Please login with a confirmed email address before reporting spam

I am working on a model with multiple physics, Electrostatics and Poisson's Equation and the dependent variable in both physics is Electric Potential. How do I set both the dependent variables using the same variable name V?

Pls see attached model


10 Replies Last Post 17 janv. 2013, 20:01 UTC−5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 14:56 UTC−5
Hi

normally COMSOl will propose different variable names and solve for all (V V2 V3 ...) it's then up to you to define the common boundaries where you want to define continuity between the different "V"s

The best is to avoid similar variable multiplication and combine different physics subnodes for the different domains (when possible)

--
Good luck
Ivar
Hi normally COMSOl will propose different variable names and solve for all (V V2 V3 ...) it's then up to you to define the common boundaries where you want to define continuity between the different "V"s The best is to avoid similar variable multiplication and combine different physics subnodes for the different domains (when possible) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 15:09 UTC−5
Thanks Ivar for your reply. In this model I wish to apply an electric shock (Voltage) at electrodes using the electrostatic model and observe the distribution of charge/field/potential/current density as a result of this applied voltage in the domain using the Poisson's model. How do I do this? Currently, with different variable names for Voltage in the 2 models, I dont see any response in the Poisson's model and that's when I realized that the reason could be due to different names for the voltages using the 2 models.

Thanks a lot for your help.
Deepika
Thanks Ivar for your reply. In this model I wish to apply an electric shock (Voltage) at electrodes using the electrostatic model and observe the distribution of charge/field/potential/current density as a result of this applied voltage in the domain using the Poisson's model. How do I do this? Currently, with different variable names for Voltage in the 2 models, I dont see any response in the Poisson's model and that's when I realized that the reason could be due to different names for the voltages using the 2 models. Thanks a lot for your help. Deepika

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 15:40 UTC−5
Hi

But ES is "static" you would need EC to get any current flow. Then you need to check that all your physics accept the same solvers (not all phyiscs are set upfor all time, frequency domain, ... solver cases)

If you cn fully segregate, its possible to solve for some physics, then use the results as initial and continuous values for the next study

--
Good luck
Ivar
Hi But ES is "static" you would need EC to get any current flow. Then you need to check that all your physics accept the same solvers (not all phyiscs are set upfor all time, frequency domain, ... solver cases) If you cn fully segregate, its possible to solve for some physics, then use the results as initial and continuous values for the next study -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 16:08 UTC−5
Thanks Ivar.

That makes sense to use ec and not es. The intention of this model is only to obtain a static distribution of field/potential/current density in the Poisson's model as a result of the applied voltage in the ec model. Now how do I use the results of the ec model as initial conditions for the Poisson's model?

Attached is the model with ec and Poisson's equation. I wish to see an output for u (dependent variable - Poisson's) as a result of the the applied voltage of + and - 100 V at the electrodes.

Thanks for your help.
Deepika
Thanks Ivar. That makes sense to use ec and not es. The intention of this model is only to obtain a static distribution of field/potential/current density in the Poisson's model as a result of the applied voltage in the ec model. Now how do I use the results of the ec model as initial conditions for the Poisson's model? Attached is the model with ec and Poisson's equation. I wish to see an output for u (dependent variable - Poisson's) as a result of the the applied voltage of + and - 100 V at the electrodes. Thanks for your help. Deepika


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 16:45 UTC−5
Do you really need multiple physics here? Electrostatics essentially solved the same Poisson's equation (when source term is non zero) or Laplace equation with zero source term. I think you will need only one physics either EC or ES.

Good luck.
Do you really need multiple physics here? Electrostatics essentially solved the same Poisson's equation (when source term is non zero) or Laplace equation with zero source term. I think you will need only one physics either EC or ES. Good luck.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 janv. 2013, 20:18 UTC−5
Thanks Mranal...
Thanks Mranal...

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 11:35 UTC−5
Mranal/Ivar/Comsol community,

I understand that the es and ec models are basically use Poisson's/Laplace's equations. But what I dont understand is that with the same material properties and same geometry. I get different results for es and ec models. I am missing something.

I sincerely appreciate any help.

Attached are my ec and es models.

Thanks
Deepika
Mranal/Ivar/Comsol community, I understand that the es and ec models are basically use Poisson's/Laplace's equations. But what I dont understand is that with the same material properties and same geometry. I get different results for es and ec models. I am missing something. I sincerely appreciate any help. Attached are my ec and es models. Thanks Deepika


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 13:19 UTC−5
The different results are due to different equations in these modules (ES to be used in dielectric media and EC to be used in conducting media). Please refer to AC/DC module user guide page 151 (theory of electric field) which talks about choosing between these two interfaces based on external and charge relaxation time scales. The documentation is very well written, it should clear your doubts.

Good Luck.
The different results are due to different equations in these modules (ES to be used in dielectric media and EC to be used in conducting media). Please refer to AC/DC module user guide page 151 (theory of electric field) which talks about choosing between these two interfaces based on external and charge relaxation time scales. The documentation is very well written, it should clear your doubts. Good Luck.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 13:53 UTC−5
Thanks Mranal.
Thanks Mranal.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 20:01 UTC−5
Mranal,

I sincerely appreciate your help. What I fail to understand is with the ec model I get a voltage distribution between -100 and -100V which does not make sense. Whereas with the es model I get a voltage distribution between +100 and -100V which is the applied voltage at the 2 electrodes.

I did read through the documentation and I agree that it is well explained and ec seems to be the route.

But do you have any idea why I get such a result and what could it mean?

Thanks
Deepika
Mranal, I sincerely appreciate your help. What I fail to understand is with the ec model I get a voltage distribution between -100 and -100V which does not make sense. Whereas with the es model I get a voltage distribution between +100 and -100V which is the applied voltage at the 2 electrodes. I did read through the documentation and I agree that it is well explained and ec seems to be the route. But do you have any idea why I get such a result and what could it mean? Thanks Deepika

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.