Solving Slope-Matching Condition in COMSOL Multiphysics

  • Thread starter Thread starter womfalcs3
  • Start date Start date
  • Tags Tags
    Comsol
AI Thread Summary
To set a slope-matching condition in COMSOL Multiphysics, a Dirichlet boundary condition (BC) is required to impose constraints on both the function and its derivative. The equation u1x = u2x indicates that the slopes of the two functions must match at the boundary. While a Neumann BC could be used if only the derivative were involved, the need to impose conditions on both necessitates the use of Dirichlet BC. The approach involves manipulating the equations appropriately to ensure the conditions are satisfied. Properly applying these boundary conditions is crucial for accurate simulation results.
womfalcs3
Messages
60
Reaction score
5

Homework Statement



How do I set a slope-matching condition in COMSOL?


Homework Equations



u1x=u2x.

The Attempt at a Solution



I have used the Dirichlet BC type. I have multiplied and divided by n, the number of equations, on either side of the boundary.
 
Physics news on Phys.org
Just realized I should add this...

I have to impose a BC on the function itself and its derivative. So I have to use a Dirichlet BC.

If it were just the derivative, I could use a Neumann, but I have to impose both.
 
Back
Top