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

Create limited schemes

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By agustinvo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2021, 09:19
Default Create limited schemes
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hello,


there is available the limitedLinear scheme, which switchs between the linear and upwind schemes according to the gradient magnitude and the limiter you specify (at least this is what the documentation says). It is possible to develop a similar scheme, but using linearUpwind instead of upwind? It is not obvious to find the proper directories for such scheme.


Thank you in advance
agustinvo is offline   Reply With Quote

Old   March 8, 2021, 15:53
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 736
Rep Power: 14
Tobermory will become famous soon enough
Just a quick sanity check - is that a good idea, Agustin? Remember, the only reason for blending in a little upwind is to stabilise the central (linear) differencing. It does this by taking advantage of the diffusive nature of the 1st order upwind scheme. I don't think that linearUpwind would have the same stabilising effect, since it is dispersive ...
Tobermory is offline   Reply With Quote

Old   March 10, 2021, 03:59
Default
  #3
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi,


I was wondering this because I found a very diffusive simulation, but I found that the problems comes from the turbulence model (too much nut) rather than the numerical schemes.


Thank you for your comment! In any case, I think it is itneresting to know this part of the OF code, I always stayed in the boundary condictions, turbulence modelling... but I never entered in this region.


Regards
Tobermory likes this.
agustinvo 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
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox manuc OpenFOAM Running, Solving & CFD 1 April 12, 2022 12:36
Compressible flows with larger Courant numbers Tobi OpenFOAM Running, Solving & CFD 5 February 26, 2021 16:20
Maximum Temperature limited to xx in cells error LorenzoVonMT STAR-CCM+ 11 March 12, 2019 00:06
Turbomachinery, transient flow - temperature limited and pressure AMG divergence dariuszkoz FLUENT 0 January 2, 2019 09:43
Actuator disk model audrich FLUENT 0 September 21, 2009 08:06


All times are GMT -4. The time now is 04:28.