View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000690||OpenFOAM||[All Projects] Bug||public||2012-11-29 15:07||2015-02-05 21:16|
|Fixed in Version|
|Summary||0000690: False naming of internal faceZone/faceSet produced by gmshToFoam|
|Description||Selecting an internal surface in a Gmsh geometry and assigning a physical surface name to it, it is transferred as a faceZone/faceSet of a name different than the assigned name to the physical surface. However, the assigned name is the name of the cellZone that has the same index of the faceZone.|
|Steps To Reproduce||gmsh -3 file.geo; gmshToFoam file.msh|
This solution worked for me: Line #1062 in gmshToFoam.C
label physReg = zoneToPhys[zoneI];
label physReg = patchToPhys[zoneI];
|Tags||No tags attached.|
|I'm facing the same problem, but your suggestion didn't help. Some new solution?|
||It is working for me. So excuse me for this question: have you recompiled gmshToFoam after editing the code?|
indeed, I haven't compiled the edited gmshToFoam.C file.
After login via "sudo bash" as root, changing to gmshToFoam directory and applying "wmake" it recompiled the new file. Now, gmshToFoam is assigning facesets/cellsets correctly.
Thank you for your solution!
|2012-11-29 15:07||Hisham||New Issue|
||Note Added: 0001820|
|2012-12-14 18:52||Hisham||Note Added: 0001841|
||Note Added: 0001853|
|2015-02-05 10:19||henry||Status||new => resolved|
|2015-02-05 10:19||henry||Resolution||open => fixed|
|2015-02-05 10:19||henry||Assigned To||=> henry|