|
[Sponsors] |
September 11, 2016, 13:06 |
How to build complex geometry in openfoam?
|
#1 |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 10 |
Hi friends,
I was an ansys user and now is atarting with openfoam for my cfd analysis. After understanding some openfoam basics, I was trying to convert fluent mesh into openfoam format, but some errors came, not sure what's the problem, maybe complexity or naming.. Just want to understand what could be an effective way to build complex geometry (such as an urban site with building windows open) and have openfoam to read it, any thrid party software available? Thanks a lot! Mark |
|
September 12, 2016, 06:02 |
|
#2 | |
New Member
Join Date: May 2016
Posts: 28
Rep Power: 10 |
Quote:
This could also be useful for you: http://cfd.direct/openfoam/user-guid...#x27-1940005.5 |
||
September 15, 2016, 06:01 |
|
#3 | |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 10 |
Quote:
Thanks for ur help, here is my error. I built solid blocks through design modeller and created enclosure. Then I suppressed the solid bodies (with only enclosure left) and gave 'inlet' 'outlet' naming only. markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Case3$ fluentMeshToFoam Case3.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 4.0-665f1db4c1f1 Exec : fluentMeshToFoam Case3.msh Date : Sep 15 2016 Time : 18:51:23 Host : "markjin-VirtualBox" PID : 4063 Case : /home/markjin/OpenFOAM/markjin-4.0/run/Case3 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Embedded blocks in comment or unknown: ( Embedded blocks in comment or unknown Found end of section in unknown Embedded blocks in comment or unknown Found end of section in unknown Found end of section in unknown Embedded blocks in comment or unknown: ( Embedded blocks in comment or unknown Found end of section in unknown Embedded blocks in comment or unknown: ( Found end of section in unknown Found end of section in unknown Embedded blocks in comment or unknown: ( Embedded blocks in comment or unknown Found end of section in unknown Found end of section in unknown Embedded blocks in comment or unknown: ( Embedded blocks in comment or unknown Found end of section in unknown Embedded blocks in comment or unknown Found end of section in unknown Found end of section in unknown Dimension of grid: 3 Number of points: 10036 number of faces: 26210 Number of cells: 8129 Reading points Reading points Reading mixed faces Reading mixed faces Reading mixed faces Reading mixed faces Other readCellGroupData: 2 1 1fc1 1 0 Reading mixed cells Read zone1:1 name:interior-solid patchTypeID:interior Reading zone data Read zone1:2 name:solid patchTypeID:fluid Reading zone data Read zone1:5 name:inlet patchTypeID:velocity-inlet Reading zone data Read zone1:6 name outlet patchTypeID pressure-outlet Reading zone data Read zone1:7 name:wall-solid patchTypeID:wall Reading zone data FINISHED LEXING #0 Foam::error: printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 ? at ??:? #4 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #5 ? at ??:? Segmentation fault (core dumped) markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Case3$ |
||
September 15, 2016, 07:31 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
I can not help you with the ICEM import (I did it only for simple 2D cases during my study time) but for 6 years now, I am using snappyHexMesh for everything. See the wiki site, the openfoam tutorials or check out my website. The next two tutorials that I will publish are:
__________________
Keep foaming, Tobias Holzmann |
|
September 18, 2016, 09:38 |
|
#5 | |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 10 |
Quote:
Hi Tobi, thanks for your help. May I describe my case here? It would be great if you get time to give any sugguestion! Simply, I want to use openfoam for natural ventilation analysis. I will need to build a cluster of buildings and an enclosure around them where wind blows within the enclosure, that's what I did using 'Ansys design modeller and meshing' before. But it seems it is not workable when I do 'fluentMeshToFoam' trying to convert boths buildings and enclousre in the meantime. I saw some talks about snappyHexMesh and Salome, is it true that I need to export building geometry and enclosure geometry seperately into STL format that openfoam can read? Do you have any sugguestion? Thank you so much!!! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
[ICEM] Complex Geometry for Hex Mesh | smoerebroet | ANSYS Meshing & Geometry | 0 | January 9, 2015 16:21 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |