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.
Equation editing in Structural physics in Comsol 4.0
Posted May 8, 2010, 2:08 p.m. EDT RF & Microwave Engineering, Modeling Tools & Definitions, Parameters, Variables, & Functions Version 4.2, Version 4.4 14 Replies
Please login with a confirmed email address before reporting spam
I was exploring comsol 4.0. I found that the GUI is good but some functionalities in 3.5a are removed.
I wanted to edit the Structural physics equation system to suit my PDE. In comsol 3.5a, I could do it by going to Physics menu>Equation system. In comsol 4.0, I couldn;t find the option. Does anyone know how to do it?
One more question, how to use the unitless system in comsol 4.0?
Thanks in advance,
Rakesh
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I have already enabled this option, but unable to find the underlying equation setting (in general/coefficient form) in structural physics.
Pls let me know, where to find these equation settings.
Thanks,
Rakesh
Please login with a confirmed email address before reporting spam
It was hiding below the material model.
thanks,
Rakesh
Please login with a confirmed email address before reporting spam
Enable this option: cl.ly/101N
Hi,
The link above is missing at this time.
I have an electromagnetic simulation where I would like to change the wave equation in a domain (I'd like to add a source term) and have COMSOL work with that.
In the attached image you can see the Model Builder tree with the Wave Equation item selected. To the right there's the equation. I'd like to change it so instead of the equality to zero, it would be equal to something else.
I found the "Equation View" item (also shown in the image), however, I couldn't find a textbox with the wave equation. I started reading about "weak from" but I'm not sure it's what I'm looking for.
I'd appreciate some direction.
Thanks
Attachments:
Please login with a confirmed email address before reporting spam
Enable equation view using the icon right to the the model builder tab.
Pls find the attached image for more details.
I hope this answer your question. If you still do not resolve the problem,
share your file.
Rakesh
Attachments:
Please login with a confirmed email address before reporting spam
Thank you for the quick reply. I found what you were talking about, however, I do not understand where (or even IF) I can modify the equation.
I'll rephrase: in the attached image the equation is marked in green, to the right. I would like to add an arbitrary source term to it, as depicted. To my understanding, I should click "Equation View" (marked in cyan to the left) and modify something there, but, I do not know what. Nothing seems similar to an equation, nor to an intuitive "curl(curl(E)) - ... = 0" definition.
I've been looking in the COMSOL documentation, but it's so vast I can't sort through it..
Any help is appreciated.
Attachments:
Please login with a confirmed email address before reporting spam
I don't have emf physics license.
Please generate the complete report of the comsol model and share.
-Rakesh
Please login with a confirmed email address before reporting spam
Attached is the complete report. The equation I'm looking to modify is in the image in my recent post, as explained there. The material dispersion function "nektp()" is currently irrelevant, so pay no attention to it.
Eventually, the model should simulate second-harmonic generation in a nonlinear crystal. The basic idea is to have two, coupled wave equations in the given domain, one for the fundamental (frequency omega) and one for the second harmonic (2*omega). Therefore, I would create two "Electromagnetic Waves" physics, and add source terms (polarization source) to each of the wave equations, coupling them to one another.
As stated previously, I am unsure if it is possible to modify the wave equation at all. I read about "weak form" but still can't find something familiar in the whole list of expressions (see report). I could rewrite the whole EMW model with the Mathematics/Helmholtz model, but that seems silly.
Thank you for your assistance.
Attachments:
Please login with a confirmed email address before reporting spam
Hi,
Thank you for the quick reply. I found what you were talking about, however, I do not understand where (or even IF) I can modify the equation.
I'll rephrase: in the attached image the equation is marked in green, to the right. I would like to add an arbitrary source term to it, as depicted. To my understanding, I should click "Equation View" (marked in cyan to the left) and modify something there, but, I do not know what. Nothing seems similar to an equation, nor to an intuitive "curl(curl(E)) - ... = 0" definition.
I've been looking in the COMSOL documentation, but it's so vast I can't sort through it..
Any help is appreciated.
The vector equation must be divided into components to be able to implement in COMSOL. So what you see in the equation system contains partial derivatives rather than vectorial operators. It is not difficult to identify the components of Maxwell's equations correspondingly.
Cheers!
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
How can I edit the the equation as it was in v3.5?
it was available in v3.5 through (physics>equation system>...)
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
You can define a global equation and frame the equation by yourself and using this equation ,you can solve the model. The global equation can be defined under Physics tab-Global equations
Hope this helps!
Cheers
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
- BLOG Performing a Multiphysics Analysis of a Thermal Microactuator
- KNOWLEDGE BASE Error: Failed to Find a Solution. Returned Solution is Not Converged
- FORUM Plotting variables which are not defined as dependent variables but are used in the physics equation
- FORUM Coupling Physics
- KNOWLEDGE BASE What to do when a linear stationary model is not solving