mdolab/dafoam

Unable to run the preProcessing.sh in the demo file.

Karyan07 opened this issue · 2 comments

Type of issue

What types of issue is it?
Select the appropriate type(s) that describe this issue

  • Other (please describe) - Local user to run DAFOAM

Description

A description of the issue.
I am a local user in this Linux system (CentOS7) and I do not have administrator priviliges, while using OpenFOAM and DAFoam,
As a localuser, when I run docker and when i try to run the Airfoil code given in the tutorial, the following error appears when running the preProcessing.sh script.

"./preProcessing.sh: line 11: logMeshGeneration.txt: Permission denied
./preProcessing.sh: line 12: logMeshGeneration.txt: Permission denied
./preProcessing.sh: line 13: logMeshGeneration.txt: Permission denied
./preProcessing.sh: line 14: logMeshGeneration.txt: Permission denied
./preProcessing.sh: line 15: logMeshGeneration.txt: Permission denied
"
and when the runScript.py is then run, it says :

"
Generating mesh.. Done!
cp: cannot create directory '0': Permission denied
"
Please tell me a way to fix this.

Steps to reproduce issue

  1. Download the tutorials and run the scripts as a local user in CentOS7

Current behavior

LogOpt.txt not getting generated and the code doesnt seem to run.

Expected behavior

Successful compilration and results in Paraview.

Code version (if relevant)

Python version:

External dependencies:

Internal packages:

Can you move this question to Discussions?

moved to discussions