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.

Semiconductor diode example

Please login with a confirmed email address before reporting spam

Dear Comsol Users
I'm trying to redo the semiconductor diode example. The model defines a piecewise Gaussian distribution function for the doping concentration, depending on the x- and y-coordinates.
I was thinking the most reasonable thing to do is to implement this function using the "Piecewise Function" node from the "Global Definitions" node.
I have two questions:
- How do I implement the x- and y- interval condition, e.g. x>x1 y>y1? To me this kind of requires a logical && evaluation.
- How is the expression x>x1 implemented in terms of an interval? Should it be something like "Start=x1, End=Inf"?

Thanks for any comments or hints.

0 Replies Last Post 3 août 2012, 10:43 UTC−4
COMSOL Moderator

Hello Martin Hediger

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.