CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Tutorial simpleFoam pipeCyclic (https://www.cfd-online.com/Forums/openfoam-meshing/158315-tutorial-simplefoam-pipecyclic.html)

Jocelyn DE SOUZA August 21, 2015 06:22

Tutorial simpleFoam pipeCyclic
 
Hello everybody,
I'm trying to learn OpenFoam and I'm using CAE linux, I've read the user guide and I'm now trying to work on the simpleFoam pipeCyclic. Firstly I go in the working directory using cd.... them I use blockMesh and I obtain this error message that I don't really understand. Can you explain me this please?
Thanks per advance
Jocelyn

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.1-221db2718bbb
Exec : blockMesh
Date : Aug 21 2015
Time : 13:07:54
Host : "desouza-F5VL"
PID : 3965
Case : /home/de-souza/OpenFOAM/de-souza-2.1.1/run/i
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/de-souza/OpenFOAM/de-souza-2.1.1/run/i/constant/polyMesh/blockMeshDict"
Using #calcEntry at line 26 in file "/home/de-souza/OpenFOAM/de-souza-2.1.1/run/i/constant/polyMesh/blockMeshDict"


--> FOAM FATAL IO ERROR:
Loading a shared library using case-supplied code is not enabled by default
because of security issues. If you trust the code you can enable this
facility be adding to the InfoSwitches setting in the system controlDict:

allowSystemOperations 1

The system controlDict is either

~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict

or

$WM_PROJECT_DIR/etc/controlDict



file: /home/de-souza/OpenFOAM/de-souza-2.1.1/run/i/constant/polyMesh/blockMeshDict from line 17 to line 23.

From function functionEntries::calcEntry::execute(..)
in file db/dynamicLibrary/dynamicCode/dynamicCode.C at line 81.

FOAM exiting

wyldckat August 21, 2015 07:53

Quick answer: You have to run the script Allrun:
Code:

./Allrun
If you edit the script Allrun, you'll see that it creates the file it's referring to.

You can find more details for a similar tutorial case here: http://www.cfd-online.com/Forums/ope...tml#post446405 - post #23


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