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

some confusion about the user guide's sentence.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Blanco

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2015, 04:19
Default some confusion about the user guide's sentence.
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys,

In page 35: it said:

Code:
The error in any solution will be more pronounced in regions where the form of the true solution differ widely from the form assumed in the chosen numerical schemes. For example a numerical scheme based on linear variations of variables over cells can only generate an exact solution if the true solution is itself linear in form. The error is largest in regions where the true solution deviates greatest from linear form, i.e. where the change in gradient is largest. Error decreases with cell size.
Im confused about this true solution and exact solution. are they analytic solution? and are they the same one?

Also what does this "form" means?

Thanks.

Sorry , this link. in sector 2.1.6. http://www.openfoam.org/docs/user/ca...#x5-250002.1.6
sharonyue is offline   Reply With Quote

Old   January 13, 2015, 06:05
Default
  #2
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
Hi,
The true solution is the analitical solution to n-s equation, applied without discretizing equations or domain. An exact solution is a computed solution equal to the true solution.

Basically the user guide is saying that you have to consider the proper numerical scheme to use and the cell size. Let's consider two cell centroid and let's say we know the analitical solution between them. Let's also say that the centroid values are equal to the solution values for a certain fluid property. If the true solution is not linear between the cell centroids and you are using a linear numerical scheme, then you will obtain a calculated gradient that will be only a rough approximation of the true gradient. So large error are expected. If you decrease the cell size then the computed gradient will better approximate the true gradient, so the error will decrease.

We have to consider that centroid values are influenced by gradient calculation, as per discretized n-s equations...so If we have large error in gradient calculations then we will probably obtain an incorrect solution (not equal to analitical solution)
sharonyue likes this.
Blanco 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
Transient simulations: how to tell its converged (I've read the FAQ & user guides!) JuPa CFX 12 March 27, 2020 17:24
OpenFOAM User Guide's copyright sharonyue OpenFOAM 3 January 11, 2015 14:20
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 17:07
Check particle impaction with User Fortran Julian K. CFX 3 January 12, 2012 09:46
CFX & Phoenics user guides Mat Phoenics 1 January 31, 2003 05:28


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