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.

Functional of Energy calculation

Please login with a confirmed email address before reporting spam

Sorry for my simple question, because I'm a new in COMSOL. I would like to get a sequence of meshes for some elliptic boundary problem, say, for the Poisson problem with Diriechlet conditions, and a sequence of functionals of energy for each mesh. I'm interested in investigation of increasing of the values of functional under refining mesh.

4 Replies Last Post 2011年11月23日 GMT-5 03:37
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 2011年11月23日 GMT-5 02:38
Hi

you can use a parameter for the mesh density, in most fields in the GUI you can use variables, not only constants

--
Good luck
Ivar
Hi you can use a parameter for the mesh density, in most fields in the GUI you can use variables, not only constants -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月23日 GMT-5 02:48
Thank you, Ivar. I understand the way of using parametric meshes, but I wonder, if the calculation of the functional of energy is an embedded function of COMSOL or it should be entered by some programming?
Thank you, Ivar. I understand the way of using parametric meshes, but I wonder, if the calculation of the functional of energy is an embedded function of COMSOL or it should be entered by some programming?

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 2011年11月23日 GMT-5 03:12
Hi

I believe, if you work in pure "math" PDE mode that you must write out your equations yourself, by integrating over your domain but why should that be an issue ?

In most "physics" pre-cooked situations, you have numerous internal variables you might choose from, or make your own, as needed

But now I'm not 100% sure I fully understand what you are after ...

--
Good luck
Ivar
Hi I believe, if you work in pure "math" PDE mode that you must write out your equations yourself, by integrating over your domain but why should that be an issue ? In most "physics" pre-cooked situations, you have numerous internal variables you might choose from, or make your own, as needed But now I'm not 100% sure I fully understand what you are after ... -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年11月23日 GMT-5 03:37
Ok, I see from your answer, that I should calculate a functional as an integral over the domain and this integration is not an embedded function of COMSOL. I think, you understood me correctly. Thanks.
Ok, I see from your answer, that I should calculate a functional as an integral over the domain and this integration is not an embedded function of COMSOL. I think, you understood me correctly. Thanks.

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.