|
[Sponsors] |
[PyFoam] pyFoamClearEmptyBoundaries syntax error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 6, 2015, 10:11 |
pyFoamClearEmptyBoundaries syntax error
|
#1 |
New Member
Join Date: Dec 2014
Posts: 5
Rep Power: 11 |
Hi,
I'm using the utility of PyFoam pyFoamClearEmptyBoundaries to delete some unused patch in my mesh and i get this error: PyFoam.RunDictionary.ParsedParameterFile.PyFoamPar serError: Error in PyFoamParser: 'Syntax error in file /home/marco/OpenFOAM/marco-2.4.x/snappy_explicit/constant/polyMesh/boundary at token' @ ';' (Type: ; ) in line 586 at position 13265 around line 586 i have porous_grain76 { type wall; inGroups 1(wall); //586 nFaces 0; startFace 1588300; } The strange fact is that i have already used pyFoamClearEmptyBoundaries for a coarser mesh obtained in the same way of this one and it worked properly, but now this error. I think it is a kind of bug. If someone knows how to fix this problem. Thanks |
|
June 7, 2016, 09:15 |
|
#2 |
New Member
Join Date: May 2013
Posts: 11
Rep Power: 13 |
late reply... but maybe can be useful to someone else.
i run in the same error when running pyFoamCreateBoundaryPatches and i noticed that removing the inGroups line from the boundary file solves the issue. (the groups will be removed too) |
|
June 23, 2016, 04:39 |
removing inGroups
|
#3 |
New Member
Join Date: Feb 2012
Posts: 5
Rep Power: 14 |
I can confirm the behaviour. I have removed all "inGroups" lines from the boundary file and pyFoam worded. You can use sed to remove the lines:
sed '/inGroups/d' constant/polyMesh/boundary > constant/polyMesh/boundary_nogroups Regards, Luk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] an error in Calculator's equation | immortality | ParaView | 12 | June 29, 2021 01:10 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |