|
[Sponsors] |
July 29, 2011, 04:12 |
PorousZone using Mesh imported from Salome
|
#1 |
New Member
Raph Raggatt
Join Date: Jul 2011
Posts: 9
Rep Power: 15 |
Hello,
I have created a Mesh in Salome pre-processing software and exported it into OpenFOAM using the ideasUnvToFoam process. I have designed it in 6 separate sections then built a compound mesh with all sections together, each defined by their respective group geometries such as inlet, outlet, etc. However, I am trying to use the rhoPorousMRFSimpleFoam case with this mesh. When I load it up with all the various parameters, I get stuck when it asks for --> FOAM FATAL ERROR: cannot find porous cellZone Stone_1 From function Foam:orousZone:orousZone(const keyType&, const fvMesh&, const dictionary&) in file cfdTools/general/porousMedia/porousZone.C at line 94. The problem is when I've exported the Mesh from salome, no cellZones are created so I can't modify them for this case. If someone could tell me how either to export the mesh from Salome to include cellZones or how to modify the porousZone input without the need for cellZones, I would be really grateful. Thanks in advance |
|
October 18, 2011, 08:51 |
|
#2 |
New Member
Raph Raggatt
Join Date: Jul 2011
Posts: 9
Rep Power: 15 |
If anyone wants to know the answer of how to create a cellzone using Salome. Simply select the regions from the "Create Groups from Geometry" under the volume element. Add these in the Mesh section, then export.
|
|
November 8, 2013, 07:03 |
|
#3 |
Member
Nickolas P
Join Date: Oct 2010
Location: Greece
Posts: 30
Rep Power: 16 |
Hello Raph,
I did exactly the same thing on a case with porous zone from SALOME using ideasUnvToFoam but with no luck. It gives me the following error: From function HashTable<T, Key, Hash>:perator[](const Key&) in file /home/sarris/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/HashTableI.H at line 110. The problem is probably on the "Group on Volume" from SALOME. Because, when I exported the mesh from SALOME to OpenFOAM without the porous zone, the export was done ok with no problem. Any reccomendations? I would greatly appreciate your help. Regards, Nickolas |
|
November 12, 2013, 10:10 |
|
#4 | |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Quote:
If you haven't solved your problem yet you could try a python script I created. See my post at http://www.cfd-online.com/Forums/ope...-openfoam.html It supports cellZones, just add all domains as separate groups and it should work. Let me know if you run in to problems. Best regards Nicolas |
||
November 12, 2013, 12:57 |
|
#5 |
Member
Nickolas P
Join Date: Oct 2010
Location: Greece
Posts: 30
Rep Power: 16 |
Hi Nicolas,
I downloaded your utility and loaded the script in SALOME. I get the following error message when try to run it: p, li { white-space: pre-wrap; } File "<input>", line 1, in <module> File "/home/sarris/OpenFOAM/Nickolas/Melt_Impr_BATES/salomeToOpenFOAM-master/salomeToOpenFOAM.py", line 46, in <module> from salome.smesh import smeshBuilder ImportError: cannot import name smeshBuilder Do you know which might be the reason for such an error? Thanks in advacne! Nickolas |
|
Tags |
porouszone salome |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh conversion exits prematurely (Salome to OF) | DMcP | OpenFOAM | 1 | May 16, 2024 10:35 |
[ICEM] Hexa mesh, curve mesh setup, bunching law | Anorky | ANSYS Meshing & Geometry | 4 | November 12, 2014 01:27 |
Converting Salome hybrid mesh to OpenFOAM | Arnoldinho | OpenFOAM | 4 | March 28, 2012 11:24 |
Imported ICEM mesh has additional body in the mesh | Procyon | CFX | 1 | January 27, 2011 17:21 |
SimpleFoam error with mesh imported from salome | matteo | OpenFOAM Running, Solving & CFD | 9 | January 2, 2008 05:04 |