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.

Reverse problem: How to find the boundary condition iteratively if final solution is know?

Please login with a confirmed email address before reporting spam

Hi everybody
I have a difficult time with comsol. I want to find the boundary condition from the known solution. If I use any programming language like matlab, we can do this using iterative method ie. we will guess the boundary condition and solve the set of equations and see if final result matches with known solution. If it does not match, we will change the guessed value and again solve the equations till it matches the known solution. Is there any way do this kind of programing in COMSOL. I use comsol3.5.
Thanks in advance.
Regards
Mahendra

5 Replies Last Post 2011年1月25日 GMT-5 06:06
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年1月24日 GMT-5 05:18
Hi

if you have 3.5a structural, check the example of the torque load. That is a nice example how to optimise a variable based on know load, as inverse problem using a global expression

--
Good luck
Ivar
Hi if you have 3.5a structural, check the example of the torque load. That is a nice example how to optimise a variable based on know load, as inverse problem using a global expression -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年1月24日 GMT-5 07:07
Thanks Ivar for you quick reply.
I dont have V3.5 structural. I am working on electrochemical module. If you can send a PDF file of the document or comsol file, it will help me a lot.
Thanks again for your reply.
Mahendra
Thanks Ivar for you quick reply. I dont have V3.5 structural. I am working on electrochemical module. If you can send a PDF file of the document or comsol file, it will help me a lot. Thanks again for your reply. Mahendra

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年1月24日 GMT-5 09:15
Hi

as a user I cannot redistribute a portion of a (c) COMSOL file, but I'm sure you can get it via your local COMSOL rep. It's pages 69-74 of the 3.5a SMEUG.pdf document, the chapter of "Moments in the Continuum Application Modes"

--
Good luck
Ivar
Hi as a user I cannot redistribute a portion of a (c) COMSOL file, but I'm sure you can get it via your local COMSOL rep. It's pages 69-74 of the 3.5a SMEUG.pdf document, the chapter of "Moments in the Continuum Application Modes" -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年1月24日 GMT-5 09:32
Hi,

I had a similar problem last time. I attached an easy example. Have a look at global equations and Integration Coupling Variables/Boundary Variables.

The main idea is to introduce a new variable with their target function using global equations, and couple them by coupling variables to the main model.

This model imitates a dirichlet condtiion by using "common" neumann boundary conditions and the usage of a new variable.

Regards
Hi, I had a similar problem last time. I attached an easy example. Have a look at global equations and Integration Coupling Variables/Boundary Variables. The main idea is to introduce a new variable with their target function using global equations, and couple them by coupling variables to the main model. This model imitates a dirichlet condtiion by using "common" neumann boundary conditions and the usage of a new variable. Regards


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年1月25日 GMT-5 06:06
Thank you very much to both of you.
Regards
mahendra
Thank you very much to both of you. Regards mahendra

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.