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

Openfoam 10/11 - Non-Newtonian Fluid setup

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2024, 11:20
Default Openfoam 10/11 - Non-Newtonian Fluid setup
  #1
New Member
 
Nidal
Join Date: Nov 2018
Posts: 17
Rep Power: 7
Nidalsb is on a distinguished road
Hi everyone,

I am struggling to setup a non-newtonian fluid within multiphaseInterFoam. It was straightforward before Openfoam 10 was released, were it was setup within transportProperties.

This new method where the non-newtonian model is setup within momentum transport is too confusing.

Can someone please help me figure it out. I found a tutorial implementing a non-newtonian fluid within pimpleFoam. But that also makes no sense as the viscosity model is set to "constant"

Here is what I have, it managed to run but I am not sure if the crossPowerLaw is applied.

MomentumTransport:

Code:
simulationType laminar;

laminar
{
    model               generalisedNewtonian;
    viscosityModel      CrossPowerLaw;
    CrossPowerLawCoeffs
    {
        nu0         [0 2 -1 0 0 0 0]  1-05;
        nuInf       [0 2 -1 0 0 0 0]  1E-12;
        m           [0 0 1 0 0 0 0]   1.00E-03;
        n           [0 0 0 0 0 0 0]   0.7;
    }
}
physicalProperties (Non-newtonian Fluid):

Code:
viscosityModel  constant;

rho           1000;
m             1.00E-03;
n             0.7;
nu            1E-05;
nuInf         1E-12;
I manage to run the simulation just fine with the following output, but I do not get any output from openfoam to show me the non-newtonian viscosity so I am not sure if that is even implemented:

Code:
PIMPLE: Operating solver in transient mode with 6 outer correctors


Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Selecting viscosity model Newtonian
Selecting viscosity model Newtonian
Selecting viscosity model constant
Selecting turbulence model type laminar
Selecting laminar stress model generalisedNewtonian
Selecting generalised Newtonian model CrossPowerLaw

Reading g

Reading hRef
Calculating field g.h

No MRF models present

No fvModels present
No fvConstraints present
I would appreciate any help, thank you!
Nidalsb is offline   Reply With Quote

Reply

Tags
multiphaseinterfoam, non-newtonian, openfoam10


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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 10:08.