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

Decreasing error before increasing with increasing space discretisation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2020, 02:34
Default Decreasing error before increasing with increasing space discretisation
  #1
New Member
 
Min Yi
Join Date: Nov 2020
Posts: 3
Rep Power: 5
Fishy is on a distinguished road
--------------------nil------------------------

Last edited by Fishy; December 1, 2020 at 20:40.
Fishy is offline   Reply With Quote

Old   November 30, 2020, 06:09
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
Quote:
Originally Posted by Fishy View Post
Hi all,

I am using the thomas algorithm to solve a linear implicit scheme with a dirichlet boundary condition at x=0 and a neumann boundary condition at x=1. However, the maximum error obtained decreases at first before increasing in magnitude with increasing discretization in space (time discretization was kept constant). Why is this so?

The implicit scheme was obtained using an euler backward scheme in time and a centred approximation to the second derivative in space).



I assume you have no bug in the code (Thomas solver and BCs., space and time discretization) but this is always something to carefully consider.
Then, the convergence analysis requires theoretically that grid size and time step go to zero in such a way that dt/h= constant. You have to reduce the dt when you refine the grid size.
If you take dt=constant, you can see a level of the discretization error that does not decrease anymore owing to the constant part of the local truncation error.
Could you also give details about the analytical solution you are using?
FMDenaro 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
Impeller: temperature decreasing, should be increasing artymk4 OpenFOAM Running, Solving & CFD 21 March 10, 2024 20:15
Error: Out of scheme heap space SSG_NJ FLUENT 2 July 24, 2021 07:31
higher order time and space discretisation for elliptic eq. with a transport eq. emjay Main CFD Forum 1 August 20, 2019 17:50
used space of Drive C is increasing with running of the model aja1345 FLUENT 0 October 7, 2018 14:20
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 01:51


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