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

Glass viscosity

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2018, 10:13
Default Glass viscosity
  #1
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 10
marsa27 is on a distinguished road
Hello,
I would like to simulate the glass forming with a VOF model. As the viscosity of the glass varies strongly with the temperature, I would know how to implement a viscosity law with the temperature in CFX Pre (I already have this relationship).
Thank you very much
marsa27 is offline   Reply With Quote

Old   September 27, 2018, 19:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You simply define the viscosity as a function and put that in your material model. You can define the function with interpolation tables, CEL expressions or user fortran. For examples of how to do these things and how to modify material models look in the CFX tutorials.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 8, 2018, 11:22
Default Cel
  #3
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 10
marsa27 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You simply define the viscosity as a function and put that in your material model. You can define the function with interpolation tables, CEL expressions or user fortran. For examples of how to do these things and how to modify material models look in the CFX tutorials.

So is it possible to set a CEL expression like a polynomial with the temperaure as variable for the viscosity material property?
marsa27 is offline   Reply With Quote

Old   October 8, 2018, 12:00
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,818
Rep Power: 27
Gert-Jan will become famous soon enough
Yes that is possible. I would recommend to limit temperature using min & max functions, to avoid unrealistic viscosities outside the range of applicability during the simulation.
Use the Evaluation-fucntion of CFX-Pre when setting up the expression. This allows you to check whether you get realistic values and do not make a typo.
Also, make sure you use enough digitis for your polynomocal coefficients a,b,c, etc. Round off errors can become large if you have a term like a*T^6
In other words: check, check, double check.
Gert-Jan is online now   Reply With Quote

Old   March 7, 2019, 20:13
Default Min max
  #5
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 10
marsa27 is on a distinguished road
Thank you, how can I limit the function? Can you write an sample?
marsa27 is offline   Reply With Quote

Old   March 7, 2019, 20:14
Default Min function
  #6
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 10
marsa27 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
Yes that is possible. I would recommend to limit temperature using min & max functions, to avoid unrealistic viscosities outside the range of applicability during the simulation.
Use the Evaluation-fucntion of CFX-Pre when setting up the expression. This allows you to check whether you get realistic values and do not make a typo.
Also, make sure you use enough digitis for your polynomocal coefficients a,b,c, etc. Round off errors can become large if you have a term like a*T^6
In other words: check, check, double check.
Thank you, how can I limit the function? Can you write an sample?
marsa27 is offline   Reply With Quote

Old   March 7, 2019, 22:16
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look in the CFX reference guide for functions available in CEL. Functions which can be used as limiters include step, if and max/min.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   March 8, 2019, 10:57
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,818
Rep Power: 27
Gert-Jan will become famous soon enough
min(1e7[Pa s], max(1 [Pa s], function))


where function is your viscosity as function of whatever you want.
If you use one of the predefined viscosity functions like powerlow or Hershel-Bukly, min and max values for shear rate are available as well.


As Glenn mentioned, look for it in the manual.
Gert-Jan is online now   Reply With Quote

Old   March 8, 2019, 11:08
Default Thank
  #9
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 10
marsa27 is on a distinguished road
Thank you very much.


Quote:
Originally Posted by Gert-Jan View Post
min(1e7[Pa s], max(1 [Pa s], function))


where function is your viscosity as function of whatever you want.
If you use one of the predefined viscosity functions like powerlow or Hershel-Bulkly, min and max values for shear rate are available as well.


As Glenn mentioned, look for it in the manual.
marsa27 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Dynamic viscosity and Kinematic viscosity asal FLUENT 7 September 3, 2019 02:25
Problem with divergence TDK FLUENT 13 December 14, 2018 07:00
driftFluxFoam viscosity model modification problem dleduc OpenFOAM Programming & Development 15 October 1, 2018 10:37
2D Glass Melt Simulation Setup marmz FLUENT 5 October 9, 2016 16:25
modelling solids viscosity in eulerian multiphase model derkaiser FLUENT 1 December 5, 2011 04:42


All times are GMT -4. The time now is 11:50.