|
[Sponsors] |
June 10, 2010, 05:14 |
Piecewise viscosity model
|
#1 |
Member
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 17 |
Dear foamers,
I'd like to create a piecewise viscosity model described as following: (1) when T<Tg, viscosity is equal to a constant: nu = nu0; (2) when T>=Tg, viscosity varies with temperature, pressure and strain rate: nu= (B_*exp(B1_*pd)*exp(Tb_/T))/(RHO_*(scalar(1)+pow((B_*exp(B1_*pd)*exp(Tb_/T))*strainRate()/t1_, scalar(1)-n_))); where B, B1, Tb, t1, n are material constants. How to define this piecewise function in calcNu() in user-defined viscosity model? Best regards, Jitao |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implementing new viscosity model | prjohnston | OpenFOAM Running, Solving & CFD | 6 | July 3, 2015 04:26 |
Yielding viscosity for Herschel Bulkley model | Godwin | FLUENT | 1 | December 12, 2011 05:42 |
How to modify the viscosity model | mpml | OpenFOAM Running, Solving & CFD | 4 | October 13, 2010 07:44 |
about compresive phase | James | CFX | 10 | September 12, 2006 03:16 |
Frictional viscosity in granular model | Hp | FLUENT | 4 | June 1, 2004 20:42 |