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.

2D Heat flux

Please login with a confirmed email address before reporting spam


Hi,

I have a 2D model with a boundary condition of 2D heat flux on a wall. But instead of asking for heat flux in W/m for the 2D solution, the input lists W/m^2, as in a 3D solution. This implies that COMSOL is assuming something about the depth of the 2D model. Is it just 1m?

Thanks,
Jeff

12 Replies Last Post May 28, 2011, 8:41 p.m. EDT
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 1:33 a.m. EDT
Hi

YES you are right, COMSOL is alwaye working in 3D, when you select 2D or 2D axi, or even 1D COMSOL assumes a default depth (in 2D its ussually 1[m] it's defined on the subdomain/main physics page, ususally named "thickss", it is to be understood as the "Z" direction as 2D is by defult x-y.

In 2D axi you need to multiply surfaces by 2*pi*r to get to volumes (for integration), its the "loop length" and must often be used for BC definition too, to get the units compliant.

In 1D its a area that is assumed (in Y and Z).

That is why one should always check the units (but some functions do not correctl transfer units, such as integration coupling variables so these might "flag red" even if they are correct. this applies to 3.5, its better in V4, but there are still a few holes in the current V4 too. It's quite a job to get all hese cases correct, but its very useful for us to check what we are doing, no ?

Have fun Comsoling
Ivar
Hi YES you are right, COMSOL is alwaye working in 3D, when you select 2D or 2D axi, or even 1D COMSOL assumes a default depth (in 2D its ussually 1[m] it's defined on the subdomain/main physics page, ususally named "thickss", it is to be understood as the "Z" direction as 2D is by defult x-y. In 2D axi you need to multiply surfaces by 2*pi*r to get to volumes (for integration), its the "loop length" and must often be used for BC definition too, to get the units compliant. In 1D its a area that is assumed (in Y and Z). That is why one should always check the units (but some functions do not correctl transfer units, such as integration coupling variables so these might "flag red" even if they are correct. this applies to 3.5, its better in V4, but there are still a few holes in the current V4 too. It's quite a job to get all hese cases correct, but its very useful for us to check what we are doing, no ? Have fun Comsoling Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:28 a.m. EDT
Hi Ivar,

Thanks for the help. I am using 2D, but not axisymmetric. I suppose the thickness is then 1m, but it is not a variable in the subdomain physics section. It is a setting in some structural mechanics models, but not heat transfer or fluid flow. The equations are being solved in 2D, but it still confuses me why the boundary condition for heat flux seems to be 3D, ie - W/m^2 instead of W/m. Once my solution runs, the total heat input does not seem to correlate with a 1m depth though.

Jeff
Hi Ivar, Thanks for the help. I am using 2D, but not axisymmetric. I suppose the thickness is then 1m, but it is not a variable in the subdomain physics section. It is a setting in some structural mechanics models, but not heat transfer or fluid flow. The equations are being solved in 2D, but it still confuses me why the boundary condition for heat flux seems to be 3D, ie - W/m^2 instead of W/m. Once my solution runs, the total heat input does not seem to correlate with a 1m depth though. Jeff

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:32 a.m. EDT
Hi

you are right I'm s used to structural that's what comes up first ;)

Which version are you running ?

ivar
Hi you are right I'm s used to structural that's what comes up first ;) Which version are you running ? ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:35 a.m. EDT

Version 3.5. Thanks.
Version 3.5. Thanks.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:45 a.m. EDT
Hi again

then if you go into the "Physics - Equations - Boundary Settings - Variable tab", at the bottom of the list there are a few constants, I believe it's these, but I'm not 100% sure, you should check with the doc and COMSOL support. But it seems natural to use 1[m] depth as default

You must have a 2D surface defines, and selected the appropriate physics on a boundary, otherwis COMSOL is not defining any variables, if not needed

U_htgh, L htgh, dVolbnd_htgh = 1

Infact in V4 you cannot even see these variables, neither any "depth info", this could be more explicit, I agree, could be worth to send a suggestion to COMSOL

Have fun Comsoling
Ivar
Hi again then if you go into the "Physics - Equations - Boundary Settings - Variable tab", at the bottom of the list there are a few constants, I believe it's these, but I'm not 100% sure, you should check with the doc and COMSOL support. But it seems natural to use 1[m] depth as default You must have a 2D surface defines, and selected the appropriate physics on a boundary, otherwis COMSOL is not defining any variables, if not needed U_htgh, L htgh, dVolbnd_htgh = 1 Infact in V4 you cannot even see these variables, neither any "depth info", this could be more explicit, I agree, could be worth to send a suggestion to COMSOL Have fun Comsoling Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:49 a.m. EDT
Hi Ivar,

Unfortunately I do not see any constants there. I will check the documentation a little more then. Thanks for the help.


Jeff
Hi Ivar, Unfortunately I do not see any constants there. I will check the documentation a little more then. Thanks for the help. Jeff

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 10:55 a.m. EDT
Hi
Do not forget to select the correct physics and settigns then APPLY to have comsol updates the required variables
I have updated my previous post
Ivar
Hi Do not forget to select the correct physics and settigns then APPLY to have comsol updates the required variables I have updated my previous post Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 11:06 a.m. EDT
Hi Ivar,

"htgh" is the general heat transfer and it looks like L_htgh refers to the convection length scale. Plus, I am using the non-isothermal module and those are not available.

I am experimenting with simpler models to find an appropriate comparison. However, you are right, it seems that it could be made easier.

Jeff

Hi Ivar, "htgh" is the general heat transfer and it looks like L_htgh refers to the convection length scale. Plus, I am using the non-isothermal module and those are not available. I am experimenting with simpler models to find an appropriate comparison. However, you are right, it seems that it could be made easier. Jeff

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 16, 2010, 12:13 p.m. EDT
Hi

v3.5 see the htug.pdf p63, for V4 its p23 the depths re there, and in some cases its by default 1cm and not 1m !

Ivar
Hi v3.5 see the htug.pdf p63, for V4 its p23 the depths re there, and in some cases its by default 1cm and not 1m ! Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 28, 2011, 5:18 p.m. EDT
I am running COMSOL 4.1

I am trying to change the default cross-sectional area in a 1D time-dependent heat transfer problem. The cross-sectional area drastically changes the time scale. I have a cross-sectional area that is not a neat unit square of any standard unit.

I have looked at all these posts and searched the manuals, and I cannot figure out how to change this (or the depth assumed in a 2D simulation). How can I change these values?

Thanks!
I am running COMSOL 4.1 I am trying to change the default cross-sectional area in a 1D time-dependent heat transfer problem. The cross-sectional area drastically changes the time scale. I have a cross-sectional area that is not a neat unit square of any standard unit. I have looked at all these posts and searched the manuals, and I cannot figure out how to change this (or the depth assumed in a 2D simulation). How can I change these values? Thanks!

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 28, 2011, 8:23 p.m. EDT
Sorry, I'll post this as a new thread instead of tacking it on the end of this one.
Sorry, I'll post this as a new thread instead of tacking it on the end of this one.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago May 28, 2011, 8:41 p.m. EDT
Actually, VERY sorry, I was wrong, and I figured that out. Great forum!
Actually, VERY sorry, I was wrong, and I figured that out. Great forum!

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.