|
[Sponsors] |
November 3, 2021, 08:38 |
Temperature dependent viscosity
|
#1 |
New Member
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6 |
Hi Everyone,
I am trying to simulate a water lubricated bearing on CFX. With that in mind, I want to take into consideration the viscosity variation with temperature. The attached photo shows the relation between the kinematic viscosity [cSt] and Temperature [K]. I would like to import this formula into CFX, and I tried writing an expression, but without any success. Can anyone explain to me on how do that please? Note: a, n, and m are constants. Thank you very much in advance! Capture.PNG |
|
November 3, 2021, 09:26 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33 |
That is an implicit formula for kinematic viscosity as a function of T.
Which explicit form of that formula did you attempt to use? We (forum members) can then help you with the CEL details
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
November 3, 2021, 10:03 |
|
#3 |
New Member
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6 |
Thanks for the reply Opaque!
The formula was based on MacCoull and Walther's relation which is provided in the literature in its implicit form. The image in this link (https://1drv.ms/u/s!AkCnaOk1rReFzULinQPjc1_aurxy) shows the formula in its original form. Is it possible to write it in this form into CFX? |
|
November 3, 2021, 11:05 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33 |
ANSYS CFX expects a formula for viscosity explicitly, say
Dynamic Viscosity = F (T) In your case, you must solve for "nu" as a function of T nu = density * ( 10** ( 10 ** ( ...) ) - a) Just be careful to keep all the evaluations within bounds.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
November 3, 2021, 11:07 |
|
#5 |
New Member
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6 |
Thanks for the advice!
|
|
November 3, 2021, 20:11 |
|
#6 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,183
Rep Power: 23 |
MathCAD is great at algebra, see attached image.
And then viscosity written in CEL: = -Aconstant + (10^((10^Nconstant)/((TempUnitless)^Mconstant))) Define TempUnitless as Temperature*1[K^-1] (if it is in units of K) You can plot your expression when defining it to make sure it is what you expect. |
|
November 5, 2021, 06:04 |
|
#7 |
New Member
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6 |
Thanks for the reply and advice Evcelica!
|
|
August 18, 2022, 07:48 |
|
#8 |
New Member
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4 |
Hello
I am also working on the same problem, but facing problem. The solver is ending up with error. If any one can help please suggest what I can do. I want to use temperature dependent viscosity in my model. Thank and Regards |
|
August 18, 2022, 08:34 |
|
#9 |
New Member
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6 |
Hi,
Make sure you specify the units at the end only. This is the formula that I wrote: ((10^(10^(n-(m*(log(T*1[K^-1]))))))-a)*(1000)*(10^-6) [Pa s] In the formula (n, m , a) are constants. T represents the temerature, but notice that I added (k^-1) to make it a dimensionless value. At the very end, I specify the unit which is (Pa s) BE CAUTIOUS with the UNITS in your case. Hope this was helpful. Qais Khraisat |
|
August 18, 2022, 14:52 |
|
#10 |
New Member
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4 |
Hello,
Thank you very much the problem is solved. Do you know how I can calculate Frictional Torque in Hydrodynamic Thrust Pad Bearing. |
|
August 18, 2022, 19:39 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
Use the CEL expressions like torque_x(), torque_y() etc on the boundary face which is the face you want the torque from.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
August 20, 2022, 12:50 |
|
#12 |
New Member
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4 |
Hello
Thank you very much I got all the problem solved. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to Define Temperature Dependent Negative Heat Source | ATIKADAR | Fluent UDF and Scheme Programming | 1 | September 23, 2019 04:52 |
Temperature dependent viscosity (Carreau-Yasuda) | open | OpenFOAM Programming & Development | 3 | June 21, 2016 09:35 |
Problems in converging viscosity UDF dependent upon strain rate and temperature. | alexskerhut | Fluent UDF and Scheme Programming | 1 | March 17, 2016 08:19 |
OpenFOAM solver for incompressible BUT temperature dependent flow | niko0807 | OpenFOAM Running, Solving & CFD | 2 | October 27, 2015 06:31 |
Temperature dependent Non-Newtonian viscosity UDF | cric92 | Fluent UDF and Scheme Programming | 0 | April 14, 2013 07:31 |