|
[Sponsors] |
[Commercial meshers] ideasUnvToFoam Cell type not supported |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2017, 02:16 |
ideasUnvToFoam Cell type not supported
|
#1 |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Dear All:-
I used Salome V8_2_0 to generate successfully NETGEN 1D-2D-3D mesh grouped on geometry. However, when used ideasUnvToFoam utility I got the following error:- Code:
Create time Processing tag:164 Starting reading units at line 3. l:1 units:" SI: Meter (newton)" unitType:2 Unit factors: Length scale : 1 Force scale : 1 Temperature scale : 1 Temperature offset : 273.15 Processing tag:2420 Skipping tag 2420 on line 9 Skipping section at line 9. Processing tag:2411 Starting reading points at line 20. Read 3873594 points. Processing tag:2412 Starting reading cells at line 7747211. First occurrence of element type 22 for cell 1 at line 7747212 --> FOAM Warning : From function readCells(IFstream&, label&) in file ideasUnvToFoam.C at line 467 Reading "Mesh_1.unv" at line 7747212 Cell type 22 not supported --> FOAM FATAL IO ERROR: Attempt to get back from bad stream file: IStringStream.sourceFile at line 0. From function void Istream::getBack(token&) in file db/IOstreams/IOstreams/Istream.C at line 56. FOAM exiting Thank you in advance Last edited by wyldckat; August 27, 2017 at 11:27. Reason: Added [CODE][/CODE] markers |
|
July 17, 2017, 14:44 |
|
#2 |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Dear mattijs:-
I have produced 3D (2D-3D NETGEN) mesh by Salome V_8.2.0 and exported it to OpenFoam2.4.0. However, I got the error shown in the inserted image. From your old suggestion about similar case I knew that the solution is to find a newer version of the file ideasUnvToFoam.C in the directory (/home/xxx/OpenFOAM/OpenFOAM-2.4.0/applications/utilities/mesh/conversion/ideasUnvToFoam) and run wmake after replacing it with the older ideasUnvToFoam.C version. If that the case for me what would be the newer version to use?and if it worked for me, is that enough to copy the polymesh generated case to my old case ( with old version )? Many thanks in advance! My best regards! [Moderator note: Moved from IdeasUnvToFoam Bug amp Fix ] Last edited by wyldckat; August 27, 2017 at 11:28. Reason: see "Moderator note:" |
|
August 27, 2017, 11:32 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: As the message states:
Code:
Cell type 22 not supported Quoting from the answer I wrote there: Quote:
__________________
|
||
August 28, 2017, 16:48 |
|
#4 |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Thank you for replying. That bug report was reported by me under my university email
|
|
August 30, 2017, 19:02 |
|
#5 |
Member
Hooman
Join Date: Apr 2011
Posts: 35
Rep Power: 15 |
I have the same problem.
cell type 22 not supported. It is a 3D mesh from salome. What is the solution for this? I simply made a face and extruded in 3D. The mesh looks perfectly fine with 1 layer of mesh in the 3D dimension, exactly what I am looking for. |
|
August 30, 2017, 19:30 |
|
#6 | |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Quote:
As you might read the previous posts, mesh 22 is a 2D mesh, therefore, you have to extrude it with the appropriate mesh settings and then extrude it as .UNV. However, my advice to you, to mesh the surface effectively with fast simple way using Salome do the following:- 1. Create your 3D geometry (includes the target surface) and explode that geometry into faces. 2. Make automatic mesh setting choosing the suitable hypothesis for your geometry ( 3D-Hexahedralization, 3D-Tetrahedralization, ..etc). 3. Create mesh on geometry to including the target surface to have it meshed and reported as a patch for OpenFOAM. Hope that makes sense for you. my best. |
||
August 30, 2017, 20:07 |
|
#7 | |
Member
Hooman
Join Date: Apr 2011
Posts: 35
Rep Power: 15 |
Quote:
I assign empty to the 3d dimension patches, OpenFoam complaints that: patch type 'patch' not constraint type 'empty' I guess OpenFoam is still taking this as a 3D mesh and thus empty cannot be used. What would be your suggestion? |
||
August 30, 2017, 20:43 |
ideasUnvToFoam Cell type not supported
|
#8 |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
When you set the patch to the option empty, that means :- the whole 3rd dimension is one cell unit. Therefore you can not discretize it into many cells.
Have a look at the following:- http://www.salome-platform.org/forum/forum_10/904512484 Sent from my iPhone using CFD Online Forum mobile app |
|
January 3, 2018, 07:02 |
|
#9 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi All,
I also encountered through this "Cell Type 22 Not Supported" situation and Thank you for your valuable discussions (as these experiences of you all have helped me a lot). I made a cube geometry in Salome 7.8.0 software. The Unv to polyMesh conversion was smooth or succesful for the following Mesh Applied Algorithms: 1. Netgen 3D, Mefisto 2D and Regular 1D. 2. Netgen_2D3D (I clicked Netgen 1D-2D-3D.) - the attachment below consists results for p at t=5 for hotRoom(buoyantBoussinesqPimpleFoam) tutorial performed with this mesh. Yours Sincerely, Anil Kunwar |
|
January 3, 2018, 07:54 |
|
#10 | |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Quote:
Hi Anil:- At that point, do you need any help? My best. |
||
January 3, 2018, 10:00 |
|
#11 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi Ali,
I have found that you have put a lot of efforts on mesh export related works in Salome and OpenFoam. I appreciate your endeavours. With Netgen_2D3D, the simulation run is successful. Do you have any ideas on how we can assure 3D mesh (format) for the following Applied Algorithms in salome software: 1. Body Fitting Applied Algorithm 2. Netgen 2D, Netgen 3D (They are clicked separately in options for algorithm; Moreover I ticked the options for second order and quadrangle mapping in context of Netgen 2D applied algorithm)? Also, I am interested in hexahedral mesh in Salome. Do you use them for your OpenFOAM simulations (If so what are the applied algorithms and hypotheses in Salome)? Yours Sincerely, Anil Kunwar |
|
January 3, 2018, 10:25 |
|
#12 | |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Quote:
1. for Body fitting application, look at the following video:- https://www.youtube.com/watch?v=4xmSjjoioxI 2. Yes, they are separated ( but I did not get your point about them). For hexahedral mesh, I would say first start automatic hexahedralization ; if it does not succeed, split your geometry into blocks such that you could hexahedralize each separately under the whole geometry umbrella ( use submesh for each !). My best |
||
January 14, 2018, 06:56 |
|
#13 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Hi Ali,
Thank you for your prompt and detailed response. The reference video for bodyfitting mesh application is very helpful. 1. About Netgen : I just meant that they are clicked separately as there are two options in Salome 7.8.0 as: (i) Netgen_2D3D (ticking it once will do both 2D and 3D (ii) (a) Netgen-2D (tick it once separately) (b) Netgen-3D (tick it again separately) With option (i) , I could manage to have simulation successful and so I am asking you whether the second option has some difference with the first or not. 2. About Hexahedrons: The idea of sub-meshes with hexahedral multibodies seems to be a wonderful one. I will give it a try. Yours Sincerely, Anil Kunwar |
|
January 20, 2018, 16:55 |
|
#14 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
An additional note on ideasUnvToFoam
Code:
--> FOAM FATAL IO ERROR: cannot find file file: /home/username/OpenFOAM_projects/tests/buoyantBoussinesqPimpleFoam/jouleHeating/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 72. FOAM exiting The availability of controlDict file inside system folder of the test directory is the necessary condition for successful mesh conversion from Unv to Foam format. Yours Sincerely, Anil Kunwar |
|
January 20, 2018, 19:04 |
|
#15 |
Member
Ali Noaman Ibrahim
Join Date: Sep 2015
Location: US_Chicago
Posts: 97
Rep Power: 11 |
Thanks Anil!
As far as I see from the error message:- this is something relating to the solver and no thing to do with the UnvToFoam. Regards |
|
January 21, 2018, 04:03 |
|
#16 |
Member
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 12 |
Ali,
- I agree that it is related to Solver and ideasUnvToFoam.C is also one of the OpenFoam code. However, if we convert Unv geometry to Foam format within the test files containing all the minimum OpenFoam prerequisite files (i.e. including controlDict), there is no any issue of mesh conversion. -I had tried one by one for all the files within the system directory and only upon the presence of controlDict file, the conversion of mesh from Unv to Foam proceeeds for buoyantBoussinesqPimpleFoam application. I hope this is generic to every OpenFoam application. Yours Sincerely, Anil Kunwar |
|
December 11, 2020, 14:39 |
|
#17 |
New Member
M Shaaban
Join Date: Jun 2019
Posts: 11
Rep Power: 7 |
I've faced this issue, and think it is related to the "second order' option in NetGen 1D-2D-3D parameters.
|
|
July 11, 2021, 20:39 |
|
#18 |
New Member
Juan Vera
Join Date: Jul 2021
Posts: 1
Rep Power: 0 |
It worked for me not put any hypotheses in 2D-1D mesh option (I used hexahedrom algorithm).
|
|
June 3, 2022, 06:59 |
|
#19 |
Member
Sachin
Join Date: Aug 2014
Location: India
Posts: 84
Rep Power: 12 |
The solution to this issue is to uncheck the option "second order" inside netgen parameters.
|
|
September 15, 2022, 23:46 |
Thanks!
|
#20 |
New Member
Yeongbae Jeon
Join Date: Sep 2022
Posts: 1
Rep Power: 0 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
second order schemes | marine | OpenFOAM | 67 | April 11, 2022 19:19 |
High nut values in random place and time | krzychu111 | OpenFOAM Running, Solving & CFD | 0 | January 9, 2019 09:42 |
Compression instead of expansion | EnricoDeFilippi | OpenFOAM Running, Solving & CFD | 1 | October 8, 2018 11:19 |
Strange high velocity in centrifugal pump simulation | huangxianbei | OpenFOAM Running, Solving & CFD | 26 | August 15, 2014 03:27 |
SimpleFoam - instable simulation | Specialist | OpenFOAM Running, Solving & CFD | 17 | August 12, 2014 05:52 |