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.

Will COMSOL solve the PDE defined in the domain at the boundary also?

Please login with a confirmed email address before reporting spam

Hi

Will COMSOL solve the PDE defined in the domain at the boundary also?

If I plot the variable at the boundary from domain plot parameters dialogue box, then it is showing the correct boundary conditions.
But if I plot the same from from the cross-section plot parameters dialogue box, then I am getting different values than the specified boundary values. Why is this happening? Can anybody please help?

Regards,
Seetha

5 Replies Last Post 07.05.2012, 02:28 GMT-4
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 06.05.2012, 09:26 GMT-4
Hi

it could come from the interpolation COMSOL is doing when you select an arbitrarian line, to map mesh values to your line. Is the difference great ?

--
Good luck
Ivar
Hi it could come from the interpolation COMSOL is doing when you select an arbitrarian line, to map mesh values to your line. Is the difference great ? -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 06.05.2012, 12:36 GMT-4
Hi

Thanks 4 your reply.

Yes, the difference is great. The boundary condition is 1(dirichlet). But when I plot the values at boundary using cross-section plot parameters dialogue box or export the data at the boundary, the boundary values range from 0.8 to 64. Actually that trend is similar to the results of the PDE inside the domain. The plotted boundary values are changing with time also.

Does COMSOL take the boundary condition which I specify (i.e. 1) for all times or is it changing the boundary values after each time step? So I am totally confused about what is happening.

For simpler problems, COMSOL is showing the correct boundary values when I plot.

Can you please tell what is the solution for this? It will be of great help.

Regards,
Seetha
Hi Thanks 4 your reply. Yes, the difference is great. The boundary condition is 1(dirichlet). But when I plot the values at boundary using cross-section plot parameters dialogue box or export the data at the boundary, the boundary values range from 0.8 to 64. Actually that trend is similar to the results of the PDE inside the domain. The plotted boundary values are changing with time also. Does COMSOL take the boundary condition which I specify (i.e. 1) for all times or is it changing the boundary values after each time step? So I am totally confused about what is happening. For simpler problems, COMSOL is showing the correct boundary values when I plot. Can you please tell what is the solution for this? It will be of great help. Regards, Seetha

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 06.05.2012, 13:56 GMT-4
Hi

normally a BC defind with a constant, or a parameter that is not updated by any sweep solver, remains constant. But, you might have a very steep gradient of your dependent varable just after the BC, then you mesh needs too to be very fine to correctly follow the values.

But I'm talking here in all generality, there are so many things that can happen, it's difficult to discuss without knowing realyy all details of your case

--
Good luck
Ivar
Hi normally a BC defind with a constant, or a parameter that is not updated by any sweep solver, remains constant. But, you might have a very steep gradient of your dependent varable just after the BC, then you mesh needs too to be very fine to correctly follow the values. But I'm talking here in all generality, there are so many things that can happen, it's difficult to discuss without knowing realyy all details of your case -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 07.05.2012, 01:11 GMT-4
Hi

Thank you very much for your reply.

Yes, there is a steep gradient in the concentration between the boundary and the first node.

I refined the mesh to very fine one near the boundary using boundary layer mesh parameters. But then also the boundary values are changing with time. It is oscillating.

Is it possible to check the problem, if I send my COMSOL model?

Regards,
Seetha
Hi Thank you very much for your reply. Yes, there is a steep gradient in the concentration between the boundary and the first node. I refined the mesh to very fine one near the boundary using boundary layer mesh parameters. But then also the boundary values are changing with time. It is oscillating. Is it possible to check the problem, if I send my COMSOL model? Regards, Seetha

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 07.05.2012, 02:28 GMT-4
Hi

take a look at the COMSOL Reference Guide Numerical Stabilization methods (p496 in v4.2a) this can also potentially be part of you issue

--
Good luck
Ivar
Hi take a look at the COMSOL Reference Guide Numerical Stabilization methods (p496 in v4.2a) this can also potentially be part of you issue -- Good luck Ivar

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.