Heat Eq 2D stationary, cond+conv

  • Thread starter Thread starter phiz
  • Start date Start date
  • Tags Tags
    2d Heat
AI Thread Summary
The discussion centers on solving a stationary 2D heat equation with convection using MATLAB, where the boundary conditions are defined and there is no heat source. The user attempts to apply Fourier series for the solution, specifically using sine functions for the spatial component and an exponential function for the temporal component. However, the solution becomes unstable, leading to an infinite value as y approaches its upper limit, despite the correct boundary condition at y=0. The user suspects that the issue lies with the Fourier coefficients but is uncertain how to correct them. Assistance is sought to resolve the stability issue in the solution.
phiz
Messages
1
Reaction score
0

Homework Statement


Hi everybody, I'm trying to solve the heat eq. for a 2D problem which is stationary, and also includes convection. There is no heat source. I am using Matlab.


Homework Equations


domain: x:0:1, y:0:1

u(x,1) = x(1-x)
all other boundaries are 0


The Attempt at a Solution


X(x) = sin(k*pi*x/L)

%-- Fourrier coefficients: might be wrong!
u0 = x*(1-x);
a = 2/L*int(u0*sin(kk*pi*x/L),x,0,L)
%--

Y(y) = (exp((y*(vy - (lambda*D^2 + vy^2)^(1/2))))-exp((y*(vy + (4*lambda*D^2 + vy^2)^(1/2)))))

lambda is ofcourse (k*pi/L)^2
(bc's give the exp(..vy+..) term a minus, which is already included in the equation above.

the problem is, that my solution is not stable. At y=0 I find u=0, which is correct, however when y increases towards its limit y=1, i find that the solution increases to infinity.



 
Physics news on Phys.org
I'm quite sure that I'm wrong with the Fourier coefficients, but I don't know how to solve it. Does anyone know how to solve this? Thanks in advance!
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Minimum mass of a block'
Here we know that if block B is going to move up or just be at the verge of moving up ##Mg \sin \theta ## will act downwards and maximum static friction will act downwards ## \mu Mg \cos \theta ## Now what im confused by is how will we know " how quickly" block B reaches its maximum static friction value without any numbers, the suggested solution says that when block A is at its maximum extension, then block B will start to move up but with a certain set of values couldn't block A reach...
Thread 'Calculation of Tensile Forces in Piston-Type Water-Lifting Devices at Elevated Locations'
Figure 1 Overall Structure Diagram Figure 2: Top view of the piston when it is cylindrical A circular opening is created at a height of 5 meters above the water surface. Inside this opening is a sleeve-type piston with a cross-sectional area of 1 square meter. The piston is pulled to the right at a constant speed. The pulling force is(Figure 2): F = ρshg = 1000 × 1 × 5 × 10 = 50,000 N. Figure 3: Modifying the structure to incorporate a fixed internal piston When I modify the piston...
Back
Top