CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

Problems running benchmark

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cegan09

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2023, 09:12
Default Problems running benchmark
  #1
New Member
 
Chris
Join Date: Nov 2022
Posts: 18
Rep Power: 3
cegan09 is on a distinguished road
I didn't want to clutter the results thread, but I cannot get the benchmark to run. Before I waste more time I just wanted to check if I'm doing anything dumb.


It looks like the benchmark in this post:
OpenFOAM benchmarks on various hardware
might be intended to be used with 2112 and not openFOAM 10?

So far I've managed to catch and fix all the errors through meshing while using 10, but I'm still getting errors during the actual runs. I just wanted to see if I was being dumb and not seeing a version of the pre-made scripts that were meant for 10.


alternatively, is it bad to install 2112 alongside 10? I know there are some differences. I have no good reason for having picked 10 other than it was the first one I managed to install when I started trying to learn openFOAM.
cegan09 is offline   Reply With Quote

Old   August 14, 2023, 18:15
Default
  #2
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 365
Rep Power: 14
wkernkamp is on a distinguished road
You can definitely install in parallel. On linux, the set-up happens when you "source OpenFOAM-v2112/etc/bashrc. A similar setup happens for OpenFOAM 10. Only after this set-up you can run the programs. Sometimes, the run files are defined permanently by sourcing an OpenFOAM install when you login.


If you get a version of the benchmark to run on OpenFOAM 10, please post it to the thread for others to use. Also, you should post here any difficulties you experience with benchmarking OpenFOAM 10 (so that we can help).
wkernkamp is offline   Reply With Quote

Old   August 15, 2023, 10:16
Default
  #3
New Member
 
Chris
Join Date: Nov 2022
Posts: 18
Rep Power: 3
cegan09 is on a distinguished road
Thank you. I'll try to do both, meaning get 2112 installed and the benchmark running, along with post what I've found with getting the benchmark to run in 10.
wkernkamp likes this.
cegan09 is offline   Reply With Quote

Old   August 25, 2023, 12:37
Default
  #4
New Member
 
Chris
Join Date: Nov 2022
Posts: 18
Rep Power: 3
cegan09 is on a distinguished road
I got 2112 installed, and the benchmark runs out of the box. That's good. I posted results in the benchmark thread. I've not yet proved that I haven't broken my other simulation work, I have to check that those still source to openFoam 10 until I prove what I need to change to run them on either.


I've not yet gotten it to work fully on 10, but I'm closer? Here are my notes on what I've had to do so far.
In the Allmesh files (serial and parallel), surfaceFeatureExtract needs to be changed to surfaceFeatures
I had to add the surfaceFeaturesDict file to the system folder to go with the function change
In the meshQualityDict file I had to change the include to be "caseDicts/mesh/generation/meshQualityDict" in order for it to source correctly



Doing the above the benchmark will mesh all the cases successfully.


simpleFoam still doesn't run. It's mad about streamlines and I've not yet sorted out exactly what it wants different.
From log.simplefoam
Code:
[8] 
[8] 
[8] --> FOAM FATAL ERROR: 
[8] Unknown function type streamLine

Valid functions are : 

60
(

streamFunction
streamlines


)
[8] 
[8] 
[8]     From function static Foam::autoPtr<Foam::functionObject> Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&)
[8]     in file db/functionObjects/functionObject/functionObject.C at line 101.
[8]
I snipped all but two of the functions from that list for the sake of keeping the post from becoming a wall of text.

I've tried editing the streamLines file in system to have the type streamlines, and I get a new error. This is where I've gotten to, haven't fully digested this one to find the solution yet. I'll keep poking at it in my spare time.



Code:
[0] 
[0] 
[0] --> FOAM FATAL IO ERROR: 
[0] keyword direction is undefined in dictionary "/home/user/benchmarks/dev/3/run_32/system/controlDict/functions/streamLines"
[0] 
[0] file: /home/user/benchmarks/dev/3/run_32/system/controlDict/functions/streamLines from line 12 to line 52.
[0] 
[0]     From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
[0]     in file db/dictionary/dictionary.C at line 831.
[0]
cegan09 is offline   Reply With Quote

Old   August 25, 2023, 22:09
Default
  #5
Senior Member
 
Will Kernkamp
Join Date: Jun 2014
Posts: 365
Rep Power: 14
wkernkamp is on a distinguished road
I was thinking about the ongoing problem of them (the OpenFOAM wizards) changing the rules on us. Maybe download the entire motorBike case from the tutorial and modifying that working case to end up with the benchmark grid size.
wkernkamp 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
Problems with running a custom solver: "Unknown psiCombustionModel" AlexKam OpenFOAM Programming & Development 25 November 23, 2015 20:51
Problems Running Seakeeping Analysis in Headwave JeffStrath STAR-CCM+ 0 April 28, 2015 14:37
Having problems running transient fluent simulation in batch mode obylong FLUENT 1 August 14, 2014 23:58
Benchmark problems selim Main CFD Forum 0 November 12, 2007 00:29
Problems in a Background running of Intel Fortran Minsuk Choi Main CFD Forum 2 February 11, 2005 04:55


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