CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Need modification for MUSLE or MC schemes

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2010, 21:14
Default Need modification for MUSLE or MC schemes
New Member
Liu Huafei
Join Date: Mar 2009
Location: Shanghai, China
Posts: 20
Rep Power: 16
liuhuafei is on a distinguished road
Maybe the MUSCL scheme is same as the MC scheme? Please check them
in the MUSCL.H and MC.H


75 scalar r = LimiterFunc::r
76 (
77 faceFlux, phiP, phiN, gradcP, gradcN, d
78 );
80 return max(min(min(2*r, 0.5*r + 0.5), 2), 0);

76 scalar r = LimiterFunc::r
77 (
78 faceFlux, phiP, phiN, gradcP, gradcN, d
79 );
81 return max(min(min(2*r, 0.5*(1 + r)), 2), 0);

Another question:
Now most of the openFOAM's high resolution schemes are based on TVD.
Many famous NVD schemes such as SMART are not implemented in the openFOAM. What is the reason? Is the implementation of NVD schemes is more difficult than that of TVD schemes?
liuhuafei is offline   Reply With Quote

Old   March 10, 2010, 03:25
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 21
henry is on a distinguished road
Thanks for pointing out the equivalence of the MUCSL and MC schemes. I played with various formulations of the MC scheme a few years ago but was not really satisfied with it and in the end it seems it morphed into the MUCSL within the TVD framework we use. I will delete the MC scheme.

NVD and TVD schemes are equivalently easy to implement in OpenFOAM as you will see from the code for the schemes we currently offer. If you would like to use a scheme not currently implemented please feel free to implement it yourself. If it performs better than the schemes we currently offer we would be happy to include it in the next release.

henry is offline   Reply With Quote

Old   June 12, 2010, 17:58
Default where is LimiterFunc class defined?
New Member
Join Date: Jun 2009
Location: Madison
Posts: 5
Rep Power: 15
lucky1729 is on a distinguished road
Hello Dr. Weller,
I have been trying to find the source of LimiterFunc class that is used in each of the surfaceInterpolationSchemes but have not found it yet. Can you (or anybody interested) suggest what I should look at for the definition of this class?

lucky1729 is offline   Reply With Quote

Old   June 13, 2010, 02:38
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 35
alberto will become famous soon enoughalberto will become famous soon enough
Are you looking for this (OF 1.6.x)?


P.S. This forum is only for bug reports. Questions on the code that are not bug should be in other forums :-)

Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status:
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.

Last edited by alberto; June 13, 2010 at 02:39. Reason: Corrected path
alberto is offline   Reply With Quote


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
time stepping schemes for compressible DNS/LES shyamdsundar Main CFD Forum 0 January 14, 2010 23:15
ENERGY CONSERVATION SCHEMES! Science Seeker Main CFD Forum 1 May 24, 2001 12:13
Advection schemes for LES kalyan Main CFD Forum 2 May 17, 2001 13:43
TVD Schemes Matt Umbel Main CFD Forum 1 January 25, 2000 04:21
Higher-order bounded convection schemes for pure advection with discontinuity Anthony Main CFD Forum 3 June 13, 1999 02:36

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