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

PimpleFoam for non-Newtonian flows

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2021, 04:19
Default PimpleFoam for non-Newtonian flows
  #1
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Hi everybody,
I am using the pimpleFoam solver for a yield stress Herschel-Bulkley flow. The question is about my setting in fvSolution script.
Code:
PIMPLE
{
    momentumPredictor   on;
    nOuterCorrectors    15;
    nCorrectors         3;
    nNonOrthogonalCorrectors 0;
    pRefCell            0;
    pRefValue           0;
    turbOnFinalIterOnly no;
}
And specifically, its turbOnFinalIterOnly setting. Is it needed for me to update the viscosity in every outer Corrector iteration for a non-Newtonian fluid? Or just updating at the end of solution and the current time step is enough.
Cheers,
Mohammad

Last edited by mostanad; June 11, 2021 at 08:12.
mostanad is offline   Reply With Quote

Old   September 1, 2021, 16:30
Default
  #2
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 14
frantov is on a distinguished road
If your problem is significantly turbulent, you might want to solve k and omega at each time-step, by setting this flag turbOnFinalIterOnly

If not, then save calculations and cpu tine
frantov is offline   Reply With Quote

Old   September 3, 2021, 03:11
Default
  #3
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 274
Rep Power: 11
mostanad is on a distinguished road
Hi Francisco
Thanks for your reply. What about a non-Newtonian flow which needs viscosity update?
Mohammad
mostanad is offline   Reply With Quote

Old   September 3, 2021, 05:14
Default
  #4
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 14
frantov is on a distinguished road
Quote:
Originally Posted by mostanad View Post
Hi Francisco
Thanks for your reply. What about a non-Newtonian flow which needs viscosity update?
Mohammad
Hi Mohammad

As far as I understand, OpenFOAM includes a library of strain-rate dependent viscosity models, where they construct the viscosity as a field (scalar).

This construction is function of some constants but also the strainRate() which is dependent on the flow conditions. You can visualize nu (viscosity) in paraview, and check that it is actually updated every iteration.
frantov 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
pimpleFoam runs slower than rhoPimpleFoam Kosuke Seto OpenFOAM Running, Solving & CFD 3 May 27, 2023 14:12
Running pimpleFoam in steady state trailer OpenFOAM Running, Solving & CFD 6 January 24, 2023 03:07
QGDsolver - OpenFOAM computational framework for fluid flows based on regularized equ mkraposhin OpenFOAM Announcements from Other Sources 7 September 13, 2021 03:09
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 18:19
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35


All times are GMT -4. The time now is 03:37.