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.

Is it possible to use some sort of logic-based formula in COMSOL?

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


I am building a simulation for deep penetration laser welding. However, I cannot use phase-change tools as it is not available on my student license. Keyholing (the process by which a laser penetrates significantly deeper into a material than expected) occurs when the metal at the center of a beam vaporizes and allows the beam to penetrate deeper into the sheet of metal. To circumvent this, my goal is to have the heat source to become active at the maximum z-height such that the temperature at this point is less than the boiling point of the material.

Is it possible to use a logical formula along the lines of Max(z|T(z)<T_Boiling)? (Read as: The maximum of the set of z values such that the temperature at z is less than the boiling point). If not, is there a method that I could use to implement this in some way? I would be fine with fairly low resolution sets of z, say if it only chose z- heights at or near mesh nodes.


0 Replies Last Post May 7, 2021, 6:41 p.m. EDT
COMSOL Moderator

Hello George Galkin

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.