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

UDF for varying max iterations for time step

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

Like Tree1Likes
  • 1 Post By `e`

Reply
 
LinkBack Thread Tools Display Modes
Old   May 19, 2015, 15:38
Default UDF for varying max iterations for time step
  #1
New Member
 
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 2
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, 16:46
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 416
Rep Power: 5
`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, 08:25
Default
  #3
New Member
 
Juan Man
Join Date: Apr 2015
Posts: 6
Rep Power: 2
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
settlingFoam unstable? bendel_boy OpenFOAM Running, Solving & CFD 32 January 12, 2015 11: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 07: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 10:22.