CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

some confusion about the user guide's sentence.

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Blanco

LinkBack Thread Tools Display Modes
Old   January 13, 2015, 05:19
Default some confusion about the user guide's sentence.
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 751
Rep Power: 10
sharonyue is on a distinguished road
Hi guys,

In page 35: it said:

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?


Sorry , this link. in sector 2.1.6.
sharonyue is offline   Reply With Quote

Old   January 13, 2015, 07:05
Senior Member
Join Date: Mar 2009
Location: Torino, Italy
Posts: 124
Rep Power: 10
Blanco is on a distinguished road
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 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


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM User Guide's copyright sharonyue OpenFOAM 3 January 11, 2015 15:20
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 18:07
Transient simulations: how to tell its converged (I've read the FAQ & user guides!) JuPa CFX 10 March 12, 2013 10:02
Check particle impaction with User Fortran Julian K. CFX 3 January 12, 2012 10:46
CFX & Phoenics user guides Mat Phoenics 1 January 31, 2003 06:28

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