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

MCQuestion about numerical methods

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By aerosayan
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2024, 03:45
Default MCQuestion about numerical methods
  #1
New Member
 
Sim
Join Date: Jan 2024
Posts: 4
Rep Power: 2
CFD_npc is on a distinguished road
Can someone help me with this multiple choice question?

Spatial discretization methods M1 (order1) and M2 (order 2) are applied on the same grid with uniform spacing h. Which is the correct statement?

1) the truncation error depends on the grid spacing h;

2) the truncation error of method M2 is always higher than M1 ;

3) the truncation error of method M1 is always higher than M2 ;

4) the truncation error does not depend on the grid spacing h, but on the order of the methods

thanks in advance
CFD_npc is offline   Reply With Quote

Old   January 24, 2024, 04:00
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CFD_npc View Post
Can someone help me with this multiple choice question?

Spatial discretization methods M1 (order1) and M2 (order 2) are applied on the same grid with uniform spacing h. Which is the correct statement?

1) the truncation error depends on the grid spacing h;

2) the truncation error of method M2 is always higher than M1 ;

3) the truncation error of method M1 is always higher than M2 ;

4) the truncation error does not depend on the grid spacing h, but on the order of the methods

thanks in advance



Please, do not post here homework.
FMDenaro is offline   Reply With Quote

Old   January 24, 2024, 04:40
Default
  #3
New Member
 
Sim
Join Date: Jan 2024
Posts: 4
Rep Power: 2
CFD_npc is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Please, do not post here homework.
I apologise, I was discussing about this question with a colleague of mine and I thought that someone could have helped us. We're not just looking for the right ans, but we're interested in the explanation. However, sorry for posted It
CFD_npc is offline   Reply With Quote

Old   January 24, 2024, 04:55
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CFD_npc View Post
I apologise, I was discussing about this question with a colleague of mine and I thought that someone could have helped us. We're not just looking for the right ans, but we're interested in the explanation. However, sorry for posted It



Study the topic, this is well explained in a lot of textbook. You can propose a question on fundamental CFD topics but here you have not tried to give at least your opinion to discuss.
FMDenaro is offline   Reply With Quote

Old   January 24, 2024, 05:05
Default
  #5
New Member
 
Sim
Join Date: Jan 2024
Posts: 4
Rep Power: 2
CFD_npc is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Study the topic, this is well explained in a lot of textbook. You can propose a question on fundamental CFD topics but here you have not tried to give at least your opinion to discuss.
Sure, I'll give you my point of view. Truncation error is usually proportional to a power of the grid spacing \delta{h}^{n_th}. Thus, It is function of the grid spacing and function of nth order approximation of the method used. If on the same grid, I discretize with a 2nd order scheme, I expect a lower truncation error than the one I have with a 1st order scheme.

However, in the MCQ I reported, just one answer is correct... maybe there is some special case for which 1st order leads to a lower truncation error but I'm not sure
CFD_npc is offline   Reply With Quote

Old   January 24, 2024, 05:51
Default
  #6
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Quote:
Originally Posted by CFD_npc View Post
4) the truncation error does not depend on the grid spacing h, but on the order of the methods.
The truncation error depends on the order of the methods.

In your case, since both grids have uniform spacing, the 2nd order FVM code will be more accurate.

I understand why you may be confused in this matter, as books mostly say 2nd order methods are better, and give a mathematical reasoning to why that is, but they do not give a physical intuition to a CFD engineer on why higher order methods are better.

In short: With higher order methods, you can get accurate solutions, with coarse meshes.

Or its corollary: With lower order methods, you need extremely dense meshes to get accurate solutions.

This is mathematically verified by plotting the error graph for 1st order, 2nd order, and 3rd order solvers.

As can be seen, the 3rd order solver's error plot has a higher steep, meaning, it is more accurate than 2nd order solvers on the same grid.

For more understanding you would need to study more about this.
Attached Images
File Type: jpg res.jpg (74.4 KB, 15 views)
CFD_npc likes this.
aerosayan is offline   Reply With Quote

Old   January 24, 2024, 07:56
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,771
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CFD_npc View Post
Sure, I'll give you my point of view. Truncation error is usually proportional to a power of the grid spacing \delta{h}^{n_th}. Thus, It is function of the grid spacing and function of nth order approximation of the method used. If on the same grid, I discretize with a 2nd order scheme, I expect a lower truncation error than the one I have with a 1st order scheme.

However, in the MCQ I reported, just one answer is correct... maybe there is some special case for which 1st order leads to a lower truncation error but I'm not sure
The local truncation error is a sum of infinite terms, derivatives multiplied by the step sizes.
For a fixed grid size you know only how the lte has some error magnitudine but you cannot say that for that grid size the error is lower for the higher order discretization. The errror decreases asimptotically with h^p.
Have a look to the book of Ferziger, Peric, Street as example of such cases.
CFD_npc likes this.
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
what is Spectral Methods? Aerterliusi Main CFD Forum 5 August 3, 2023 04:01
Can all solution methods converge? Nawaf_Ar FLUENT 5 September 6, 2022 07:56
Tutorial : Plasma Actuators and their numerical modeling amind FLUENT 0 February 7, 2022 06:08
Numerical methods in fluid dynamics, n00b! kamillaa Main CFD Forum 10 March 23, 2013 18:37
Numerical methods for discontinuous grid interfaces? Hansong Hang Main CFD Forum 12 September 16, 1998 22:26


All times are GMT -4. The time now is 23:11.