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

TVD schemes, questions about limitedLinear

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

Like Tree17Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2015, 07:11
Default
  #21
Member
 
Davi Barreira
Join Date: Apr 2014
Location: Fortaleza
Posts: 76
Rep Power: 6
davibarreira is on a distinguished road
There is Dr Jasak's thesis, which is a must for people using OpenFOAM (just google it and you will find right away). And also Versteeg and Malalasekera book on CFD.
davibarreira is offline   Reply With Quote

Old   October 25, 2018, 06:05
Default limited Linear NOT Sweby
  #22
New Member
 
Jan Gaertner
Join Date: Nov 2017
Posts: 6
Rep Power: 3
janGaertner is on a distinguished road
Hey,


I have seen in many posts, that limitedLinear uses the Sweby limiter function. This is not correct.



If you look at the code of the limitedLinear.H file you see:
Code:
     

scalar limiter
      (
         const scalar cdWeight,
         const scalar faceFlux,
         const typename LimiterFunc::phiType& phiP,
         const typename LimiterFunc::phiType& phiN,
         const typename LimiterFunc::gradPhiType& gradcP,
         const typename LimiterFunc::gradPhiType& gradcN,
         const vector& d
     ) const
     {
         scalar r = LimiterFunc::r
         (

             faceFlux, phiP, phiN, gradcP, gradcN, d
         );
         return max(min(twoByk_*r, 1), 0);
     }
I have plotted this function in the r-psi(r) plane, limitedLinear.png
janGaertner is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A few simple questions about linearUpwind and limitedLinear chegdan OpenFOAM 20 May 8, 2018 08:22
Using TVD Schemes in fvScheme aydemirk OpenFOAM Pre-Processing 1 August 20, 2014 05:26
TVD schemes Vino Main CFD Forum 3 September 16, 2013 20:47
TVD schemes: 2 questions Shuo Main CFD Forum 0 August 19, 2008 22:51
TVD Schemes Matt Umbel Main CFD Forum 1 January 25, 2000 05:21


All times are GMT -4. The time now is 22:30.