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
Posted Jun 15, 2010, 11:28 a.m. EDT Heat Transfer & Phase Change Version 4.0a 12 Replies
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
Please login with a confirmed email address before reporting spam
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
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
Please login with a confirmed email address before reporting spam
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
Version 3.5. Thanks.
Please login with a confirmed email address before reporting spam
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
Unfortunately I do not see any constants there. I will check the documentation a little more then. Thanks for the help.
Jeff
Please login with a confirmed email address before reporting spam
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
"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
Please login with a confirmed email address before reporting spam
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
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
Please login with a confirmed email address before reporting spam
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.