|
[Sponsors] |
Importing results to initial conditions in a different simulation for convergence. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2016, 02:00 |
Importing results to initial conditions in a different simulation for convergence.
|
#1 |
New Member
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10 |
Hey!
I am defining a shear and temperature dependent viscosity as a user defined function in Fluent but the code diverges since the value of strain rate is used in denominator and at initial iterations the strain rate will be low which will lead to large fluctuations and hence divergence of the solution according to me. I wish to run the simulation at constant viscosity for few iterations and then shift to the viscosity defined by UDF taking the final iterations value of constant viscosity simulations as initial conditions( mainly strain rate) for viscosity defined by UDF. I hope this will solve my problem but I am not able to do that in fluent. Any help will be appreciated. Thanks in advance! |
|
May 5, 2016, 17:39 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
No need to do anything fancy, this is straightforward.
Just run your simulation with the initial constant viscosity. Then simply change the viscosity to the UDF. No need to export or import. If you already have the simulation setup with the UDF-based viscosity, then simply change it to a constant viscosity in the material properties. |
|
May 6, 2016, 02:21 |
|
#3 |
New Member
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10 |
If I run the simulation with constant viscosity for say 50 iterations and when the solution is complete I just need to change the viscosity model and run again with required number of iterations. Is that what you want to say?
|
|
May 6, 2016, 12:24 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
Yes.
You are free to change any number of settings and keep iterating. |
|
May 9, 2016, 09:32 |
|
#5 |
New Member
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10 |
Thanx a lot for the help. This solved my problem.
|
|
Tags |
shear rate, temperature dependence, viscosity model, viscosity udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a problem with convergence in buoyantSimpleFoam | skuznet | OpenFOAM Running, Solving & CFD | 6 | November 15, 2017 13:12 |
settlingFoam unstable? | bendel_boy | OpenFOAM Running, Solving & CFD | 38 | July 8, 2016 06:07 |
Simulation seems to converge but crashes suddenly | xxxx | OpenFOAM | 16 | September 12, 2014 09:07 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |