CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Heat Equation FEM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2015, 17:25
Default Heat Equation FEM
  #1
New Member
 
Gorkem Ocalan
Join Date: Feb 2015
Posts: 5
Rep Power: 11
gorkemocalan is on a distinguished road
Hello,

I am trying to solve heat equation du/dt=\alpha*(d2u/dx2+d2u/dy2)

with boundary conditions u(x,0,t)=0;
u(x,1,t)=(x-x^2)
u(0,y,t)=0;
u(1,y,t)=0;
initial cond. u(x,y,0)=0;

(alpha=0.1)

by using Galerkin FEM(bilenar rectangular=square=4-noded element) with Euler/Implicit/Crank-Nicolson. (41x41 and 81x81 mesh and 4*alpha*dt/dx^2=0.5)

I did coding in MATLAB. It seems OK but I could not perform the analytical solution. Instead of analytical solution of heat equation, I did error analysis considering the analytical solution of laplace equation.

I observed that the error increases in 81x81 mesh. I could not figure out where the mistake/bug is.

Need some help...

Thanks,
Attached Files
File Type: zip project2.zip (1.7 KB, 1 views)
gorkemocalan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
wall heat transfer equation yousefzadeh AVL FIRE 0 October 9, 2014 16:21
Transient Thermal: nonlinear heat equation vagantes ANSYS 0 May 2, 2013 05:38
How to find the equation for Heat Transfer Flux in Fluent?? rohitjvbibin FLUENT 0 October 26, 2010 05:50
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 20:11.