CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

topoSet simpleFoam parallelized run error

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By HakikiCanakkaleli
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2013, 14:20
Default topoSet simpleFoam parallelized run error
  #1
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 14
HakikiCanakkaleli is on a distinguished road
Hi,

There is a parallel run issue in one of my cases in which I suspect that I have done something wrong with topoSetDict.

=== 1 ===

checkMesh.log
fvSchemes
fvSolution

In my opinion, the setting is OK.

=== 2 ===

I execute the above commands respectively:

Code:
blockMesh
topoSet
decomposePar
mpirun -np 2 simpleFoam -parallel
=== 3 ===

controlDict
topoSetDict

These are the system documents of the case.

=== 4 ===

I obtain the following error:

Error_file

In short:

Code:
[0] --> FOAM FATAL ERROR: 
[0] Cannot find file "" in directory "polyMesh/sets" in times 0 down to constant
[0] 
[0]     From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
[0]     in file db/Time/findInstance.C at line 140.
[0] 
FOAM parallel run exiting
=== 5 ===

I have found some other forum pages which consider the same error message in a slightly different context. Therefore, I somehow couldn't adapt the given answers to my case.

I appreciate any help.

Many thanks in advance.

Last edited by HakikiCanakkaleli; March 1, 2013 at 04:12.
HakikiCanakkaleli is offline   Reply With Quote

Old   March 2, 2013, 09:04
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings HakikiCanakkaleli,

The problem is that the "sets" aren't decomposed as well. Try running topoSet in parallel:
Code:
blockMesh
decomposePar
mpirun -np 2 topoSet -parallel
mpirun -np 2 simpleFoam -parallel
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 2, 2013, 09:41
Default
  #3
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 14
HakikiCanakkaleli is on a distinguished road
Dear wyldckat,

Thanks a lot for taking your time and explain it to me. It perfectly works well now.

Kind regards.
wyldckat likes this.
HakikiCanakkaleli is offline   Reply With Quote

Old   October 5, 2018, 07:42
Default
  #4
Member
 
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8
hconel is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings HakikiCanakkaleli,

The problem is that the "sets" aren't decomposed as well. Try running topoSet in parallel:
Code:
blockMesh
decomposePar
mpirun -np 2 topoSet -parallel
mpirun -np 2 simpleFoam -parallel
Best regards,
Bruno
Hi wyldckat,
What if I want to run snappyHexMesh in parallel (before topoSet and after decomposition, without creating new time directories) in your script?
Thanks
hconel is offline   Reply With Quote

Old   October 5, 2018, 08:44
Default
  #5
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Quote:
Originally Posted by hconel View Post
Hi wyldckat,
What if I want to run snappyHexMesh in parallel (before topoSet and after decomposition, without creating new time directories) in your script?
Thanks
Run the exact same thing, but with :
Code:
mpirun -np 2 snappyHexMesh -overwrite -parallel
Between decomposePar and topoSet. The -overwrite option allows to overwrite files instead of creating time directories for the different meshing steps (1, 2, 3 for castellated, snap and layer meshes.)
hconel likes this.
Yann is offline   Reply With Quote

Old   October 5, 2018, 11:52
Default
  #6
Member
 
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8
hconel is on a distinguished road
Quote:
Originally Posted by Yann View Post
Run the exact same thing, but with :
Code:
mpirun -np 2 snappyHexMesh -overwrite -parallel
Between decomposePar and topoSet. The -overwrite option allows to overwrite files instead of creating time directories for the different meshing steps (1, 2, 3 for castellated, snap and layer meshes.)
That is exactly what I was looking for, my problem was snappyHexMesh creating time directories. Thanks so much!
hconel 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
Problem running perturbUCyl sen.1986 OpenFOAM 17 June 4, 2019 06:56
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 12:39
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 14:42.