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

Interested in programming your own schemes?

Register Blogs Community New Posts Updated Threads Search

Like Tree22Likes
  • 14 Post By Jesper_Roland
  • 1 Post By mAlletto
  • 4 Post By Jesper_Roland
  • 1 Post By Ramkumar21194
  • 1 Post By Tibo99
  • 1 Post By Jesper_Roland

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2021, 06:02
Smile Interested in programming your own schemes?
  #1
New Member
 
Jesper R. K. Qwist
Join Date: Dec 2017
Posts: 22
Rep Power: 8
Jesper_Roland is on a distinguished road
Hi everyone,

I would like to hear if there is any interest in a video tutorial series on how to copy and modify various schemes in OpenFOAM?

I have experience with creating my own:
- Temporal schemes
- Convection schemes
- Divergence schemes
- Laplacian schemes
- Interpolation schemes

I have in mind that the tutorials should cover how to copy the existing numerical scheme, the associated base class and how to create a new call from the fvc/fvm namespace which can be used in the solver codes. Furthermore for the cenvection and laplacian operators, I would also spent some time on showing how the coefficient matrices are assembled face by face. This is more a help to the programming beginners in OpenFOAM, that would like to link the code to theory that they learned in their basic CFD course.

Please give the post a comment to share you opinion if you are interested.

If there is enough interest I will start to consider how I can make time to create these tutorials in the future.

Cheers,

Jesper Qwist
mayursathe, nipinl, kera and 11 others like this.
Jesper_Roland is offline   Reply With Quote

Old   March 24, 2021, 12:19
Default
  #2
New Member
 
Nipin L
Join Date: Nov 2012
Location: Canada
Posts: 23
Rep Power: 14
nipinl is on a distinguished road
It would be great if you could find time to make such tutorials. Needless to say, I'm interested.
nipinl is offline   Reply With Quote

Old   March 24, 2021, 13:09
Default
  #3
New Member
 
Mayur Sathe
Join Date: Jul 2012
Location: Chicago, USA
Posts: 2
Rep Power: 0
mayursathe is on a distinguished road
Sure! it will help people teetering on the edge and afraid to take a plunge, myself included!
mayursathe is offline   Reply With Quote

Old   March 24, 2021, 13:44
Default
  #4
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
I would be also interested since I'm trying to implement a new interpolation scheme myself and I'm totally lost.

Your help would be appreciated!

Best Regards,
Tibo99 is offline   Reply With Quote

Old   March 24, 2021, 14:04
Default
  #5
Member
 
Join Date: Feb 2020
Posts: 90
Rep Power: 6
Shibi is on a distinguished road
10/10 approve!


10/10 would buy from udemy
Shibi is offline   Reply With Quote

Old   March 26, 2021, 06:18
Default
  #6
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
Maybe you can try to publish the tutorial here: https://wiki.openfoam.com/Tutorials
Shibi likes this.
mAlletto is offline   Reply With Quote

Old   March 27, 2021, 06:32
Default
  #7
New Member
 
Wassim Abdel Nour
Join Date: Feb 2021
Location: France
Posts: 16
Blog Entries: 1
Rep Power: 5
wa$$im is on a distinguished road
Great Idea !

Will be very useful to me.

Thank you !
wa$$im is offline   Reply With Quote

Old   April 21, 2021, 05:24
Default Thank you for the feedback
  #8
New Member
 
Jesper R. K. Qwist
Join Date: Dec 2017
Posts: 22
Rep Power: 8
Jesper_Roland is on a distinguished road
Hi everyone,

Thank you for the feedback.

I have decided to make an attempt on the first tutorial, which will be on interpolation schemes, when I find the time. Doing a PhD and having a 1 year old daugther leaves very little time, but I will do it as soon as I can.

I will also try to make it available at https://wiki.openfoam.com/Tutorials.

Cheers,

Jesper
nipinl, Tibo99, Shibi and 1 others like this.
Jesper_Roland is offline   Reply With Quote

Old   April 21, 2021, 09:14
Default
  #9
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Thank you very much for the update.

I'll certainly appreciate your work.

Good success and stay safe.

Best Regards,
Tibo99 is offline   Reply With Quote

Old   April 22, 2021, 10:14
Default
  #10
New Member
 
warner chang
Join Date: Aug 2020
Posts: 21
Rep Power: 6
warnerchang is on a distinguished road
of course!

looking forward to it!
warnerchang is offline   Reply With Quote

Old   April 25, 2021, 06:22
Default
  #11
New Member
 
Ramkumar
Join Date: Nov 2014
Location: pondicherry, India
Posts: 16
Rep Power: 12
Ramkumar21194 is on a distinguished road
Hi, i am pretty much interested in such coding tutorials of OpenFOAM C++.. please let us know when u publish/upload ur tutorials.. it would be a great resource!


Thank you in advance for ur work!
Tibo99 likes this.
Ramkumar21194 is offline   Reply With Quote

Old   May 19, 2021, 10:01
Default
  #12
