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.
Laser heating process with flexible intensity distribution
Posted 28 nov. 2015, 08:46 UTC−5 Interfacing, Heat Transfer & Phase Change, Parameters, Variables, & Functions Version 5.1 0 Replies
Please login with a confirmed email address before reporting spam
I want to simulate a Laser Process (heating of a metal sheet) using an arbitrary intensity distribution. The models in the database or the ones discussed in the forum do either base on gaussian or top-hat intensity distribution.
One option is to describe the intensity distribution using analytical functions in COMSOL. In the end this is complicated, at the point when you have to combine different functions for the desired intensity distribution. Besiedes this, the normalization of the heatflux requires an integration and I assume this will lead to an increasing computation time.
I would like to use a description of the intensity distribution from MATLAB by integrating a MATLAB-function in the global definitions of the COMSOL model (see attached files). Of course MATLAB delivers a Matrix I(x,y)> but COMSOL somehow can´t deal with it since the following error occurs:
Failed to find consistent initial values.
Incorrect size of returned vector. 1 elements were expected, but the returned matrix was 301 x 601
Function: funcpl
Last time step is not converged.
- Feature: Time-Dependent Solver 1 (sol1/t1)
Can anybody help me with this issue?
I am also thankful for other approaches in order implement arbitrary intensity distributions.
Best Whishes
Martin
Attachments:
Hello Max
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.