|
[Sponsors] | |||||
Defining a polynomial viscosity depending on temperature |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Muhammed Emin POLAT
Join Date: Sep 2020
Posts: 7
Rep Power: 7 ![]() |
Hello all,
I'm currently trying to run an analysis using temperature integrated simpleFoam. As of my observations, temperature range for the fluid is between 20-50 C and due to this large range, viscosity changes in a wide range which leads my computation into a big error, at about 50%. So here is my question. I would like to apply a curve-fitting to viscosity of my fluid flowing through and integrate it in the OpenFOAM by NOT using a non-Newtonian approach. Because fluid is definetely Newtonian. How can I achieve it? |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
There are more options. Either you switch to, e.g., rhoSimpleFoam and use a polynomial approach or you derive your current solver (simpleFoam) and implement new volScalarField´s which relates to temperature and viscosity. Then you have to solve an appropriate temperature/energy equation and calculate the viscosity based on your temperature field.
Probably, the rhoSimpleFoam solver fits better as you don´t have to program anything yourself. An example: Code:
thermoType
{
type heRhoThermo;
mixture pureMixture;
transport polynomial;
thermo hPolynomialt;
equationOfState polynomial;
specie specie;
energy sensibleEnthalpy;
}
__________________
Keep foaming, Tobias Holzmann |
|
|
|
|
|
|
|
|
#3 | |
|
New Member
Muhammed Emin POLAT
Join Date: Sep 2020
Posts: 7
Rep Power: 7 ![]() |
Thank you for your reply Tobi,
The thing is I would like to compute the viscosity for each cell using its temperature and have this value used in governing equations. I don't want any contour for viscosity, to say. Do you have any recommendation for this goal? Quote:
|
||
|
|
|
||
|
|
|
#4 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
Well, I am not sure if you read my reply or not because I wrote the stuff you need. Hence, I don't get your statement.
__________________
Keep foaming, Tobias Holzmann |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Muhammed Emin POLAT
Join Date: Sep 2020
Posts: 7
Rep Power: 7 ![]() |
Thank you for your help and kindness.
|
|
|
|
|
|
|
|
|
#6 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
Just a quick question. Is it clear to you now or not? I don't have the feeling that my statement is sufficient for you or maybe I misunderstood your inquiry!?
__________________
Keep foaming, Tobias Holzmann |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Boussinesq equation of state combined with polynomial viscosity | TomasDenk | OpenFOAM Programming & Development | 3 | October 30, 2020 04:16 |
| Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
| Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
| UDF for Back-flow Temperature | G340 | Fluent UDF and Scheme Programming | 3 | August 21, 2013 05:56 |
| Problem with transport properties depending on Temperature | galaad | OpenFOAM Running, Solving & CFD | 5 | December 6, 2005 13:51 |