|
[Sponsors] |
Error Illegal dictionary entry or environment variable name |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2022, 10:41 |
Error Illegal dictionary entry or environment variable name
|
#1 |
New Member
Louzhewei
Join Date: Feb 2022
Posts: 1
Rep Power: 0 |
Hello everyone, I need some Help
I want to build a channel with periodic Obsctcale. I built an obstacle successfully following the method in the video https://www.youtube.com/watch?v=VdZAkO0XbcY And then I try to use For loop to build more obstacles. But I failed and there is an Error /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // //subsetMesh -overwrite c0 -patch south actions ( for (i=1;i<5;i++) { double minx; minx = 0.02*i-0.02; miny = 0.02*i-0.02; minz = 0.02*i-0.01; maxx = 0.02*i-0.01; maxy = 0.02*i-0.01; maxz = 0.02*i-0.01; { name c0; type cellSet; action new; source boxToCell; sourceInfo { box ($minx $minz $miny)($maxx $maxz $maxy); } } { name c0; type cellSet; action invert; } } ); // ************************************************** *********************** // --> FOAM FATAL IO ERROR: Illegal dictionary entry or environment variable name "minx" Valid dictionary entries are 0() file: /home/dyfluid/Gmsh/versuch3/system/topoSetDict I don't know the reason. Is this method feasible? Thanks a lot for your help Happy foam |
|
Tags |
openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Entry 'selectionMode' not found in dictionary; CodedSource fvOptions | Geb1313 | OpenFOAM | 5 | December 25, 2021 17:37 |
Entry 'UFinal' not found in dictionary | Jacobhh | OpenFOAM Running, Solving & CFD | 1 | November 23, 2021 17:18 |
Environment variable MPI_GROUP_MAX | Satya | Siemens | 0 | May 29, 2007 03:16 |
Install Openfoam in Suse 100 setup environment | h34gk1 | OpenFOAM Installation | 1 | September 26, 2006 21:08 |
How to set environment variables | kanishka | OpenFOAM Installation | 1 | September 4, 2005 11:15 |