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

Increasing mesh of pitzDaily tutorial?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2018, 12:02
Default Increasing mesh of pitzDaily tutorial?
  #1
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
I am trying to increase the mesh size of the pitzDaily tutorial so I can test performance of my cluster. In blockMeshDict I increased all hex blocks by a factor of 10. See below. The model runs, but crashes with mpi error after 7 iterations. It crashes at the same point on another cluster too. This lead me to think I am doing something wrong. Or is it some limitation of openfoam? I am running it on one node.

Any smoking gun before I share all details of system, compiler, etc..

[user@machine]$ diff blockMeshDict blockMeshDict.old
69c69
< (180 300 10)
---
> (18 30 1)
73c73
< (1800 270 10)
---
> (180 27 1)
77c77
< (1800 300 10)
---
> (180 30 1)
81c81
< (250 270 10)
---
> (25 27 1)
85c85
< (250 300 10)
---
> (25 30 1)
feacluster is offline   Reply With Quote

Old   April 4, 2018, 23:50
Default
  #2
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13
Taataa is on a distinguished road
Are you decreasing the time step with the same factor as well?
Taataa is offline   Reply With Quote

Old   April 5, 2018, 11:37
Default
  #3
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
Quote:
Originally Posted by Taataa View Post
Are you decreasing the time step with the same factor as well?
No, I have not changed anything else. Would that make a difference? Is it the endTime in the controlDict file I need to decrease by factor of 1000?
feacluster is offline   Reply With Quote

Old   April 5, 2018, 12:26
Default
  #4
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15
einstein_zee is on a distinguished road
Quote:
Originally Posted by feacluster View Post
No, I have not changed anything else. Would that make a difference? Is it the endTime in the controlDict file I need to decrease by factor of 1000?
Hi there,

the point is you need to maintain the same Courant number between the cases. And since you are refining the mesh you need to decrease your time steps also.
einstein_zee is offline   Reply With Quote

Old   April 5, 2018, 12:39
Default
  #5
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13
Taataa is on a distinguished road
Quote:
Originally Posted by feacluster View Post
No, I have not changed anything else. Would that make a difference? Is it the endTime in the controlDict file I need to decrease by factor of 1000?
You should try to maintain the Courant number. So if you are refining the mesh by a factor of two you should do the same for time step NOT the end time. So if for example if you time step is 0.001 and refine the mesh by a factor of two you should set the time step to 0.001/2=0.0005 assuming no changes in other parameters.
Taataa is offline   Reply With Quote

Old   April 5, 2018, 17:14
Default
  #6
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
Thanks for the replies. I changed the deltaT from 1 to 0.001 ( since mesh increased by factor of 10^3 ). However, it still fails after seven iterations:

Time = 0.006

smoothSolver: Solving for Ux, Initial residual = 0.776516, Final residual = 0.0514923, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.824286, Final residual = 0.0489998, No Iterations 2
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0753774, No Iterations 6
time step continuity errors : sum local = 8.56395e+51, global = 6.169e+50, cumulative = 6.169e+50
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0774171, No Iterations 2
bounding epsilon, min: -9.23299e+99 max: 9.96454e+100 average: 7.49181e+94
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.000589475, No Iterations 1
bounding k, min: -8.51421e+86 max: 1.99993e+88 average: 9.75078e+81
ExecutionTime = 113.45 s ClockTime = 114 s

Time = 0.007


================================================== =================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 36271 RUNNING AT node12
= EXIT CODE: 8
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
================================================== =================================
Intel(R) MPI Library troubleshooting guide:
feacluster is offline   Reply With Quote

Old   April 5, 2018, 18:13
Default
  #7
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 13
Taataa is on a distinguished road
Refinement factor is 10 not 1000! So you should make it 0.1.

If it doesn't converge with reducing time step then assuming you've setup your case correctly, probably you need to make your tolerances tighter.

I'm afraid if you need more help then you need to provide more information about your case, BCs, schemes and solution.
Taataa is offline   Reply With Quote

Old   April 9, 2018, 17:24
Default
  #8
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
Quote:
Originally Posted by Taataa View Post
Refinement factor is 10 not 1000! So you should make it 0.1.

If it doesn't converge with reducing time step then assuming you've setup your case correctly, probably you need to make your tolerances tighter.

I'm afraid if you need more help then you need to provide more information about your case, BCs, schemes and solution.
Thanks, I changed deltaT to 0.1, but it still crashes in the seventh iteration. I am running the pitzDaily model. I assume this is some kind of universal benchmark? All I want to do is increase the computation time so I can test my cluster's performance.

Unfortunately, I have little background in CFD. More an HPC/FEA guy..
feacluster is offline   Reply With Quote

Old   April 11, 2018, 16:06
Default
  #9
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
Perhaps a better question is are there Openfoam benchmarks I can run to test mpi performance? For example, Ansys FLUENT has these benchmarks:

https://support.esss.com.br/hc/en-us...enchmark-Cases
feacluster is offline   Reply With Quote

Old   April 11, 2018, 17:04
Default
  #10
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15
einstein_zee is on a distinguished road
Quote:
Originally Posted by feacluster View Post
Perhaps a better question is are there Openfoam benchmarks I can run to test mpi performance? For example, Ansys FLUENT has these benchmarks:

https://support.esss.com.br/hc/en-us...enchmark-Cases
Hey there,

I just googled it and found useful information. You also might find your answer here.

How to test openfoam benchmark ?

https://openfoamwiki.net/index.php/B...ks_standard_v1
einstein_zee 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
[snappyHexMesh] Multi Region Mesh of a car filter Zephiro88 OpenFOAM Meshing & Mesh Conversion 3 September 11, 2019 20:34
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


All times are GMT -4. The time now is 20:31.