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.

Adding a boundary condition over domain

Please login with a confirmed email address before reporting spam

Hi,

I want to apply a dirichlet boundary condition r= C, How ever I don't want to use the predefined equation given in comsol under boundaries.

The reason being, I am solving a moving interface problem using the level set method and in the level set method the boundary is static and only a virtual boundary moves.

The inner interface (ellipse in the attached file) is given by phils*(1-phils) where phils is a smeard out heaviside function from zero to 1.

I applied a domain weak constraint (1-C)*phils*(1-phils), But it didn't work out well.

Any way of defining this?

Thank you in advance

Ashan


1 Reply Last Post 9 feb 2016, 00:13 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 9 feb 2016, 00:13 GMT-5
Sorry I missed out the figure

"Hi,

I want to apply a dirichlet boundary condition r= C, How ever I don't want to use the predefined equation given in comsol under boundaries.

The reason being, I am solving a moving interface problem using the level set method and in the level set method the boundary is static and only a virtual boundary moves.

The inner interface (ellipse in the attached file) is given by phils*(1-phils) where phils is a smeard out heaviside function from zero to 1.

I applied a domain weak constraint (1-C)*phils*(1-phils), But it didn't work out well.

Any way of defining this?

Thank you in advance

Ashan "
Sorry I missed out the figure "Hi, I want to apply a dirichlet boundary condition r= C, How ever I don't want to use the predefined equation given in comsol under boundaries. The reason being, I am solving a moving interface problem using the level set method and in the level set method the boundary is static and only a virtual boundary moves. The inner interface (ellipse in the attached file) is given by phils*(1-phils) where phils is a smeard out heaviside function from zero to 1. I applied a domain weak constraint (1-C)*phils*(1-phils), But it didn't work out well. Any way of defining this? Thank you in advance Ashan "

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.