nonNewton Model for interFoam
hi dear friends
is non Newtonian viscosity (for example cross law ) applicable in interFoam solver? 
Hmm, I think actually only variation of viscosity by volume fraction is taken into account, not by nonlinear viscosity laws. But it could be implemented.
Best. 
could you explain more !!!!!!! :)

Nima, in UEqn.H there some lines defining the momentum equation for interFoam, basically it has same terms of usual NS equations for newtonian incompressible fluid plus the term due spatial variation of viscosity
fvc::grad(U) & fvc::grad(muEff) and term due surface tension fvc::interpolate(interface.sigmaK())*fvc::snGrad(a lpha1) Treatment of spatial variation of rho depends on what version of FOAM are you using, but your most important point is to add the non newtonian terms. I'm not an expert in that topic, maybe you can post how the nonnewtonian momentum looks like, so it could be possible to write it in FOAM language. Regards. 
Nonnewtonian viscosity is supported by interFoam just like most of the other incompressible solvers. The constitutive model for fluid viscosity is hiding inside the "twoPaseMixture" model, which is updated inside the turbulence model. At its base, the twoPhaseMixture just combines two runtime selectable viscosity models which could be any of those defined in Foam.

Aha, as Eugene said, some lines before there are these ones,
Code:
00001 surfaceScalarField muEff Best. 
hi buddies
first: as i know the difference between linear or non linear fluid is in the relation between starin and stress so we should consider the non linearity just for viscose term in momentum Equation and it is considered in interFoam , so no more change is needed, am i right? second : where can i find appropriate coefficient for nonNewton fluid, it seems interFoam formula implementation is some how different from typical formulation 
Yes Santiago, you are probably right. In 1.5 there was rasInterFoam and lesInterFoam.
There is already a nearcomplete example of nonNewtonian fluid use in the interFoam tutorials. You just need to change the "transportModel" entry in phase1 or phase2 (or both) to match that you need. Unfortunately, the examples do not detail all the different viscosity models, so you might have to dig into the code to find out which coefficients need to be specified. 
Hi, from CrossPowerLaw.C we have:
Code:
00051 Foam::tmp<Foam::volScalarField> 
Hi
Hi guys,
how one can use two differnet viscosityModels in the same solver, and how to call the two viscosities from their models, lets say: transportModel1 PowerLaw, tranportModel2 Crosspowerlaw How is that can be done? i don't need to use turbulence, i need something direct like icoFoam, but i'll define my transportModels in the dictionary. Help please? 
hi again
im still looking for a reference in nonNewtonain fluid in openFoam, does any body know from where i can find appropriate value for transport model? 
hi
hi if you are looking for the viscosity, it is under fluid.nu() in the nonNewtonian fluid.
Quote:

thanks T.D but i look for appropriate values FOR EXAMPLE for crosslaw fluid in transportModels subdict in constant directory !!!!!!!!

HI
Hi
here are the definitions in constant/transportProperties directory transportModel CrossPowerLaw CrossPowerLawCoeffs { nu0 nu0 [0 2 1 0 0 0 0] 1e06; nuInf nuInf [0 2 1 0 0 0 0] 1e06; m m [0 0 1 0 0 0 0] 1; n n [0 0 0 0 0 0 0] 1; } 
hi T.D thanks again :)
but what fluid do you define ? my problem is here, i dont know where i can find these values for different material ? 
HI
Quote:
http://www.cfdonline.com/Forums/ope...itymodel.html :) 
Implemention of NonNewtonian model in Interfoam
Hi all,
I am trying to apply nonnewtonian model interfoam. In transport properties, instead of newtonian model I intered HerschelBulkley and HerschelBulkleyCoeffs. After running it shows me erro. The transport properties file is written as below: FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // phases (water air); water { transportModel HerschelBulkley; { HerschelBulkleyCoeffs nu0 [ 0 2 1 0 0 0 0 ] 1e+03; tau0 [ 0 2 2 0 0 0 0 ] 0.016; k [ 0 2 1 0 0 0 0 ] 0.02; n [ 0 0 0 0 0 0 0 ] 1; } } air { transportModel HerschelBulkley; { HerschelBulkleyCoeffs nu0 [ 0 2 1 0 0 0 0 ] 1e+03; tau0 [ 0 2 2 0 0 0 0 ] 0.001; k [ 0 2 1 0 0 0 0 ] 0.0023; n [ 0 0 0 0 0 0 0 ] 1; } } sigma 0.07; // ************************************************** *********************** // ************************************************** ************************ I think interfoam solver needs to have rho for both phases as input. But I don't know where I should put rho as input? Could you please help me? Thanks 
I found my problem the correct form of transport properties should be as below :
******************************** /** C++ **\ =========  \\ / F ield  OpenFOAM: The Open Source CFD Toolbox \\ / O peration  Website: https://openfoam.org \\ / A nd  Version: 6 \\/ M anipulation  \**/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // phases (water air); water //concrete { rho rho [1 3 0 0 0 0 0] 2500.0; transportModel HerschelBulkley; HerschelBulkleyCoeffs { nu0 [ 0 2 1 0 0 0 0 ] 1e+03; //[ 0 2 1 0 0 0 0 ] tau0 [ 0 2 2 0 0 0 0 ] 0.016; //[ 0 2 2 0 0 0 0 ] k [ 0 2 1 0 0 0 0 ] 0.02; //[ 0 2 1 0 0 0 0 ] n [ 0 0 0 0 0 0 0 ] 1; //[ 0 0 0 0 0 0 0 ] } } air //lubrication { rho rho [1 3 0 0 0 0 0] 2000.0; transportModel HerschelBulkley; HerschelBulkleyCoeffs { nu0 [ 0 2 1 0 0 0 0 ] 1e+03; tau0 [ 0 2 2 0 0 0 0 ] 0.001; k [ 0 2 1 0 0 0 0 ] 0.0023; n [ 0 0 0 0 0 0 0 ] 1; } } sigma 0.07; // ************************************************** *********************** // ************************************************* 
You tooran,
do you know how to insert nonnewtonian behavior in compressibleInterFoam? It seems that the insertion is different from interFoam... Does anyone know how to do it? Thanks! 
All times are GMT 4. The time now is 23:56. 