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

Why does the non-orthogonal term in FVM need to be evaluated explicitly?

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By RJCHARLIE
  • 2 Post By sbaffini
  • 2 Post By sbaffini
  • 1 Post By aerosayan
  • 2 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2022, 17:28
Default Why does the non-orthogonal term in FVM need to be evaluated explicitly?
  #1
New Member
 
Yu Wang
Join Date: Sep 2021
Posts: 3
Rep Power: 5
RJCHARLIE is on a distinguished road
In FVM, the face normal gradient is split into orthogonal and non-orthogonal part. The orthogonal part is evaluated implicitly, whereas the non-orthogonal part is evaluated explicitly as a source term using known velocity field. My question is why is the non-orthogonal part not implimented in a way such that it is evaluated implicitly? Is there any advantage in the explicit implimentation?
aerosayan likes this.
RJCHARLIE is offline   Reply With Quote

Old   September 4, 2022, 07:08
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Could you better details your question with an example to a textbook/paper?
I suppose your are talking about FV on unatructured grids.
FMDenaro is offline   Reply With Quote

Old   September 4, 2022, 07:46
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by RJCHARLIE View Post
In FVM, the face normal gradient is split into orthogonal and non-orthogonal part. The orthogonal part is evaluated implicitly, whereas the non-orthogonal part is evaluated explicitly as a source term using known velocity field. My question is why is the non-orthogonal part not implimented in a way such that it is evaluated implicitly? Is there any advantage in the explicit implimentation?
The non orthogonal term involves the cell gradients, which has a number of issues.

Let's bypass the difficulty in tracking the coefficients with all the different methods and go straight to the point: you get an enlarged system band getting higher memory consumption, less cache efficiency and reduced diagonal dominance as you put in second layer neighbors. Deferred correction is just simpler and works better.
aerosayan and RJCHARLIE like this.
sbaffini is offline   Reply With Quote

Old   September 4, 2022, 07:52
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Now let me highlight that tracking the coefficients for general methods is a real difficulty. For example, in my code I have a method where a weighted least squares gradient is used as initialization for a green gauss method. It's not impossible but nothing I want to deal with in a general purpose CFD code.
aerosayan and RJCHARLIE like this.
sbaffini is offline   Reply With Quote

Old   September 4, 2022, 10:22
Default
  #5
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Now let me highlight that tracking the coefficients for general methods is a real difficulty. For example, in my code I have a method where a weighted least squares gradient is used as initialization for a green gauss method. It's not impossible but nothing I want to deal with in a general purpose CFD code.
Dr. Nishikawa made a two-step LSQR method which is apparently easier to parallelize since it only depends on the neighbors, and not also the neighbors of neighbors.
RJCHARLIE likes this.
aerosayan is offline   Reply With Quote

Old   September 4, 2022, 13:11
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by aerosayan View Post
Dr. Nishikawa made a two-step LSQR method which is apparently easier to parallelize since it only depends on the neighbors, and not also the neighbors of neighbors.
The issue is not about parallelization per se (it would be but, for example, the number of layers in my code is a parameter, so I just need to change a number if that is required).

The issues are the book keeping to derive the exact coefficient formulas for each gradient method (and, as I wrote, some methods would be very challenging to derive, imagine debugging) and the matrix diagonal dominance in serial as well parallel. More off diagonal terms is bad for diagonal dominance independently from the parallelization.

Even a single layer least squares gradient (which is super easy for the coefficients, because you already have them) still increases the number of layers by 1.
aerosayan and RJCHARLIE like this.
sbaffini is offline   Reply With Quote

Reply

Tags
fvm


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
Named expression for volumetric heat source term that changes with time Bran FLUENT 1 August 12, 2020 22:57
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 06:58
FVM discretization of diffusion term on crvlnr gr Michail Main CFD Forum 3 March 14, 2008 07:52
Convective term evaluated at time n+1/2 Lionel S. Main CFD Forum 0 February 12, 2007 15:22
bouyancy term in epsilon equation Michael Main CFD Forum 1 June 25, 1999 11:20


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