|
[Sponsors] |
March 2, 2021, 01:36 |
How do you use an Allrun script command?
|
#1 |
New Member
Ken Johnson
Join Date: Jun 2020
Posts: 23
Rep Power: 6 |
Does anyone know the correct way to type these command lines? What am I missing here? It successfully creates the new directory. But when I get to run Allrun script: it gives me an error saying too many arguments and ./Allrun just says no such file or directory. I attached the image file to this message.
mkdir newTest && cd newTest && cp -r $FOAM_TUTORIALS/basic/potentialFoam/cylinder . source ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions && canCompile run Allrun script: ./Allrun |
|
March 2, 2021, 03:02 |
|
#2 |
New Member
Evren Yilmaz Yakin
Join Date: Feb 2016
Location: Ankara, Turkey
Posts: 27
Rep Power: 10 |
Hi Kendawgg22,
Can you control for Allrun file in your newTest folder? If you don't have a Allrun file in your folder you can't start the script. Normally, you can start it with ./Allrun
__________________
Best Regards, Evren |
|
March 2, 2021, 16:29 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
`run Allrun script:` statement is not a command chain. It is just a comment which cannot be executed by the shell.
Also, evrenykn is right: Make sure that you have the `Allrun` script inside `newTest` directory.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
March 4, 2021, 02:32 |
|
#4 |
New Member
Ken Johnson
Join Date: Jun 2020
Posts: 23
Rep Power: 6 |
I'm not sure. I'm not a linux user. lots of these things are still foreign to me. I was given these instructions because I was trying to diagnose why OpenFOAM version 2012 won't generate blockMesh for tutorial 2.2. But version 1912 did. How can I put a Allrun file into the newtest directory?
|
|
March 4, 2021, 07:17 |
|
#5 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14 |
I strongly advise googling some basic Linux skills before trying to continue. Otherwise you are going to find life extremely difficult, and will work inefficiently.
The good news is that Linux is very easy to learn and there is plenty of content out there to help you ... not really the purpose of this forum though. Good luck! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two phase flow in porous medium | Milaad | OpenFOAM | 7 | July 1, 2024 06:08 |
[DesignModeler] Creating spheres spheres using the command in a Script | SanchoBuendia | ANSYS Meshing & Geometry | 3 | February 15, 2017 14:26 |
command to plot a sphere in Script DesignModeler | SanchoBuendia | FLUENT | 1 | February 15, 2017 14:20 |
[ICEM] Building topology command script files | Anorky | ANSYS Meshing & Geometry | 8 | January 11, 2010 08:25 |
Problems of running the parallel computations | lorraine | FLUENT | 17 | July 6, 2007 09:08 |