CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2017, 16:28
Default snappyHexMesh
  #1
New Member
 
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 8
anufagbemi is on a distinguished road
Hello guys,
Please has anyone been able to run snappyHexMesh on any foam-extend platform? I ran the same case on openFoam 5.x and foam-extend 4.0 and it works very smoothly on 5.x, however when I tried running the exact same case on foam-extend, i keep getting this error.
Code:
--> FOAM FATAL IO ERROR: 
keyword debug is undefined in dictionary "$WM_PROJECT_USER_DIR/FluidSolidInteraction/run/fsiFoam/Stanproj/system/snappyHexMeshDict"

file: "$WM_PROJECT_USER_DIR/FluidSolidInteraction/run/fsiFoam/Stanproj/system/snappyHexMeshDict from line 18 to line 310.

    From function dictionary::lookupEntry(const word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 395.

FOAM exiting
Please can someone help with why I keep getting this error.

Thanks
Samuel
anufagbemi is offline   Reply With Quote

Old   December 21, 2017, 05:11
Default
  #2
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 13
HakikiCanakkaleli is on a distinguished road
Have a look at snappyHexMeshDict examples in foam-extend. There most certainly be subtle differences in the dictionary entries of each version. Add the missing entries, which seems to be 'debug' in this particular example, and all will be well. :]

If the problem is more elaborate, you may first need to provide more complete picture of your problem. The following thread might give some insight regarding this: Guide: How to ask a question on the forums
HakikiCanakkaleli is offline   Reply With Quote

Old   December 29, 2017, 21:15
Default Re:
  #3
New Member
 
Sam
Join Date: Nov 2017
Posts: 24
Rep Power: 8
anufagbemi is on a distinguished road
Thank you that useful information. Specifically I am trying to carry out fsi simulations with fsiFoam based on real porous media image from mct scans. I used snappyHexMesh separately for both the fluid and solid cases.
Since I am simulating for solid deformation and fluid flow, I need both the solid and fluid domains coupled together. I tried to make both of them, inversions of the other hence giving them a common interface.
The fluidDomain.stl is the primary file. I got the solid by using the same exact snappyHexMeshDict file as the fluid and only changed the
Code:
locationInMesh
for the solid snappyHexMeshDict which worked out fine.
Hence solid boundaries are derived from the originally run blockMesh. The only problem I have now is that I need the interface of the solid whose boundaries are now hanging kind of hanging, in order to set the faceZones. i get this error when I run the setSet command for the solid.
Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0



--> FOAM FATAL ERROR:
Error in point ordering: mixed used and unused points at the end of point list.
Last used point: 5683 (0.00210709 0.00152491 0.00154834)
First unused point: 5684 (0.00210875 0.00152584 0.00154927)
and point 5684 (0.00210875 0.00152584 0.00154927) is used by a live face.
Face 14 4(5684 744814 829036 745102) with points 4((0.00210875 0.00152584 0.00154927) (0.00210916 0.00152545 0.00154757) (0.00210916 0.00152414 0.00154757) (0.00210916 0.00152414 0.00154888))
Face 16 4(5684 745107 829039 744814) with points 4((0.00210875 0.00152584 0.00154927) (0.00211046 0.00152545 0.00154888) (0.00211046 0.00152545 0.00154757) (0.00210916 0.00152545 0.00154757))
Face 19 4(5684 745102 829040 745107) with points 4((0.00210875 0.00152584 0.00154927) (0.00210916 0.00152414 0.00154888) (0.00211046 0.00152414 0.00154888) (0.00211046 0.00152545 0.00154888))
Face 17831 4(5684 745108 829047 745107) with points 4((0.00210875 0.00152584 0.00154927) (0.00210917 0.00152673 0.00154885) (0.00211 0.00152719 0.00154931) (0.00211046 0.00152545 0.00154888))
Face 17832 4(5684 745107 829365 745109) with points 4((0.00210875 0.00152584 0.00154927) (0.00211046 0.00152545 0.00154888) (0.00211011 0.00152577 0.0015505) (0.00210925 0.00152534 0.00155006))
Face 1803653 4(5684 744814 829037 745106) with points 4((0.00210875 0.00152584 0.00154927) (0.00210916 0.00152545 0.00154757) (0.00210752 0.00152578 0.00154789) (0.00210792 0.00152538 0.00154879))
Face 1803654 4(5684 745106 829038 745102) with points 4((0.00210875 0.00152584 0.00154927) (0.00210792 0.00152538 0.00154879) (0.00210748 0.00152449 0.0015492) (0.00210916 0.00152414 0.00154888))
Face 1803658 4(5684 744814 829042 745108) with points 4((0.00210875 0.00152584 0.00154927) (0.00210916 0.00152545 0.00154757) (0.00210875 0.00152712 0.00154793) (0.00210917 0.00152673 0.00154885))
Face 1804364 4(5684 745109 829362 745102) with points 4((0.00210875 0.00152584 0.00154927) (0.00210925 0.00152534 0.00155006) (0.00210887 0.00152418 0.00155049) (0.00210916 0.00152414 0.00154888))
Done.

    From function void polyMesh::initMesh()
    in file meshes/polyMesh/polyMeshInitMesh.C at line 170.

FOAM aborting

Aborted (core dumped)
I'm guessing that those are the interface points that are hanging without any specified name for them. My case folder is very huge therefore can't upload.
Attached is the image of both phases for fluid and solid. Please can you help me to map those interface points for the solid.

Thanks
Sam
Attached Images
File Type: jpg solid.jpg (88.8 KB, 14 views)
File Type: jpg fluid_domain.jpg (83.8 KB, 14 views)
anufagbemi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 02:55
[snappyHexMesh] snappyhexmesh doesn't creat mesh in parallel issue? klausb OpenFOAM Meshing & Mesh Conversion 1 March 7, 2015 11:55
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 02:09


All times are GMT -4. The time now is 22:28.