Member
 
Join Date: Feb 2020
Posts: 90
Rep Power: 6
Shibi is on a distinguished road
Any update on this?
Shibi is offline   Reply With Quote

Old   July 8, 2021, 13:19
Default
  #13
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Is it still on working progress?
Tibo99 is offline   Reply With Quote

Old   November 8, 2021, 07:04
Default
  #14
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 139
Rep Power: 7
Sakun is on a distinguished road
Quote:
Originally Posted by Jesper_Roland View Post
Hi everyone,

I would like to hear if there is any interest in a video tutorial series on how to copy and modify various schemes in OpenFOAM?

I have experience with creating my own:
- Temporal schemes
- Convection schemes
- Divergence schemes
- Laplacian schemes
- Interpolation schemes

I have in mind that the tutorials should cover how to copy the existing numerical scheme, the associated base class and how to create a new call from the fvc/fvm namespace which can be used in the solver codes. Furthermore for the cenvection and laplacian operators, I would also spent some time on showing how the coefficient matrices are assembled face by face. This is more a help to the programming beginners in OpenFOAM, that would like to link the code to theory that they learned in their basic CFD course.

Please give the post a comment to share you opinion if you are interested.

If there is enough interest I will start to consider how I can make time to create these tutorials in the future.

Cheers,

Jesper Qwist
Hi ,

is there any tutorials regarding implementing turbulence modelling ?
Sakun is offline   Reply With Quote

Old   February 9, 2022, 09:42
Default
  #15
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
I'm wondering if your tutorial about implementing new/custom interpolation scheme is still on working progress? Or did you post it somewhere on GitHub or an other platform?

@Ramkumar21194 and I made an attempt but the scheme don't seem to take effect.

We share the work on GitHub here:

https://github.com/RTibo/OpenFOAM-Ne...ation-Scheme-U

If anyone see something about what could cause the issue, please share your observations.

Best Regards,
Sakun likes this.
Tibo99 is offline   Reply With Quote

Old   January 7, 2024, 09:16
Default
  #16
Senior Member
 
NotOverUnderated's Avatar
 
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5
NotOverUnderated is on a distinguished road
Quote:
Originally Posted by Jesper_Roland View Post
Hi everyone,

I would like to hear if there is any interest in a video tutorial series on how to copy and modify various schemes in OpenFOAM?

I have experience with creating my own:
- Temporal schemes
- Convection schemes
- Divergence schemes
- Laplacian schemes
- Interpolation schemes

I have in mind that the tutorials should cover how to copy the existing numerical scheme, the associated base class and how to create a new call from the fvc/fvm namespace which can be used in the solver codes. Furthermore for the cenvection and laplacian operators, I would also spent some time on showing how the coefficient matrices are assembled face by face. This is more a help to the programming beginners in OpenFOAM, that would like to link the code to theory that they learned in their basic CFD course.

Please give the post a comment to share you opinion if you are interested.

If there is enough interest I will start to consider how I can make time to create these tutorials in the future.

Cheers,

Jesper Qwist
I appreciate your willingness to create tutorials, as there seems to be significant interest in them. However, I would gently remind that it's important to only commit to what can realistically be achieved, especially considering the time that has passed since the initial proposal.

Kind regards.
__________________
Don't keep making the same mistakes. Try to make new mistakes.
NotOverUnderated is offline   Reply With Quote

Old   January 8, 2024, 07:32
Default Thread closed
  #17
New Member
 
Jesper R. K. Qwist
Join Date: Dec 2017
Posts: 22
Rep Power: 8
Jesper_Roland is on a distinguished road
Quote:
Originally Posted by NotOverUnderated View Post
I appreciate your willingness to create tutorials, as there seems to be significant interest in them. However, I would gently remind that it's important to only commit to what can realistically be achieved, especially considering the time that has passed since the initial proposal.

Kind regards.
Hi there,

You are right. I had great intentions, but I had to realise that I couldn't back it up with the hours of work that it required besides my full time job.

So to avoid future disappointment, I will state clearly that the thread is closed, and I will not be able to create any tutorials.

I cannot delete the thread, so this is the best I can do for now.

Al the best,

Jesper
olesen likes this.
Jesper_Roland is offline   Reply With Quote

Reply

Tags
modify scheme, new operator, new scheme, programming schemes


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
OF div schemes greatly influence the result Samuel Twain OpenFOAM Running, Solving & CFD 4 August 2, 2021 11:38
[PyFoam] Using pyFoamPlotWatcher.py To Plot Residuals m_ridzon OpenFOAM Community Contributions 22 January 26, 2021 19:48
How can i make a parallel programming in OpenFOAM? jignesh_thaker2007 OpenFOAM Running, Solving & CFD 3 July 2, 2014 10:37
QUICK based Schemes bigorneault Main CFD Forum 4 February 7, 2013 12:02
Better organization of Convective Term approximation schemes Michail CFD-Wiki 0 March 15, 2012 13:56


All times are GMT -4. The time now is 08:46.