Quantcast
Channel: Heat Transfer, Heat transfer\ - Latest Discussions - COMSOL Forums
Viewing all 1064 articles
Browse latest View live

System matrix is zero

$
0
0
Hi,

I have some problem with my model on COMSOL 4.4. I use heat transfer in solids and non-isothermal pipe flow. And I have this message when I compute after about 20 minutes:

Failed to find consistent initial values.
Segregated group 4
System matrix is zero.
Last time step is not converged.

I do some simulation and I have this message all the time. Segregated group 4 refers to the pressure or to the tangential velocity (depends of the case).

If somebody can help me it will be great,
Thank you,

Marine

Time-Dependent Heat Transfer

$
0
0
Hi,

I am trying to simulate heating a block of metal in a furnace, and have chosen to use a time-dependent external temperature (by creating a piecewise function for T(t) ), to simulate a furnace heating the metal from 300K to 650K.

When I run the model for a simulated time of 12hrs, the temperature only gets to ~350K, and this seems way low for a heated metal. What could I be missing?

Current settings:
T_initial = 300K
T(t) = 0.6*t+300K
External natural convection
Sphere diameter = 9in, air

Thank you!

Thermal expansion with temperature dependent CTE

$
0
0
Hi all,

I want to model the thermal expansion of a structure made of two different materials whose coefficient of thermal expansion (CTE) depends on temperature. To do so, I defined two piecewise functions CTE inside each material (in Materials -> [Material name] -> Basic) with a single argument T, whose unit is K, and with function unit 1/K. Then, I set CTE(T) as "Coefficient of thermal expansion" for each material.

However, when I do the calculations, I have the strong impression that, instead of integrating all the CTE values between the strain reference temperature Tref (in the Thermal expansion coupling) and the final temperature Tfinal (set by means of a Temperature constraint applied on all the boundaries), only CTE(Tfinal) is considered, and the strain is calculated as CTE(Tfinal)*(Tfinal-Tref). I say so because I noticed a sudden change in the results when Tfinal is at the edge of the domains of the piecewise CTE functions; this is even more noticeable if, for instance, CTE1 < CTE2 for T<T1 and CTE1 > CTE2 for T>T1: in this case, the results change completely as soon as T becomes slightly higher than T1, regardless the fact that the overall expansion of material 1 should be still lower than the one of material 2.

To overcome this limitations, I came up with two ideas:
1) performing a time dependent simulation with Tref as initial condition and by imposing Tfinal with a Temperature boundary condition, and running the simulation until steady state.
2) forcing the solver to change the temperature in small steps (by updating every time Tref and Tfinal), and taking the result of the previous iteration as the initial conditions for the following.

Solution 1 seems to produce the same results as the stationary study - the heat transfer looks so fast that the metal reaches the final temperature before the first time step - and the overall simulation is, of course, much more time consuming than a stationary study. Solution 2 looks much more interesting to me, but is it possible to iterate the simulation, taking the results of the previous simulation as the initial conditions for the following? Is there any other way to solve this problem?

Thank you.

Cheers,

Mikhail

Heat transfer in a pool

$
0
0
Hello
I want to see how hot water is cooled in a pool in time. But I have a problem to build the model (water and soil around). I need your help please

Weak contribution to levelset interface

$
0
0
Dear all,

I would like to add a weak contribution (for surface tension) to a moving levelset interface for the following application:
I want to model a fluid with a free surface, on which there should be a mass source. The fluid surface is deformed by fluid flow and surface tension.

I already tried to model this with a moving mesh approach but these simulations did not run stable enough, if ever. Furthermore I thought about two-phase-laminar-flow. Here a surface tension at the interface is possible, but no mass source.

That's why I decided to track the interface between air and fluid with levelset. Here I can define: interface velocity = fluid velocity + velocity representing the mass source

Does anyone know how to add a weak contribution to a moving levelset interface? Or is there another way to implement the surface tension (for example how is it realized in the two-phase-laminar-flow)?

I would be very happy if anyone could help me!

Help with really high numbers

$
0
0
Hello,

I'm working on a producing a self-heating model for a wood chip pile. Currently the model is composed of a Heat Transfer through Porous media equation, and a custom General Form PDE, which models the heat produced by fungi in the pile.

The General Form PDE (g2) has 4 concentration variables, MBB (the easily degradeable parts of the wood), MHH (the parts of wood that are slowly degraded), XX (the fungi), and BO2 (the biological oxygen consumption).

The BO2 feeds into a variable called SBio which is multiplied by the oxycaloric coefficient to estimate the heat produced.

I'm having trouble with my model, as I'm getting some really high numbers, I'm expecting ~370 K tops, but I'm currently getting up to 50,000K....

Attached is my model, and the model I'm trying to build in Comsol (page. 444, equations 11 to 14).

Does anyone have some recommendations on how I could solve or troubleshoot it?

Thank you.

Non-Isothermal Flow Comsol 5.0

$
0
0
Hi,

I am trying to model a laser welding process, so I need to couple the heat transfer and the turbulent flow. For this I use the multiphysics node, the non-isothermal flow with k-e turbulent model. The main effects I consider are the latent heat, the Marangoni effect and the phase change.

