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

convergence rate with steady state simulations

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2017, 03:39
Default convergence rate with steady state simulations
  #1
Member
 
Join Date: Jun 2017
Posts: 40
Rep Power: 8
cardioCFD is on a distinguished road
Hi,

I know this might be discussed previously, and am sorry to bring this up again, but I could not solve my problem based on the previous posts.

I am solving a steady flow problem, say flow in a simple tube with "flux in" boundary conditions on the some portions of the walls for some of the "additional variables".

From physical point of view, the problem should reach steady state when the rate by which the additional variables are washed from the wall are equal to the rate by which the additional variables are released at the wall.

I have this "flux in" boundary conditions for three additional variables (i.e., AP, RP, and CF), while kinematic diffusivity of CF is 1000 times greater than AP and RP.

I get the solution converged for AP and RP after around 3500 iterations (automatic timescale) but the variable with higher diffusivity has a much slower convergence rate (far above the convergence criteria) even after 3500 iterations. Note, the velocity and pressure converged really fast at less than 100 iterations.

I am attaching a snapshot of the convergence curves, the convergence criteria is MAX RMS < 0.0005.

I was wondering if anyone can advise how I can get faster convergence.

Thanks a lot.
Attached Images
File Type: png convergence_steady.png (30.1 KB, 30 views)
cardioCFD is offline   Reply With Quote

Old   July 4, 2017, 13:51
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
You should read the documentation section titled: "Controlling the Timescale for Each Equation"

You should probably set the timestep for the specific additional variable to a larger value than it is currently using.

The CCL snippet you need is similar to

Code:
FLOW: Flow Analysis 1
  SOLVER CONTROL: 
    EQUATION: CF
      CONVERGENCE CONTROL: 
        Length Scale Option = Conservative
        Timescale Control = Auto Timescale
        Timescale Factor = 1000
      END
    END
  END
END
Please keep us posted on your progress with the above
Opaque is offline   Reply With Quote

Old   July 6, 2017, 04:37
Default
  #3
Member
 
Join Date: Jun 2017
Posts: 40
Rep Power: 8
cardioCFD is on a distinguished road
Quote:
Originally Posted by Opaque View Post
You should read the documentation section titled: "Controlling the Timescale for Each Equation"

You should probably set the timestep for the specific additional variable to a larger value than it is currently using.

The CCL snippet you need is similar to

Code:
FLOW: Flow Analysis 1
  SOLVER CONTROL: 
    EQUATION: CF
      CONVERGENCE CONTROL: 
        Length Scale Option = Conservative
        Timescale Control = Auto Timescale
        Timescale Factor = 1000
      END
    END
  END
END
Please keep us posted on your progress with the above
Hi,

Thanks a lot. I followed your advice and observed that an increase in CF timescale can remarkably increase the convergence rate of this equation. Thanks.

However, a new problem raised. As the additional variable AP, which already met the convergence criteria, is affected by CF (they are coupled), the increase in CF timescale affected AP and I saw a sudden increase in AP MAX RMS which turned into sustained oscillations far above the convergence criteria after some iterations.

Now the CF MAX RMS is monotonically decreasing (and is below convergence criteria) but AP MAX RMS is oscillating at a level above convergence criteria.

I would appreciate any advice on that.

Thanks a lot.
Best
cardioCFD is offline   Reply With Quote

Old   July 6, 2017, 06:28
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There are many possible ways forward:
* Put a slower time scale on the AP equation
* Reduce the CF time scale
* Just continue on and converge CF and the others tighter and see what AP does - it might converge after a while.
cardioCFD likes this.
ghorrocks 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
The difference between steady state and transient JuPa CFX 36 December 9, 2019 22:50
Solver for transonic flow? Martin Hegedus OpenFOAM Running, Solving & CFD 22 December 16, 2015 04:59
Convergence issues for steady turbulent diffusion flame stuntmanmike CFX 5 November 7, 2014 17:37
convergence problem in 3D steady state, laminar flow in a bath vajiheh FLUENT 0 July 10, 2009 12:18
Steady state verses Time accurate simulations Saud khashan Main CFD Forum 2 May 23, 2003 07:00


All times are GMT -4. The time now is 19:33.