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

Does OpenFOAM Have an Implicit Gradient?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2020, 18:20
Default Does OpenFOAM Have an Implicit Gradient?
  #1
New Member
 
Sean
Join Date: Nov 2014
Posts: 3
Rep Power: 12
SeanOpenfoam is on a distinguished road
Dear all,


Hello! I'm new to CFD and OpenFOAM, but I've played around with creating and modifying the source code for a little bit, and I have a question about OpenFOAM's implicit schemes.



I've read on this forum that OpenFOAM does not have an implicit formulation for the gradient of a variable.



The explanation, as I understand it, is that under certain conditions, such as a uniform mesh, an implicit gradient formulation would produce a coefficient matrix with zeros on the diagonal. We can, by hand, write out a 1D mesh of a few cells and a single variable, discretize that variable, and see for ourselves how those zeros are produced.


However, everything I've seen so far is at least a couple of years old, and with OpenFOAM v8 now available, I'm wondering if anything has changed. I haven't seen a "grad" scheme listed under the FVM namespace in the c++ source guide, but perhaps I just missed something.
SeanOpenfoam is offline   Reply With Quote

Old   October 9, 2020, 04:43
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 798
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Chapter 9 of the book Moukalled-Darwish-Mangani [1] does confirm explicit only.

Not sure where advanced linear algebra as e.g. [2] allows to by-pass the numerical linear algebra argument that you validly raise.

[1]: Moukalled, Manga and Darwish, The finite volume method in computational fluid dynamics, Springer 2015 , http://www.springer.com/gp/book/9783319168739

[2]: OpenFoam-PETSc interface: https://develop.openfoam.com/modules/external-solver
dlahaye 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 15:42
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 05:57
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56


All times are GMT -4. The time now is 07:48.