|
[Sponsors] |
April 19, 2011, 12:48 |
Interior surfaces in OpenFOAM
|
#1 |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Dear Sirs,
I have created a mesh with a commercial grid generator. Its format is .msh (Fluent format). Then I have imported it into OpenFOAM environment. The problem lies in that the internal surfaces can be imported with fluent3DMeshToFoam, but once imported, I have to declare a specific boundary condition for those. Is there a procedure that allows me to declare those surfaces as "interior" (as in Fluent) surfaces? Yours Sincerely, Claudio |
|
April 20, 2011, 03:56 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Dear Claudio,
I have had a similar problem and using fluentMeshToFoam instead of fluent3DMeshToFoam, with the -writeSets and -writeZones options, worked for me. Code:
Usage: fluentMeshToFoam <Fluent mesh file> [-writeSets] [-writeZones] [-scale scale factor] [-case dir] [-help] [-doc] [-srcDoc] Code:
fluentMeshToFoam myMesh.msh -writeSets -writeZones -scale 0.001
__________________
Regards, Gijs |
|
April 20, 2011, 04:13 |
|
#3 | |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Quote:
Thank You very much gwierink. One question: with the -writeSets -writeZones options, are these interior faces retained or discarded? Because I need they are present during simulation since I make use of them during postprocessing. In fact, I know that fluentMeshToFoam usage (alone, without any additional options) does not allow to retain interior surfaces. Yours sincerely, Claudio |
||
April 20, 2011, 04:30 |
|
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Claudio,
If your mesh contains sets of vertices/edges describing faces, then it should work. Have a try. Also, have a look at this thread, where fluentMeshToFoamWithInternals is discussed. The thread is pretty old, so I think it is included in the standard converter now, but I'm not sure. Just have a go .
__________________
Regards, Gijs |
|
April 20, 2011, 06:30 |
|
#5 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Well....
default interiors which you do not need for postprocessing can be ignored using fluent3DMeshToFoam. The one you want to keep for postprocessing, ... need to be defined as a "fan" B.C. type in the grid generator BEFORE running fluent3DMeshToFoam. All the other "interior" types will be skipped by the converter. Afterwards you need to define them as a "cyclic" B.C. in OpenFOAM. Hope this helps. Regards Bastian |
|
April 20, 2011, 07:03 |
|
#6 | |
Member
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16 |
Quote:
Thank You Bastian, if I have understood correctly, if I want to make an internal surface "transparent" to the flux I have simply to define for it a "type cyclic" b.c. in files p, U, T k omega..? Yours Sincerely, Claudio |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |