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

Error to restore0Dir -processor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2024, 02:17
Unhappy Error to restore0Dir -processor
  #1
New Member
 
Join Date: Apr 2024
Posts: 9
Rep Power: 2
shukriesamirudin is on a distinguished road
Hi everyone, i have problem running command below. Why is it appears command not found?

shukrie@DESKTOP-GM7974Q:~/Run/FirstTime/motorBike$ -processor
-processor: command not found

Below is the Allrun file for this simulation


#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------

# copy motorbike surface from resources directory
mkdir -p constant/triSurface

cp -f \
"$FOAM_TUTORIALS"/resources/geometry/motorBike.obj.gz \
constant/triSurface/

# Make dummy 0 directory
mkdir -p 0

runApplication blockMesh

runApplication decomposePar -decomposeParDict system/decomposeParDict.hierarchical

runParallel snappyHexMesh -decomposeParDict system/decomposeParDict.ptscotch -profiling -overwrite

find . -iname '*level*' -type f -delete

#- Set the initial fields
restore0Dir -processor

runParallel renumberMesh -overwrite

runParallel potentialFoam -initialiseUBCs -writephi

runParallel checkMesh -writeFields '(nonOrthoAngle)' -constant

runParallel $(getApplication)

#------------------------------------------------------------------------------
shukriesamirudin is offline   Reply With Quote

Old   May 16, 2024, 03:09
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,092
Rep Power: 26
Yann will become famous soon enough
Please do not post the same question in multiple places.

I answered here: Ubuntu Allrun command
Yann is offline   Reply With Quote

Old   May 17, 2024, 02:33
Default
  #3
New Member
 
Join Date: Apr 2024
Posts: 9
Rep Power: 2
shukriesamirudin is on a distinguished road
I am sorry, i thought my internet is not loaded, unintentionally posted twice
shukriesamirudin 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 09:23
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 14:53


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