ideasUnvToFoam fails
hi everyone,
I have got an issue with ideasUnvToFoam. I am trying to convert a UNV mesh generated with salome using the above converter. However, I continually get the error: Code:
Build : 1.6.x-f6aa54d23187 Any ideas? All the best, Chris |
Further description of Problem
Hi again,
I think I narrowed down the problem but still don't understand why ideasUnvToFoam won't work. Any help would be really appreciated. I constructed a test case, consisting of a simple block. Now, in Salome, if I define only the "Walls" of the box as boundary faces, ideasUnvToFoam works fine. However, as soon as I define the volume in between the faces the converter stops with an error as printed above. Now one might say, don't define the volume then.. In my case, I have to different volumes in a room that have different temperatures and pressures... The easiest way I could think of this was to define two different boundaries... Any other ideas? Many thanks, Chris |
Hi
Could you post the Salome script? then its easier to have a look. It sounds like you have two volumes which are connected in some way? correct me if I'm wrong. I don't think the ideasUnvToFoam converter supports multiple volumes. So export them separately and connect the BC using Ggi from 1.5-dev or stitchMesh. |
ideasUnvToFoam fails too
Hi,
I also have an issue with conversion using a UNV mesh generated with salome 6.4. Funny thing is, I get different error messages using OF 2.0.1 and OF 2.1.0. Can anyone help me understanding this problem? Here with OF 2.0.1: Code:
/*---------------------------------------------------------------------------*\ Code:
/*---------------------------------------------------------------------------*\ Lucas |
Hi everyone!
I'm working on a simulation too, and it appears the same mistake: ingarcia@ingarcia-desktop:~$ cd CFD-Openfoam/prueba9/ ingarcia@ingarcia-desktop:~/CFD-Openfoam/prueba9$ ideasUnvToFoam prueba9.unv /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : ideasUnvToFoam prueba9.unv Date : Jul 19 2013 Time : 15:54:56 Host : ingarcia-desktop PID : 2947 Case : /home/ingarcia/CFD-Openfoam/prueba9 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Processing tag:2411 Starting reading points at line 3. Read 9616 points. Processing tag:2412 Starting reading cells at line 19238. First occurrence of element type 11 for cell 1 at line 19239 First occurrence of element type 41 for cell 631 at line 21129 Read 0 cells and 19232 boundary faces. Processing tag:2467 Starting reading patches at line 59595. For group 1 named inlet trying to read 8 patch face indices. For group 2 named outlet trying to read 6 patch face indices. For group 3 named walls trying to read 19198 patch face indices. ideasUnvToFoam: ideasUnvToFoam.C:881: int main(int, char**): Assertion `nrFaceCells[faceI] == 1 || nrFaceCells[faceI] == 2' failed. Aborted I'm defining the inlet, outlet and walls volume , but I can't find the solution of that problem yet. If anyone has solved it, I'll appreciate your help. Thank you very much. |
Hi, Did you ever manage to find the cause of this error?
I am also stuck with this issue. Thanks, Alex |
Hey all,
After making some trial-and-error cycles between Salome and OpenFOAM, I have solved this problem by simply deleting existent "groups of faces" and recreating new groups under the same mesh (Mesh_1 for example). Some faces must have been misaligned whilst processing in Salome. It's certainly worth trying this out, thereby narrowing your troubleshooting down. Cheers! |
Hi again,
Similarly to the reply above. I solved the issue by deleting some edges from groups in the Salome mesh. For me this causes a bug where Salome refuses to export the mesh as a UNV but I get around this by saving the case and reopening. Openfoam incorrectly identified points on Z directional edges assigned to a geom group, as face zones. |
Quote:
|
All times are GMT -4. The time now is 13:50. |