CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Temperature dependent viscosity

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 2 Post By Opaque
  • 1 Post By evcelica
  • 1 Post By Mayank Shakya
  • 1 Post By QaisKhraisat
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2021, 08:38
Default Temperature dependent viscosity
  #1
New Member
 
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6
QaisKhraisat is on a distinguished road
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
QaisKhraisat is offline   Reply With Quote

Old   November 3, 2021, 09:26
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33
Opaque will become famous soon enough
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
evcelica and karachun like this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   November 3, 2021, 10:03
Default
  #3
New Member
 
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6
QaisKhraisat is on a distinguished road
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?
QaisKhraisat is offline   Reply With Quote

Old   November 3, 2021, 11:05
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,865
Rep Power: 33
Opaque will become famous soon enough
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.
Opaque is offline   Reply With Quote

Old   November 3, 2021, 11:07
Default
  #5
New Member
 
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6
QaisKhraisat is on a distinguished road
Thanks for the advice!
QaisKhraisat is offline   Reply With Quote

Old   November 3, 2021, 20:11
Default
  #6
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,183
Rep Power: 23
evcelica is on a distinguished road
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.
Attached Images
File Type: png Equation.png (1.7 KB, 31 views)
karachun likes this.
evcelica is offline   Reply With Quote

Old   November 5, 2021, 06:04
Default
  #7
New Member
 
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6
QaisKhraisat is on a distinguished road
Thanks for the reply and advice Evcelica!
QaisKhraisat is offline   Reply With Quote

Old   August 18, 2022, 07:48
Default
  #8
New Member
 
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4
Mayank Shakya is on a distinguished road
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
QaisKhraisat likes this.
Mayank Shakya is offline   Reply With Quote

Old   August 18, 2022, 08:34
Default
  #9
New Member
 
Qais
Join Date: Oct 2020
Posts: 14
Rep Power: 6
QaisKhraisat is on a distinguished road
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
Mayank Shakya likes this.
QaisKhraisat is offline   Reply With Quote

Old   August 18, 2022, 14:52
Default
  #10
New Member
 
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4
Mayank Shakya is on a distinguished road
Hello,
Thank you very much the problem is solved.
Do you know how I can calculate Frictional Torque in Hydrodynamic Thrust Pad Bearing.
Mayank Shakya is offline   Reply With Quote

Old   August 18, 2022, 19:39
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use the CEL expressions like torque_x(), torque_y() etc on the boundary face which is the face you want the torque from.
Mayank Shakya likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 20, 2022, 12:50
Default
  #12
New Member
 
Mayank Shakya
Join Date: Jul 2022
Posts: 5
Rep Power: 4
Mayank Shakya is on a distinguished road
Hello
Thank you very much I got all the problem solved.
Mayank Shakya 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
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


All times are GMT -4. The time now is 21:25.