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

Neumann Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2020, 20:29
Default Neumann Boundary Condition
  #1
New Member
 
Min Yi
Join Date: Nov 2020
Posts: 3
Rep Power: 5
Fishy is on a distinguished road
Hi all,

I am trying to solve the diffusion equation using an implicit centred approximation to the second derivative for space and an Euler backward scheme in time. I have implemented a Dirichlet boundary condition one end and would like to use a Neumann boundary condition at the other end. If I choose a backward difference approximation for du/dx, will this incompatibility of the order of delta x (since the centred scheme is order of delta x square and the backward difference of the Neumann boundary condition is order of delta x) affect my errors in anyway as I decrease the discretization and if so, why?
Fishy is offline   Reply With Quote

Old   December 2, 2020, 05:19
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Fishy View Post
Hi all,

I am trying to solve the diffusion equation using an implicit centred approximation to the second derivative for space and an Euler backward scheme in time. I have implemented a Dirichlet boundary condition one end and would like to use a Neumann boundary condition at the other end. If I choose a backward difference approximation for du/dx, will this incompatibility of the order of delta x (since the centred scheme is order of delta x square and the backward difference of the Neumann boundary condition is order of delta x) affect my errors in anyway as I decrease the discretization and if so, why?



Yes, if you consider the discretization error it will decrease at O(h) near the boundary. You can check that by using the max norm of the error and saving the nodes i,j of the max error.
FMDenaro is offline   Reply With Quote

Reply

Tags
backward euler, diffusion equation, implicit method, neumann boundary


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
Fatal overflow in linear solver. iamnotfajar CFX 9 October 28, 2020 05:47
How to apply Neumann Boundary condition in Fluent Luttappy FLUENT 3 April 25, 2018 01:29
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Neumann Boundary Condition in FEM kingmaker Main CFD Forum 1 May 29, 2013 05:21


All times are GMT -4. The time now is 01:45.