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

Need modification for MUSLE or MC schemes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2010, 22:14
Default Need modification for MUSLE or MC schemes
  #1
New Member
 
Liu Huafei
Join Date: Mar 2009
Location: Shanghai, China
Posts: 20
Rep Power: 17
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

MUSCL.H

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

MC.H
76 scalar r = LimiterFunc::r
77 (
78 faceFlux, phiP, phiN, gradcP, gradcN, d
79 );
80
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, 04:25
Default
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
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.

H
henry is offline   Reply With Quote

Old   June 12, 2010, 18:58
Default where is LimiterFunc class defined?
  #3
New Member
 
Lakshman
Join Date: Jun 2009
Location: Madison
Posts: 5
Rep Power: 17
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?

Thanks,
Lakshman
lucky1729 is offline   Reply With Quote

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

/home/.../OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme

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

Best,
__________________
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: http://albertopassalacqua.com/?p=1541)
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 03:39. Reason: Corrected path
alberto 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
time stepping schemes for compressible DNS/LES shyamdsundar Main CFD Forum 0 January 15, 2010 00:15
ENERGY CONSERVATION SCHEMES! Science Seeker Main CFD Forum 1 May 24, 2001 13:13
Advection schemes for LES kalyan Main CFD Forum 2 May 17, 2001 14:43
TVD Schemes Matt Umbel Main CFD Forum 1 January 25, 2000 05:21
Higher-order bounded convection schemes for pure advection with discontinuity Anthony Main CFD Forum 3 June 13, 1999 03:36


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