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

Where can I find the code for the div schemes

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2017, 11:07
Question Where can I find the code for the div schemes
  #1
New Member
 
Shui Pei
Join Date: Mar 2009
Posts: 25
Rep Power: 14
spwater is on a distinguished road
Hi:

I am going to do some modifications on the schemes for my research task, which needs to eliminate the \partial(u) / \partial(y).

My question is, where can I find the source code of current existed div schemes in OpenFoam? I can find some code at
/OpenFOAM-dev/src/finiteVolume/finiteVolume/divSchemes/divScheme/

but I cannot any specific schemes, like bounded Gauss upwind or so on.

Is there any tutorial or example I can find for this scheme modification work?

Thank you in advance!

Yours

Pei
spwater is offline   Reply With Quote

Old   October 9, 2017, 18:27
Default div
  #2
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 114
Rep Power: 7
Marpole is on a distinguished road
The bottom level functions are in folder finiteVolume/finiteVolume/fvc, where you can find the implementation of Average, Curl, D2dt2, DDt, Ddt, Div, Flux, Grad, Laplacian, etc.
Marpole is offline   Reply With Quote

Old   October 10, 2017, 00:53
Default
  #3
New Member
 
Shui Pei
Join Date: Mar 2009
Posts: 25
Rep Power: 14
spwater is on a distinguished road
Quote:
Originally Posted by Marpole View Post
The bottom level functions are in folder finiteVolume/finiteVolume/fvc, where you can find the implementation of Average, Curl, D2dt2, DDt, Ddt, Div, Flux, Grad, Laplacian, etc.
Thank you a lot! May I ask if there is any example or tutorial of how to add or modify a scheme in OpenFOAM?
spwater is offline   Reply With Quote

Reply

Tags
scheme

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fundamental questions about numerical schemes Obad OpenFOAM Running, Solving & CFD 1 May 10, 2021 10:40
How to find which values need schemes. Calmly OpenFOAM Running, Solving & CFD 8 September 5, 2017 12:09
Fluent Parallelization Problem After AC Power Dropped pawl Hardware 5 November 13, 2016 06:08
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 10:22
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38


All times are GMT -4. The time now is 05:42.