In my case, I consider the whole region as liquid and solve the phase transition with "heat transfer module" by the effective heat capacity method. So I define the liquid volume fraction with a range from 0 to 1. (1 for liquid, 0 for solid). Then, I want to see the velocity profile only in molten region( fl=1) and use therefore the "porosity method". In brief, porosity=0 for solid, porosity=1 for liquid.

It can be defined in volume force term as following:

Fx = -C*((1-fl)^2)/(fl^3+b)*u
Fy = -C*((1-fl)^2)/(fl^3+b)*v+rho*g*beta*(T-Tinf)

fl : liquid volume fraction
C : sufficiently large number (ex) 1e6
b : constant for not divided by zero (ex) 1e-3
rho : density
g : gravity

This equation makes velocity zero in solid.


Actually the simulation has been performed with Comsol 4.2 with the same materials and parameters and it worked. Now I use Comsol 5.0 and the boundary conditions for the outlet has been changed. Earlier I used a BC ''no viscous stress'' and ''presusre point constraint'' for the outlet. Now with the 5.0 version I have to use the pressure BC, but the equations solved for are not the same. I tryied to set an ''outlet velocity'' and ''pressure point constraint'', but it doesn't work again. I get permamently the error message:

Division by zero.
- Function: /
Failed to evaluate variable.
- Variable: comp1.nitf1.kappaT
- Defined as: ((comp1.spf.muT*comp1.ht.Cp)/comp1.nitf1.Prt)
Failed to evaluate variable.
- Variable: comp1.ht.k_effxx
- Defined as: (comp1.ht.kxx+comp1.nitf1.kappaT)
Failed to evaluate variable.
- Variable: comp1.ht.res_T
- Defined as: ((((comp1.Txx*(-comp1.ht.k_effxx))-(comp1.ht.k_effyy*comp1.Tyy))-(comp1.Tzz*comp1.ht.k_effzz))+((comp1.ht.Cp*comp1.ht.rho)*((comp1.Tz*comp1.ht.uz)+((comp1.ht.uy*comp1.Ty)+(comp1.Tx*comp1.ht.ux)))))
Failed to evaluate temporary symbolic derivative variable.
- Variable: comp1.nitf1.streamlinenitf@VDN${test@12}
- Defined as: (((((-nojac(((comp1.spf.betaT*comp1.nitf1.rho)*comp1.w)))*comp1.nitf1.tau_c)*comp1.spf.res_p)-((comp1.nitf1.tau_m*nojac(comp1.nitf1.rho))*comp1.spf.res_w))-((nojac(((comp1.ht.alphap*(-comp1.nitf1.rho))*comp1.w))*comp1.ht.tau_e)*comp1.ht.res_T))
Failed to evaluate expression.
- Expression: d((comp1.nitf1.streamlinenitf)*(dvol),{test@12})


but if I plot nitf1.kappaT (thermal conductivity) or nitf1.Prt (turbulent Prandtl number), I can see that there is no zero value for this variables in the computational field.

Will really appriciate your help!

Best regards from Germany
Antoni

Two entirely different results while using two different mesh structure (Mapped and Triangular in fluid domain).

$
0
0
Hi,
I am using AC/DC, Fluid Flow and Heat transfer module to simulate thermomagnetic convection in magnetic nano fluids (ferrofluid). I am getting entirely different results when i use mapped mesh for fluid domain first and when i change fluid domain meshing to free triangular mesh i get entirely different results. I tried to keep on increasing no. of elements in same domain with different mesh elements and both mesh converges to different results. Now i don't know which one is giving me correct results. Did any body else faced the same problem? Can somebody tell me how to rectify this issue?

Time Dependent Domain

$
0
0
Hi everyone, I just started using Comsol 3.5a for simple university exercises but I find some problems solving a transient system.

I have this heat transfer problem: for a total of 60s I have a square inside a chamber (another square).
I want the square inside to have Q=1W/m3 for 0<t<=10s and Q=0 for 10s<t<=60s.
How can I do that? Where can I specify this time function?

Deformation caused by heating of a laser beam

$
0
0
Hi, I am a student and new on Comsol. I am simulating the deformation caused by the heating of a laser beam on an aluminum sample. The problem that is happening is that the deformation seen in 3D is different from 2D. The deformation in 3D is alright, but when I select the yz-plane and try to see in 2D, the result is completely different. The images of what is happening are attached. They are in the same coordinate, time and temperature.

Accessing functions in MATLAB

$
0
0
Hey,

I'm looking to apply some numerical estimation techniques to simulations within COMSOL (Kalman Filtering to be exact). I need to access the functions describing evolution of the system (e.g what function describes how temperature in a rod is computed, given heat flux in one end). My intention is to extract this information from an exported MATLAB file. Any ideas?

Virtual Family (Anatomical Models for Electromagnetic Exposure)

$
0
0
Does anyone have experience with the Virtual Family models:
www.itis.ethz.ch/services/anatomical-models/overview/

