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.
Electric Field dependant Equation entry in COMSOL 5.2
Posted 07.07.2016, 16:07 GMT-4 Low-Frequency Electromagnetics, RF & Microwave Engineering, Battery Design, Materials, Mesh, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 5.1 9 Replies
Please login with a confirmed email address before reporting spam
I want to know how I can make realize the variable Ey in COMSOL.
Please login with a confirmed email address before reporting spam
--
Pu, ZHANG
DTU Fotonik
Please login with a confirmed email address before reporting spam
-RA
Please login with a confirmed email address before reporting spam
Besides using the Equation View button, another approach consists in using the postprocessing tools, see for instance www.comsol.com/community/forums/general/thread/114702 .
Another neat approach is now available in version 5.2a. We've added (or, to be more accurate I should say, we've greatly expanded) autocomplete. So, let's say you want to set the conductivity to "1+the y component of the electric field computed by the ec physics interface" but you don't know the syntax for the y component of the electric field computed by the ec physics interface. In the text field where you specify the conductivity, you can start typing "1+ec." then go Ctrl+Space, and the GUI will tell you all the possible completions (and their explanations), one of which is ec.Ey . See screenshot attached.
This is one of my favorite new features at version 5.2a .
Best,
Jeff
Attachments:
Please login with a confirmed email address before reporting spam
Thank you very much for your informative reply. I am trying to do exactly what you just said ! I am trying to vary the material conductivity with electric field component in y direction. Moreover, my conductivity here is an-isotropic in nature. So, in this case I would like to vary conductivity in x direction with electric field component in y direction.
However, I am using Electromagnetics Waves module, COMSOL 5.1 and I want to know whether you have the same facility in this version as well. I used emw.Ey to define E-field in y direction but still showing me an error.
Would you help me to define conductivity in x direction (anisotropic) as a function of Electric field in y direction for COMSOL 5.1? I have looking for these for hours and I am sure that I am missing something.
Thanks,
RA
Please login with a confirmed email address before reporting spam
The autocomplete feature is new (or, again, to be more accurate, greatly expanded) at version 5.2a.
The other techniques discussed above should work at 5.1.
Best,
Jeff
Please login with a confirmed email address before reporting spam
-RA
Please login with a confirmed email address before reporting spam
I have tried vary the conductivity in x direction with 1+electric field in y direction, in COMSOL 5.1. I am not sure whether the physics is working or not. Would you please let me know how to do this in COMSOL 5.1 version. Please provide a screenshot of the conductivity tensor in this case for better understanding.
I have attached a screenshot to show I did it in COMSOL 5.1 version. Not sure though about the physics inside working or not.
Thanks,
RA
Please login with a confirmed email address before reporting spam
I am not an expert in EM. If your license is under a subscription contract, I invite you to contact COMSOL technical support at support@comsol.com .
Best regards,
Jeff
Please login with a confirmed email address before reporting spam
-RA
Attachments:
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.
Suggested Content
- KNOWLEDGE BASE Manually Setting the Scaling of Variables
- KNOWLEDGE BASE What to do when a linear stationary model is not solving
- FORUM deleted your duplicate entry
- BLOG New Release: COMSOL Multiphysics® Version 5.2
-
KNOWLEDGE BASE
How can I see the equations COMSOL is defining?
How do I implement a user-defined Multiphysics coupling?