|
[Sponsors] |
June 3, 2020, 15:35 |
FDM oscillatory boundary condtions.
|
#1 |
New Member
Virendrasingh Pawar
Join Date: Sep 2018
Location: Pune, India
Posts: 2
Rep Power: 0 |
Hi,
I couldn't find an FDM forum so I decided to post here. I am sure many of you can help me with my problem It's 1-D heat diffusion with oscillatory boundary condition. A semi-infinite rod has it's one end heated: u(0,t) = sin(t) and the other end: u(L,t) is bounded. The initial temperature profile is u(x,0) = 0. I have to obtain temperature profiles at various times using (Euler) implicit FDM scheme. The heat equation is: u_t = u_xx and the discretization is: u(n+1) = u(n,i) + (k/h^2)(u(n+1, i+1)-2u(n+1,i)+u(n+1,i-1)) I am struggling with the oscillatory boundary condition. Analytically, this condition introduces lag (e^(-x)*sin(t-phi)) in the rod, I can understand that but numerically how does one approach this situation (esp. the boundary condition) so that the analytical solution is well approximated. Any help/suggestion is appreciated. |
|
June 3, 2020, 15:46 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73 |
This is a homework and you can just see that the BC applies on the node i=1 (x=0) while you solve the equation at the inner node i=2 (x=h).
|
|
June 3, 2020, 16:22 |
|
#3 | |
New Member
Virendrasingh Pawar
Join Date: Sep 2018
Location: Pune, India
Posts: 2
Rep Power: 0 |
Quote:
PS. It's an exercise problem in a book I am reading "Finite Difference Computing with PDEs" |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |