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

Importing results to initial conditions in a different simulation for convergence.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2016, 01:00
Default 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
alexskerhut is on a distinguished road
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!
alexskerhut is offline   Reply With Quote

Old   May 5, 2016, 16:39
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
alexskerhut likes this.
LuckyTran is offline   Reply With Quote

Old   May 6, 2016, 01:21
Default
  #3
New Member
 
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10
alexskerhut is on a distinguished road
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?
alexskerhut is offline   Reply With Quote

Old   May 6, 2016, 11:24
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Yes.

You are free to change any number of settings and keep iterating.
LuckyTran is offline   Reply With Quote

Old   May 9, 2016, 08:32
Default
  #5
New Member
 
Alex Skerhut
Join Date: Mar 2016
Posts: 10
Rep Power: 10
alexskerhut is on a distinguished road
Thanx a lot for the help. This solved my problem.
alexskerhut is offline   Reply With Quote

Reply

Tags
shear rate, temperature dependence, viscosity model, viscosity udf


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
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 12:12
settlingFoam unstable? bendel_boy OpenFOAM Running, Solving & CFD 38 July 8, 2016 05:07
Simulation seems to converge but crashes suddenly xxxx OpenFOAM 16 September 12, 2014 08:07
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34


All times are GMT -4. The time now is 23:34.