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.

Distributed Heat Source and model coupling

Please login with a confirmed email address before reporting spam

Hello everybody,

I have to convert a model for a simulation of SLM-process from Comsol 3.5a to version 4.2. The whole simulation consists of two models. One model for the material, which will be molten and one modell for the heat source, which calculates the intensity distribution of the laser. The dependet variable for the intensity is I. The 3.5a version model uses a extrusion variable from the powder domain to the laser heat source model domain, which is named T. In the material domain, T is the temperature of the model. The intensity I and the temperature in the material model are linked via a weak form PDE in the heat source model, but this did not work for me in the version 4.2.

So I tried to couple both models the other way round. The transmitted heat in W/m³ is a function of the intensity I. I defined a general extrusion operator named 'laser_extru' from the heat source model to the powder domain. I added a heat source node to the heat transfer module. For Q in W/m³ I added my function 'some_coefficents*mod2.laser_extru(Intens)' with Intens=mod2.I. When I try to solve the problem, I get an error, that the interpolation of the extrusion operator did not work, because no origin could be found and the operator Jacobian could not be computed. I am new to Comsol so I'm not familiar with the extrusion operator concept. Does anybody have a hint for me?

I also had a look at this model (www.comsol.com/showroom/gallery/699/). They used almost exactly the same weak PDE as it is used in the version 3.5a model, but my port to the version 4.2 just does not work.

3 Replies Last Post 22 mars 2012, 07:27 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 févr. 2012, 08:34 UTC−5
I studied the modell from the database a bit mor in detail. They do almost the same as I want to do. They use a distributed heat source, defined by a weak form PDE and coupled to the temperature in another model by a formula of the type

(Ix-linear_coefficient*I)*test(I)+some_coefficents*I*test(T) with I as dependent variable of model 2, T defined as T = mod1.genext1.extracpl_souce_T and in model 1 the variable extracpl_source_T = T, the temperature of model 1. I use the same formula type, but I have a 3D heat source instead of 1D. In my modell it just doesn't work. Could it be something in the solver settings?
I studied the modell from the database a bit mor in detail. They do almost the same as I want to do. They use a distributed heat source, defined by a weak form PDE and coupled to the temperature in another model by a formula of the type (Ix-linear_coefficient*I)*test(I)+some_coefficents*I*test(T) with I as dependent variable of model 2, T defined as T = mod1.genext1.extracpl_souce_T and in model 1 the variable extracpl_source_T = T, the temperature of model 1. I use the same formula type, but I have a 3D heat source instead of 1D. In my modell it just doesn't work. Could it be something in the solver settings?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 févr. 2012, 07:20 UTC−5
Ok, I did not really solve the problem but did some kind of workaround. Instead of two models I now use just one model. I added the weak PDE physics to my material domain model and added the same PDE but without the extrusion coupling operator und now it works like a charm. I had to do some tricks for the movement but it least this part works.
Ok, I did not really solve the problem but did some kind of workaround. Instead of two models I now use just one model. I added the weak PDE physics to my material domain model and added the same PDE but without the extrusion coupling operator und now it works like a charm. I had to do some tricks for the movement but it least this part works.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 mars 2012, 07:27 UTC−4
Hey,

I got the same problem as you do.

Did you transferred everything (PDE,...) to one model without coupling?
How have you solved the problem of motion?

I'm trying to solve something similar.


Thanks.
Hey, I got the same problem as you do. Did you transferred everything (PDE,...) to one model without coupling? How have you solved the problem of motion? I'm trying to solve something similar. Thanks.

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.