|
[Sponsors] |
May 8, 2013, 16:23 |
using parameters in blockMesh
|
#1 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13 |
Hi everyone,
I've used following commands in my blockMesh dictionary in order to modify my geometry easily: D 5.0; L 100.0; halfAngle 45.0; radHalfAngle #calc "degToRad($halfAngle)"; R #calc "$D/2"; CW #calc "$D/4"; CX #calc "$R*cos($radHalfAngle)"; CZ #calc "$R*sin($radHalfAngle)"; NPS 3; NPD 3; NPY 10; (complete blockMesh Dict is attached) But the following error appeared in terminal: 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/amir/Desktop/cavity.pipe/constant/polyMesh/blockMeshDict from line 17 to line 21. From function functionEntries::calcEntry::execute(..) in file db/dynamicLibrary/dynamicCode/dynamicCode.C at line 81. FOAM exiting what should I do? any help is appreciated. best regards, Arjang |
|
May 8, 2013, 16:31 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Arjang,
The detail is that you need to turn on "allowSystemOperations". I've written about this some time ago... read this section: 2.1 Additional tuning Best regards, Bruno
__________________
|
|
May 8, 2013, 17:24 |
|
#3 |
New Member
hadi
Join Date: May 2013
Posts: 1
Rep Power: 0 |
thank you Bruno
|
|
June 29, 2016, 12:22 |
sine and cos angles in parametric #calc
|
#4 |
Member
Muhammad Usman
Join Date: Feb 2014
Posts: 91
Rep Power: 0 |
thank you its helping
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 19:15 |
Parameters of a good airfoil mesh | CharlieBra7o | Mesh Generation & Pre-Processing | 4 | November 20, 2018 14:42 |
Pro/E to ANSYS Parameterization Guide | Trues | ANSYS | 4 | April 18, 2018 05:52 |
Parameters rhoSimpleFoam | marcus85 | OpenFOAM Pre-Processing | 0 | May 15, 2013 09:36 |
Parameters for multigrid solver | HaZe | OpenFOAM Running, Solving & CFD | 3 | January 28, 2012 02:05 |