They are human anatomical models developed for the evaluation of electromagnetic exposure, as discussed in this publication:
iopscience.iop.org/0031-9155/55/2/N01

I think the Virtual Family is the best such anatomical models I've come across for electromagnetic exposure modeling, but they don't seem to be available yet for use with an FEM solver like COMSOL. (I'm contacting them just to check -- but their website suggests that at the moment the data is only compatible with the simulation platforms Sim4Life and Semcad X.) Even if they don't have full CAD versions available for their human models yet, I'm guessing the data might be available in raw voxel format of some kind, making it usable in any FDTD solver (I think openEMS has a model using Virtual Family data), or as an interpolation function of sorts dumped into COMSOL.

Another option I've come across is the Visible Man Project from the National Library of Medicine. Some publications on human exposure seem to create voxel data for the human body based off of these Visible Man images, and then use that 3D grid in FDTD simulations.

I'm just curious if anyone has experience with the Virtual Family data set, or other such data sets for modeling human exposure to electric and magnetic fields, and if anyone has found a set that is well-suited for use in COMSOL.

Heat transfer 3 D pipe

$
0
0
Hi,
I draw 3 D pipe and now i would study heat transfer through this pipe by insert electricity current, but i don't know the method.
Regards,


Adding thermal expansion

$
0
0
Hi,

I would like to add some simple thermal epansion to my model, however I do not have the thermal expansion part of the solid mechanics module... Is there a way to add it via the mathematics module?

Ideas and examples would be highly appriciated!

Thanks,

Tsvetoslav

photothermal or laser heating simulation in Comsol

$
0
0
Hi, I am new to Comsol. I am trying to simulate the temperature rising of the plasmonic structure during the laser illumination. Assuming the Electromagnetic wave plus the heat transfer will do the job. According to the suggestion from the Comsol support, one heat source was added using the total power loss of the electromagnetic wave. However, it doesn't work.
I have attached the model below. Apprecieate suggestions.


Error using optimization module

$
0
0
I tried to simulate a forced convective heat transfer problem: water flow through a heat sink. When I did stationary study with initial values of optimization parameters, it ran well. But if I ran optimization, the following error occurred:
Undefined variable.
- Variable: CFLCMP
- Geometry: geom1
- Domain: 2
Failed to evaluate variable.
- Variable: comp1.spf.locCFL
- Defined as: CFLCMP
Failed to evaluate expression.
- Expression: nojac(comp1.spf.time_step_inv/comp1.spf.locCFL)
Failed to evaluate expression.
- Expression: d(d((comp1.spf.rho*nojac(comp1.spf.time_step_inv/comp1.spf.locCFL)*(-(comp1.u-nojac(comp1.u))*test(comp1.u)-(comp1.v-nojac(comp1.v))*test(comp1.v)-(comp1.w-nojac(comp1.w))*test(comp1.w)))*(dvol),{test@3}),comp1.u)

Anyone got an idea how to shoot this?
Thanks in advance

Thermal Wall functions

$
0
0
Can somebody elaborate on this from the reference manual pg (794) :

"Wall boundary conditions for turbulent fluid flow. For the k-ε turbulence model, this condition is of the type k − r( ε ), −n · ∇ε, where r is a given function. Bidirectional constraints for the first relation imply that the second relation cannot hold."

It appears in the section of symmetric and non-symmetric constraints.

Further i have the following message printed on my log screen :

“Inconsistent point-wise unidirectional constraints found.
78 constraints are merged/removed.
More inconsistent point-wise unidirectional constraints found...”

I think, since I'm solving heat transfer with turbulent flow, the constraint by nature bidirectional.


Exothermic Reaction

$
0
0
Hi,

I'm using transport of diluted species to model Solid-sate exothermic reaction coupled with heat transfer in solids.
But I'm not successful at simulation.

Is there any way I can do it other than using transport of diluted species?

Thanks
Krish

CONSULTATION

$
0
0
Hi everyone,

I'm a low designer seeking and asking for your suggestions regarding my project.
it happen that im looking for a formula and computation of how can i prove that
the steel at about 200 degrees celius wil cool at about 20 degrees celcius after being conveyed in a special enclosed conveyor, with blower and exhaust fan,, inside an airconditioned room.

Please help me guys,

Regarding Parameters

$
0
0
Hello Everyone,

I am trying to use a parameter of vapor concentration C_v with respect to T
Such as
(2.8e-20*T^10[1/K]-4.9e-17*T^9[1/K] + 3.5e-14*T^8[1/K] -1.4e-11*T^7 [1/K] + 3.3e-09*T^6 [1/K] - 4.9e-07*T^5 [1/K] +4.4e-5*T^4 [1/K] -0.0023*T^3 [1/K] +.061*T^2 [1/K] -.061*T^2 [1/K] -0.64*T [1/K] +1.1) [kg/m^3]

however it is showing error there. For your kind consideration I have attached the picture of error herewith.

Can anyone give me a direction how to write down the parameters with respect to temperature?
Thank you ...kindly guide me please

Best Regards

Soma
Viewing all 1064 articles
Browse latest View live