CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Motobike benchmark case

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

Like Tree2Likes
  • 1 Post By john myce
  • 1 Post By joshmccraney

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2020, 11:05
Default Motobike benchmark case
  #1
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 112
Rep Power: 3
joshmccraney is on a distinguished road
Hi FOAMers!

I am working on Ubuntu 18.04 OF6, and am trying to run the motobike benchmark case, which can be downloaded here. When I run, the output log.snappyHexMesh reads

Code:
Create time

Create mesh for time = 0

Read mesh in = 0.01 s
[0] 
[0] 
[0] --> FOAM FATAL IO ERROR: 
[0] Cannot open etc file "caseDicts/meshQualityDict" while reading dictionary "/home/josh/Downloads/bench_template/run_16/system/snappyHexMeshDict.meshQualityControls"
[0] 
[0] file: /home/josh/Downloads/bench_template/run_16/system/meshQualityDict at line 18.
[0] 
[0]     From function static bool Foam::functionEntries::includeEtcEntry::execute(Foam::dictionary&, Foam::Istream&)
[0]     in file db/dictionary/functionEntries/includeEtcEntry/includeEtcEntry.C at line 127.
[0] 
FOAM parallel run exiting
[0] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
I've searched these forums and it appears someone had a similar issue here with a solution in post 5. However, my meshQualityDict (or any other files in that directory) look nothing like what the person describes, so their fix does not work for me.

Any idea how to get the benchmark to run? I really need to check the benchmark for my machine, so any help is so so so appreciated! Also, the motobike tutorial works if I go into tutorials and run ./Allrun.
joshmccraney is offline   Reply With Quote

Old   March 26, 2020, 12:33
Default
  #2
Member
 
Join Date: Sep 2018
Location: France
Posts: 39
Rep Power: 3
john myce is on a distinguished road
Hi,

You can also copy directly the content of the meshQualityDict in your snappyHexMeshDict like :

Code:
meshQualityControls
{
maxNonOrtho 65;
maxBoundarySkewness 20;
maxInternalSkewness 4;
maxConcave 80;
minVol 1e-13;
minTetQuality 1e-15;
minArea -1;
minTwist 0.02;             
minDeterminant 0.001;
minFaceWeight 0.02;      // Corrected to 0.02 for the motorBike tutorial
minVolRatio 0.01;
minTriangleTwist -1;
nSmoothScale   4;
errorReduction 0.75;
}
cheers,
joshmccraney likes this.
john myce is offline   Reply With Quote

Old   March 26, 2020, 13:00
Default
  #3
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 112
Rep Power: 3
joshmccraney is on a distinguished road
Quote:
Originally Posted by john myce View Post
Hi,

You can also copy directly the content of the meshQualityDict in your snappyHexMeshDict like :

Code:
meshQualityControls
{
maxNonOrtho 65;
maxBoundarySkewness 20;
maxInternalSkewness 4;
maxConcave 80;
minVol 1e-13;
minTetQuality 1e-15;
minArea -1;
minTwist 0.02;             
minDeterminant 0.001;
minFaceWeight 0.02;      // Corrected to 0.02 for the motorBike tutorial
minVolRatio 0.01;
minTriangleTwist -1;
nSmoothScale   4;
errorReduction 0.75;
}
cheers,
Wow, thanks it worked!

Last question: I'm kind of new to OpenFOAM: are these results for the 2 million cell count like the benchmark? I don't want to give bad information, you know?
joshmccraney is offline   Reply With Quote

Old   March 26, 2020, 13:26
Default
  #4
Member
 
Join Date: Sep 2018
Location: France
Posts: 39
Rep Power: 3
john myce is on a distinguished road
Well for the motorBike tutorial I think you cannot use it as a benchmark since I do not know if there is actually "reliable" data for it (drag, downforce, ...).

I suppose (but maybe I am wrong) that it is just an example of a case setup for the solver and helps you to understand how it works.

I think it is better to analyse for instance an airfoil where you are sure to find proper data.
john myce is offline   Reply With Quote

Old   March 26, 2020, 14:23
Default
  #5
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 112
Rep Power: 3
joshmccraney is on a distinguished road
Quote:
Originally Posted by john myce View Post
Well for the motorBike tutorial I think you cannot use it as a benchmark since I do not know if there is actually "reliable" data for it (drag, downforce, ...).

I suppose (but maybe I am wrong) that it is just an example of a case setup for the solver and helps you to understand how it works.

I think it is better to analyse for instance an airfoil where you are sure to find proper data.
I'm referring to hardware benchmarking. I recently built a computer and want to see how fast it stacks up to other rigs. One realistic case I am running is very VERY slow (I think it's a BC issue, but uncertain) and so wanted to check my speed against others.
joshmccraney is offline   Reply With Quote

Old   March 26, 2020, 16:24
Default
  #6
Member
 
Join Date: Sep 2018
Location: France
Posts: 39
Rep Power: 3
john myce is on a distinguished road
My bad ! I have just found this thread so I think you can do it.

OpenFOAM benchmarks on various hardware
john myce is offline   Reply With Quote

Old   March 26, 2020, 16:28
Default
  #7
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 112
Rep Power: 3
joshmccraney is on a distinguished road
Quote:
Originally Posted by john myce View Post
My bad ! I have just found this thread so I think you can do it.

OpenFOAM benchmarks on various hardware
Exactly! Thanks again for your help! You have no idea how much stress it saves me!
john myce likes this.
joshmccraney is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual-Element Front Wing Case Using SST K-OMEGA TURBULENCE MODEL Jesus.M OpenFOAM Running, Solving & CFD 0 January 14, 2019 07:13
CFD Post - How to check for case in an expression pilakin ANSYS 0 September 26, 2014 04:44
Error reading new case montag dp FLUENT 5 September 15, 2011 06:00
benchmark test case for MHD RT instability cou Main CFD Forum 0 May 7, 2007 09:38
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


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