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

UDF for varying max iterations for time step

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By `e`

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2015, 16:38
Default UDF for varying max iterations for time step
  #1
New Member
 
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 11
jayemes is on a distinguished road
Hi everybody!
What i want to do is to use a greater number of iterations in the first time steps and fewer afterwards.
Is it possible using UDFs?
Or should I do it manually?

Thanks.

Juan
jayemes is offline   Reply With Quote

Old   May 19, 2015, 17:46
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Changing the number of iterations per time step is possible with a Scheme file which can be run at each (or every so often) iteration or time step using Calculation Activities. Include an if statement to set how many iterations per time step is used as a function of time (or otherwise). You'll need the equivalent TUI command and apply this setting with ti-menu-load-string.
jayemes likes this.
`e` is offline   Reply With Quote

Old   May 20, 2015, 09:25
Default
  #3
New Member
 
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 11
jayemes is on a distinguished road
Thanks for your answer`e`.
I haven't used Scheme yet, I'm going to do some research and see what i can do.
jayemes 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
settlingFoam unstable? bendel_boy OpenFOAM Running, Solving & CFD 38 July 8, 2016 06:07
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 14:57.