Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
26 juil. 2022, 12:15 UTC−4
Updated:
2 years ago
26 juil. 2022, 13:59 UTC−4
Hello Dylan,
You can find the exact mathematical definition of the flc2hs function in the Reference Manual for COMSOL Multiphysics version 6.0 on page 357. The idea is that it's a smoothed Heaviside function, with the width of the smoothed region controled by the second argument. Away from that smoothing region, it returns 0 if the first argument is negative, and 1 if it is positive.
In the attached toy model, I use flc2hs to define an inhomogeneous thermal conductivity such that there is an ellipsoidal zone with a low conductivity in the center of the domain and a high conductivity elsewhere, with a smooth transition between the two. After computing the solution, you'll see how that causes the heat flux lines to curve outward to "avoid" the low conductivity chunk, as expected.
Hope this helps.
Best,
Jeff
-------------------
Jeff Hiller
Hello Dylan,
You can find the exact mathematical definition of the flc2hs function in the Reference Manual for COMSOL Multiphysics version 6.0 on page 357. The idea is that it's a smoothed Heaviside function, with the width of the smoothed region controled by the second argument. Away from that smoothing region, it returns 0 if the first argument is negative, and 1 if it is positive.
In the attached toy model, I use flc2hs to define an inhomogeneous thermal conductivity such that there is an ellipsoidal zone with a low conductivity in the center of the domain and a high conductivity elsewhere, with a smooth transition between the two. After computing the solution, you'll see how that causes the heat flux lines to curve outward to "avoid" the low conductivity chunk, as expected.
Hope this helps.
Best,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
23 août 2022, 06:01 UTC−4
Thank you Jeff, it seems to work very well with the help of your model.
Thank you Jeff, it seems to work very well with the help of your model.
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
23 août 2022, 09:56 UTC−4
Glad I could help!
-------------------
Jeff Hiller
Glad I could help!