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.

Get Phase Change Interface Position During Simulation

Please login with a confirmed email address before reporting spam

Dear all,

I am currently a bit stuck with a phase change simulation where I want to evaluate an expression and use the result for material properties.

To be more precise, I am simulating a 2D phase change problem, where I want to use an average effective thermal conductivity. This effective thermal conductivity, however, is based on the temperature at a specific point (x,y = 42mm, 505 mm) and the position of the phase change interface along a specific line (x,y = 0..42 mm, 505 mm). This has to be avaluated during the simulation (not in postprocessing)

Now my questions are:
a) Where should I put the expression? Under "definitions" of "component 1" or under the "materials section"?
b) Can I access the necessary temperatures in this expression directly (s.th. like comp1.T(0..42,505)..) or is it better using a domain point probe?
c) How can I evaluate the position of the phase change interface? Principally, it is the element where the temperature is above (or below) the melting temperature. So I need to go along the line from x=0..42 mm, check if the local temperature is above T_melt and if true, save the current position and finally feed the last position into my expression for the effective conductivity.

Many thanks in advance!

Chris

0 Replies Last Post Oct 26, 2015, 6:15 a.m. EDT
COMSOL Moderator

Hello Christian Odenthal

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.