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

FDM oscillatory boundary condtions.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2020, 15:35
Default FDM oscillatory boundary condtions.
  #1
New Member
 
Virendrasingh Pawar
Join Date: Sep 2018
Location: Pune, India
Posts: 2
Rep Power: 0
DubsVeer23 is on a distinguished road
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.
DubsVeer23 is offline   Reply With Quote

Old   June 3, 2020, 15:46
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
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).
DubsVeer23 likes this.
FMDenaro is offline   Reply With Quote

Old   June 3, 2020, 16:22
Default
  #3
New Member
 
Virendrasingh Pawar
Join Date: Sep 2018
Location: Pune, India
Posts: 2
Rep Power: 0
DubsVeer23 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
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).
Thanks. That is my approach actually but I am unable to approximate the analytical solution properly. Upon some reading, I understand that the temperature in the rod should lag the surface (boundary temperature), however, I am unable to fathom how a numerical scheme could achieve this. Can you expand your approach or suggest any reading? Thanks!

PS. It's an exercise problem in a book I am reading "Finite Difference Computing with PDEs"
DubsVeer23 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
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


All times are GMT -4. The time now is 16:19.