Questions tagged [heat-transfer]
For questions about modeling heat transfer, often through the use of heat (differential) equation.
44 questions
8
votes
1
answer
549
views
Computing geodesic distances with diffusion
I am trying to solve an APSP (All-Pair Shortest Path) problem on a weighted graph.
This graph is actually a 1, 2 or 3 dimensional grid, and the weights on each edge represent the distance between its ...
5
votes
1
answer
107
views
Prediction of sphere (i.e. roast) core temperature heated in an oven
The real-life problem
Assume I put a spherical roast with initially constant temperature of start_temp=25 (°C) into an oven with ...
4
votes
1
answer
139
views
Solving geodesics on triangular meshes gives negative distances
I have implemented the heat method for geodesics:
https://www.cs.cmu.edu/~kmcrane/Projects/HeatMethod/paperCACM.pdf
When I run it I am getting a solution that, visually, seems correct:
In this image, ...
3
votes
0
answers
53
views
Datasets for inverse heat transfer problems
I was wondering if there is an available, real-life known inverse heat transfer problem dataset to benchmark oneselfs algorithm, as in MNIST for deep learning. Talking about... (well in this case I ...
3
votes
0
answers
108
views
Correct approach for thermal finite element simulation of layered assembly
I would like to optimise the heat transfer on a PCB. Several dies are on the top and cooling air is going through the fins in heat sink on the bottom. The assembly consists of several layers like ...
2
votes
3
answers
552
views
Flux sign and face normal confusion in finite volume method
I implemented a solver for the 2D steady-state heat equation (without heat generation and homogeneous material) $\nabla. (k\nabla T) = 0$, using finite volume method, however, I am having some ...
2
votes
2
answers
467
views
Two-dimensional heat equation with Neumann boundary conditions: any hope to find an analytical solution?
I am looking for references showing how to analytically solve the heat equation with Neumann boundary conditions in two dimensions.
So far, I have found the problem solved analytically in one ...
2
votes
1
answer
410
views
Where am I making a mistake in solving the heat equation using the spectral method (Chebyshev's differentiation matrix)?
I would like to numerically solve the following heat equation problem:
$$ u_t = \Bigg(2{a \over l}\Bigg)^2 u_{xx} \tag 1$$
$$ x \in [ -1, 1 ] \tag 2$$
$$ u(x, 0) = 0 \tag 3$$
$$ u(1, t) = A \sin \Bigg(...
2
votes
1
answer
309
views
Lumped matrices in thermal analysis using finite elements
The governing equation of the transient heat transfer problem is
$$C \frac{dT}{dt}+K T = Q$$
$C$ is the heat capacity matrix. $K$ is the thermal conductivity matrix. $T$ is the temperature vector. $...
2
votes
1
answer
434
views
Solution method of nonlinear heat transfer analysis
The governing equation of transient heat transfer analysis is described as follows:
$$C \frac{dT}{dt}+K T = Q$$
When using backward difference scheme for the discretization of the time we get the ...
2
votes
2
answers
219
views
Heat equation in non-dimensional form behaving differently than in usual format
Starting from
$$
c_p \frac{\partial u }{\partial t} = k \nabla^2 u
$$
in a one dimensional domain [0,1] where $c_p$ and $k$ are modeling two different materials:
$$
k =
\begin{cases}
1 ~\text{if} ~x &...
2
votes
1
answer
708
views
Solve 3-D Heat equation with Neumann boundaries
I want to solve the Poisson PDE for heat flow in a 3-D solid cube with given dimensions $x$, $y$, and $z$:
$$\rho C\frac{\partial T}{\partial t} = k \Delta T$$
The cube is irradiated with a constant ...
2
votes
0
answers
114
views
Efficient heat diffusion implementation with varying coefficients
I have the following heat diffusion equation:
\begin{alignat}{3}
\partial_t u(t, \vec{x}) &= g(\vec{x})\Delta u(t,\vec{x}), &\quad& \vec{x} \in\Omega, \, t\in(0,\infty],\\
\partial_n u(t,\...
2
votes
0
answers
113
views
Conceptual doubt regarding 2D conjugate heat transfer modelling (COMSOL and Mathemtica)
I have been dealing with some conceptual flaws in my understanding of modelling, which I will elaborate herein. I am modelling conjugate heat transfer of a reciprocating fluid, which flows with ...
2
votes
0
answers
92
views
How to accelerate the computing of implicit finite difference method for heat conduction between two solids
Edit on May 3rd: I have found the problem. Because the difference of between $k_1$ and $k_2$ is huge, a very small time step need to be chosen so that the right green part can "feel" the ...
2
votes
0
answers
293
views
Rosenthal equation for multi track
Rosenthal's equation lets one calculate the temperature profile of a moving point heat source analytically for thin and thick plates. For simplicity I use the equation for thick plates defined as:
$$T-...
1
vote
2
answers
120
views
How to handle non bilinear weak form?
I solved the 2D heat equation using the finite element method. It all went well first with the adiabatic case, however problems occured when I introduced cooling with the enviroment.
I modeled the ...
1
vote
1
answer
307
views
2D Heat equation solved with finite element method converges in skewed way
I tried to solve the 2D heat equation with the finite element method, using triangles as elements. Currently generated by a Delaunay triangulation. The base function I'm currently using is basically ...
1
vote
2
answers
191
views
Simulating the heat equation with insulating material
My plan is to solve the heat equation in the right half portion of the domain, while having the left half completely isolated with constant temperature. To do so, I model the left half with a very low ...
1
vote
1
answer
644
views
Physical interpretation of L2 norm of heat equation solution
For the heat equation
\begin{equation}
u_t(t,x) = \nu u_{xx}(t,x)
\end{equation}
for $x \in [0,1]$ with boundary conditions $u(t,0) = u(t,1) = 0$ and initial value $u(0,x) = u_0(x)$ it is easy to ...
1
vote
1
answer
336
views
Why does scipy Conjugate Gradient solver fail to converge for non-steady heat equation using Crank-Nicolson method
Could someone please explain why my implementation of the Crank-Nicolson method applied to the non-steady heat equation won't converge? There shouldn't be any nonlinear aspects to my implementation ...
1
vote
1
answer
15k
views
Python Finite Difference Schemes for 1D Heat Equation: How to express for loop using numpy expression
Hello all,
I've recently been introduced to Python and Numpy, and am still a beginner in applying it for numerical methods. I've been performing simple 1D diffusion computations. I suppose my ...
1
vote
2
answers
2k
views
Finite Difference Grid Spacing and Scaling
I have been exploring finite differences and heat transfer using the 2D heat equation to further expand my knowledge. So far I think it is going well.
I am running into some confusion around grid ...
1
vote
1
answer
2k
views
How to solve heat equation in spherical coordinates with finite differences?
I have a problem dealing with heat transfer which is spherically symmetrical. I was thinking it should be possible to solve this as a 1d problem in spherical coordinates using the radius only.
...
1
vote
2
answers
811
views
How to use the Thomas-Algorithm to the Heat-diffusion-equation correctly
My post is structured in four parts:
I give you some information about the context my principal questions refer to.
I will tell you what I believe to know about the Thomas Algorithm. If I am wrong ...
1
vote
1
answer
378
views
Analytical testcase for 2D/3D anisotropic Diffusion (Heat Kernel)
I want to verify and compare different Discretizations of the anisotropic diffusion equation in 2D / 3D.
In order to both test the timestepping and the spatial discretisations I had a look at using ...
1
vote
2
answers
398
views
V-cycle Multigrid for 2D transient heat transfer on a square plate using finite difference
I'm currently developing a program to solve 2D transient state heat conduction on a square plate using the V-cycle multigrid. Althought my program is able to reach the steady state solution, it's ...
1
vote
1
answer
251
views
Coupled Partial Differential Equations
I'm trying to solve the following system of coupled differential equations, the two-temperature model for $e$ = electrons and $l$ = lattice.
$$
\rho_{e}C_{p,e}\frac{\partial T_{e}}{\partial t} = k_{e}\...
1
vote
0
answers
50
views
How can I apply a mixed boundary condition to a multi-material heat transfer problem using Crank-Nicolson?
I am working on a mixed material model for a melting material and need to enforce both a Dirichlet and Neumann type condition at the interface. Subject to an external surface heat flux at the top of ...
1
vote
0
answers
115
views
Accuracy of the Crank-Nicolson method for non-linear, inhomogeneous heat equation
I am currently coding a solution to the following PDE:
$\frac{\partial T }{\partial t} =\frac{\partial}{\partial \theta}(A(\theta ,\phi )\frac{\partial T }{\partial \theta}) +\frac{\partial }{\partial ...
1
vote
0
answers
456
views
Incorporating radiation boundary condition at the edge in finite difference
I am trying to solve the 2-d heat equation on a rectangle using finite difference method. I am confused as to how to incorporate non linear radiation boundary condition at the edge.
$-k\frac{\partial ...
1
vote
0
answers
953
views
Methods and tools to solve the two-temperature model (TTM)
I would like to model heat diffusion at the gold / water interface after excitation of the metal surface by an ultrafast laser pulse (ca. 80 fs).
An appropriate model to start with would be the "two ...
1
vote
0
answers
212
views
BTCS-like method for heat conduction in unstructured triangular grid
I want to write a simple simulation for heat conduction in a unstructured triangular mesh.
I already made it work for a structured rectangular grid with the ADI method, but now I need more complex ...
0
votes
1
answer
148
views
Problem with my Octave code (unsteady heat equation with FEM)
I want help with my Octave code regarding the unsteady heat equation.
My geometry and mesh are generated with FreeFEM++, so there is no problem with that (I tried it with the steady problem with no ...
0
votes
2
answers
1k
views
(FEM) 1D time-dependent heat equation convergence problem
I'm simulating a simple 3-node bar with convection BCs at the edges to validate my FEM code. The following data was used:
Initial temperature = 25 ºC
Temperature surrounding the rod = 10 ºC
Thermal ...
0
votes
1
answer
143
views
How to get a normalized gradient with FreeFem++?
I am trying to use FreeFem++ to solve the heat geodesics algorithm.
The algorithm is:
solve $\dot u = \Delta u$ at a specific time $t$.
compute $X = \frac{\nabla u_t}{|\nabla u_t|}$
solve $\Delta\phi ...
0
votes
1
answer
214
views
Incorporating heat flux into Laplace Equation
I need to find the temperature distribution of a square plate using the Laplace equation by using FDM:
$$ \frac{d^2T}{dx^2} + \frac{d^2T}{dy^2} = 0$$
But there is a heat flux entering from the top ...
0
votes
1
answer
852
views
Heat equation with Neumann and Dirichlet conditions on same boundary
I am looking at numerical solutions to the heat equation with Dirichlet and Neumann conditions on the same boundary. That is $u(x,t)$ satisfying
$$
u_t = u_{xx}\,, \quad x \in[0,1]\,, \quad t>0\,,...
0
votes
1
answer
51
views
Produce vertex displacements from volumetric shrinkage data on unstructured meshes
I was wondering what would be an efficient way to produce compatible displacements for mesh nodes/vertices if the computed data is volume shrinkage of each element/cell in the unstructured mesh?
...
0
votes
1
answer
613
views
Heat diffusion - Is this the correct approach to include Newmann boundary conditions?
Thank you for looking at this problem. Is this the correct approach to include neumann boundary conditions? With this solution temperature is not correct, and there´s no diffusion. The model seems ...
0
votes
1
answer
68
views
Modeling Diodes in Autodesk CFD
I'm extremely new to Autodesk CFD, and I'm working on a project that deals with diodes heating up and cooling down based on a fixed temperature regulated by a temperature switch. Basically, I have a ...
0
votes
1
answer
98
views
Solving the diffusion/heat equation for a randomly distributed set of points in 3D
In this problem I am trying to solve, I have a messy set of points distributed in 3D space, each with a defined temperature. If I would want to calculate the heat transfer scenario in this system, how ...
0
votes
0
answers
128
views
Heat Equation for fast source with FiPy
I'm trying to solve the following differential equation with FiPy, basically laser irradiation on a surface
$$
\rho_{s}C_{p,s}\frac{\partial T}{\partial t} = k_{s}\frac{\partial^{2}T}{\partial x^{2}} +...
0
votes
0
answers
38
views
Thermo Hydraulic Mechanical modeling of energy wall slab in Comsol multiphysics
I am currently working on a complex simulation project involving an energy wall slab, and I need assistance in accurately modeling and validating it using COMSOL Multiphysics. Here are the details of ...