saving . . . saved Error in copy command has been deleted. Error in copy command has been hidden .
Error in copy command
Title
Question
I am getting error in the 3rd command itself where we are told to copy a file from tutorials folder to run ...No such file or directory

I am using this command:

cp -r $FOAM_TUTORIALS/incompressible/icofoam/cavity/cavity .</span></span>

OpenFOAM-version-7 Setting-up-a-Test-Case-in-OpenFOAM 02-03 min 30-40 sec 26-09-20, 11:53 a.m. divyesh7

Answers:

cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .

All openFoam commands are case sensitive. notice that the "f" in icofoam is typed in lower case. it should be in capitals as icoFoam.

in case of such errors, a good practice is to use the prompts, that is using tab key to prompt the appropriate folder name, so that spelling mistakes do not lead to errors while navigating.
26-09-20, 12:25 p.m. ameyak2310


Log-in to answer to this question.