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

Error while running SimpleFOAM in parallel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2022, 03:56
Question Error while running SimpleFOAM in parallel
  #1
New Member
 
Muhammad Rafi Sudrajat
Join Date: Sep 2022
Posts: 2
Rep Power: 0
rafis133 is on a distinguished road
I running a simulation using simpleFOAM in parallel, but I got an error like this

Quote:
[1] --> FOAM FATAL ERROR:
[1] cannot find file "/home/m_rafis/OpenFOAM/m_rafis-9/run/idealized_dual_stent/experiment3/processor1/0/p"
[1]
[1] From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
[1] in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 539.
[0] [1]
FOAM parallel run exiting
And this is the script that I used to run this program:

Code:
#!/bin/sh
cd ${0%/*} || exit 1    # Run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

runApplication surfaceFeatures

runApplication blockMesh
runApplication -a foamDictionary -entry "method" -set "hierarchical" system/decomposeParDict
runApplication decomposePar
runApplication -a foamDictionary -entry "method" -set "ptscotch" system/decomposeParDict
runParallel snappyHexMesh

runParallel $(getApplication)

runApplication reconstructParMesh
runApplication reconstructPar
I also provide my project in this link
https://drive.google.com/file/d/1lnF...ew?usp=sharing

I don't understand why this error happens, can you tell me where is my fault and how can I solve this problem?

Best regards
Thank you
rafis133 is offline   Reply With Quote

Old   September 15, 2022, 17:50
Default
  #2
New Member
 
Join Date: Oct 2014
Location: Lafayette, LA
Posts: 18
Rep Power: 12
gigliagarf is on a distinguished road
Its saying you aren't writing your p value to each folder. Try running snappyhexmesh with the -overwrite option on. Also try decomposePar with the copyzero option.


commands:
runApplication decomposePar -copyZero

runParallel snappyHexMesh -overwrite
gigliagarf is offline   Reply With Quote

Old   September 26, 2022, 02:06
Default
  #3
New Member
 
Muhammad Rafi Sudrajat
Join Date: Sep 2022
Posts: 2
Rep Power: 0
rafis133 is on a distinguished road
Thank you for the answer, but I want to see the simulation result of every time step, so I cannot user -overwrite option. Can you figure out another solution?

Best Regards
rafis133 is offline   Reply With Quote

Reply

Tags
error, incompressible, parallel, simplefoam

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
OF 2.0.1 parallel running problems moser_r OpenFOAM Running, Solving & CFD 9 July 27, 2022 04:15
parallel simpleFoam requires 0/s ; serial solution works sral OpenFOAM Running, Solving & CFD 5 October 17, 2019 09:55
running iocFoam in parrallel tenichols19 OpenFOAM Running, Solving & CFD 6 October 7, 2019 05:44
Running parallel case after parallel meshing with snappyHexMesh? Adam Persson OpenFOAM Running, Solving & CFD 0 August 31, 2015 23:04
Problem in Running OpenFoam in Parallel himanshu28 OpenFOAM Running, Solving & CFD 1 July 11, 2013 10:19


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