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

boundary condition @ interface

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2001, 18:28
Default boundary condition @ interface
  #1
Steve
Guest
 
Posts: n/a
Hi,

Consider the following equation:

a*dF/dt= d/dx[b*dF/dx]

I am trying to solve the above equation using Implicit Finite Diff. Approx. The discretized Eq. takes the form:

a(i,n)*F(i,n+1)-F(i,n)/dt = b(i-1/2,n)*(F(i-1,n+1)-F(i,n+1))/dx + b(i+1/2,n)*(F(i+1,n+1)-F(i,n+1))/dx

i=grid point, n=time level. This equation is to be solved with a phase change region inside the computational domain. F is continous in whole domain (that's why we don't need to determine the different regions). However, a=a(F) and b=b(F) are variable coefficients with high discontinuities as we move from region to another. One of the B.C.s is known and the other one takes the form: b*dF/dx=alfa*F+beta discretized to: b(m,n)*(F(m+1,n+1)-F(m-1,n+1))/2dx=alfa*F(m,n+1)+beta where m=maximum grid pt. I substituted the BC into the Discretized Eq. and then solved the TDMA system. I got non-physical oscillatory solution!!! When I wrote the simultaneous eqs. I found out that for the Boundary grid I have a coefficient (b) outside the comptational domain. I approximate it like: b(i+1/2)~b(i) with no luck. I then approximate it with b(i+1/2) with a fictitous point, I also get non-physical osc. sol. Although I am solving implicit scheme, I am using a small dt. Any suggestions?
  Reply With Quote

Old   August 2, 2001, 18:37
Default Re: boundary condition @ interface
  #2
Peter
Guest
 
Posts: n/a
Time step must be kept usually small even if you need to perform many iteration. So that shouldn't be the problem. Usually oscilations are due to odd-even decoupling of cells when using CDS scheme, but I see you are not using it. Check out how you are defining in your code the first derivatives
  Reply With Quote

Old   August 3, 2001, 08:34
Default Re: boundary condition @ interface
  #3
Doug
Guest
 
Posts: n/a
Your message notes you are using a central differece at the boundary. If you are having strong gradients at the boundary this could lead to numerical oscillations.

Try using a first-order upwind difference or adding a bit of artificial dissipation and see if that will help stabilize the solution.
  Reply With Quote

Old   August 3, 2001, 12:31
Default Re: boundary condition @ interface
  #4
Steve
Guest
 
Posts: n/a
Dear Peter,

Thanks for your reply. I am using FTCS as it appears in my first message. The only first derivative I have is for the unsteady term.

Regards
  Reply With Quote

Old   August 3, 2001, 12:36
Default Re: boundary condition @ interface
  #5
Steve
Guest
 
Posts: n/a
Dear Doug,

Thanks for your suggestions. I've already tried a backward differencing @ the boundary and I got (numerical) oscillations too. However, I haven't tried to add an artificial dissipation yet and I don't know how to do it. Any references? Note that I am having 1st derivative in time and 2nd derivative in space with nonlinear coefficients!

Regards
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Problem with Interface Boundary Condition tos FLUENT 0 April 4, 2010 08:11
Boundary condition at the interface of two fluids bhaskar FLOW-3D 1 May 22, 2009 16:34
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 06:45
interface boundary condition definitions? Skander FLUENT 1 November 2, 2006 15:47
Rotating interpolated boundary condition hani OpenFOAM Running, Solving & CFD 0 July 4, 2006 07:09


All times are GMT -4. The time now is 10:44.