CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Verification & Validation

Convergence order of a simple laplacianFoam case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 9, 2021, 10:50
Default Convergence order of a simple laplacianFoam case
  #1
New Member
 
David
Join Date: Dec 2017
Posts: 4
Rep Power: 8
daven is on a distinguished road
Hi everyone,


I'm simulating a simple case using `laplacianFoam` (it's actually a slightly modified version of `laplacianFoam` which takes a non-zero RHS into account, but this should not matter for the overall question) on a two-dimensional rectangular domain. Since initial conditions as well as boundary conditions are space and time dependent, I use `funkySetFields` in order to initialize my domain and `groovyBC` in order to apply the space-time dependent Dirichlet boundary conditions on all domain boundaries.


The test case has a known analytic solution, so that I can evaluate the error at each individual time step. However, I would expect the error convergence to be of second order, whereas I observe only first order convergence.


The relevant settings from my fvSchemes are essentially


Code:
    grad(T)         Gauss linear;

    laplacian(DT,T) Gauss linear corrected;
which are according to the OpenFOAM documentation both second order schemes. Only my time discretization is of first order, but the problem is linear in time, so that I don't expect relevant errors from this side.


Is my expectation of a second order convergence simply wrong or do you see any obvious errors in my simulation setup? Any hints are very welcome.


Thanks in advance and best regards,
David
daven is offline   Reply With Quote

Reply

Tags
convergence, numerical schemes


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
Convergence Centurion2011 FLUENT 48 June 15, 2022 00:29
Cannot get convergence with 2nd order scheme for velocity convection term Jaco_97 OpenFOAM Running, Solving & CFD 5 May 29, 2020 09:35
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 16:13
Does the Case Termination Control based on coefficient convergence work? ronithstanly OpenFOAM Running, Solving & CFD 0 May 1, 2017 05:27
Simple single element wing convergence Jonny6001 FLUENT 0 March 10, 2010 06:01


All times are GMT -4. The time now is 17:39.