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, 01: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 19:40.
Fishy is offline   Reply With Quote

Old   November 30, 2020, 05:09
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
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 19:15
Error: Out of scheme heap space SSG_NJ FLUENT 2 July 24, 2021 06:31
higher order time and space discretisation for elliptic eq. with a transport eq. emjay Main CFD Forum 1 August 20, 2019 16:50
used space of Drive C is increasing with running of the model aja1345 FLUENT 0 October 7, 2018 13:20
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 00:51


All times are GMT -4. The time now is 14:58.