CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Cavity 3D : 4.1 versus 3.0.1 performance issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2017, 11:24
Default Cavity 3D : 4.1 versus 3.0.1 performance issue
  #1
New Member
 
Join Date: Aug 2017
Posts: 1
Rep Power: 0
LudoH is on a distinguished road
Hi guys,

I’m using the cavity-3D case with a 3M cells mesh.

I’m currently having a performance issue while using 4.1 version.

Here is the output I got with 4.1.

Starting time loop

Time = 0.0001

Courant Number mean: 0 max: 0
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 1.68989e-06, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0477591, No Iterations 153
time step continuity errors : sum local = 2.75823e-08, global = 1.4455e-23, cumulative = 1.4455e-23
DICPCG: Solving for p, Initial residual = 0.0857006, Final residual = 9.88484e-07, No Iterations 528
time step continuity errors : sum local = 1.13433e-12, global = 6.91952e-24, cumulative = 2.13745e-23
ExecutionTime = 4.56 s ClockTime = 4 s

While I got the following with 3.0.1:

Time = 0.0001

Courant Number mean: 0 max: 0
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 1.68989e-06, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0477591, No Iterations 153
time step continuity errors : sum local = 2.75823e-08, global = -1.14771e-23, cumulative = -1.14771e-23
DICPCG: Solving for p, Initial residual = 0.0857006, Final residual = 0.00406192, No Iterations 149
time step continuity errors : sum local = 4.79613e-09, global = 9.74005e-24, cumulative = -1.73708e-24
ExecutionTime = 2.59 s ClockTime = 6 s

Does anyone know why It would take twice the number of iteration to make the same step in 4.1 than in 3.0.1 ?

Thanks in advance,

Ludo
LudoH is offline   Reply With Quote

Old   August 11, 2017, 03:27
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Quote:
Originally Posted by LudoH View Post
Here is the output I got with 4.1.

DICPCG: Solving for p, Initial residual = 0.0857006, Final residual = 9.88484e-07, No Iterations 528


While I got the following with 3.0.1:

DICPCG: Solving for p, Initial residual = 0.0857006, Final residual = 0.00406192, No Iterations 149

In 4.1 you arrive at very small final residual (9.*e-7) compared to the 3.0.1 case (4.*e-3). So starting from the same initial residual, achieving a much smaller final one will take more numerical effort (i.e. iterations).
So, apparently the behaviour of 4.1 and 3.0.1 is different for the case you ran. Since the case has not been posted, there is nothing more to say.
If you make OpenFOAM to reach the same final residual, the number of iterations will most probably be quite comparable.
GerhardHolzinger 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
Methods to optimize the performance of simpleFoam solver for lid driven cavity case Sumeet Patil OpenFOAM 0 October 15, 2016 05:06
[Other] issue 1_running several mesh configurations for a cavity model (tutorial) Luis Batista OpenFOAM Meshing & Mesh Conversion 2 March 24, 2013 18:24
[OpenFOAM] ParaFOAM issue with cavity case mschoenberg ParaView 3 November 21, 2008 03:57


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