CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Snappy not creating hole for hull

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2022, 04:10
Default Snappy not creating hole for hull
  #1
New Member
 
nollnoll
Join Date: Apr 2012
Posts: 9
Rep Power: 14
nollnoll is on a distinguished road
Hello all,

I am trying to learn/use openfoam with the aim to discriminate between hull forms for a 8,5m catamaran.

Years ago, before children, I got help to build a case ( OpenFoam 4.0) and I would like to not reinvent if unneccesary, but use this case but with the most recent release of Openfoam. Thus I have changed the deprecated interDyMFoam to interFoam.

The problem I have is that when viewing the mesh in ParaView, there is no hollowing out for the hull, it is all a big block as far as I can see, I've checked using slice and the refinements seems to be there, but no hollow.

The location of the "locationInMesh" parameter seems correct, again as far as I can see.

If I have succeded, the case should be attached.I have modified the Allrun by commenting out the actual simulation part.

Kind regards
Patrik
Attached Files
File Type: zip Boat.zip (143.6 KB, 3 views)
nollnoll is offline   Reply With Quote

Old   August 24, 2022, 05:36
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
You should post in the Meshing subforum, its better to find your post there.


I quickly created the blockMesh on my station and my first guess, is that the background mesh is too coarse. Snappy does not know which cells to remove or refine. Refine the blockMesh such that there is at least one cell (or row of cells) that lies fully within the body.


Further, I can hardly imagine u get a good quality with such high aspect ratio in blockMesh. Snappy works best with cubes as background mesh-´.
Attached Images
File Type: png cfdo.PNG (169.7 KB, 11 views)

Last edited by AtoHM; August 24, 2022 at 07:39.
AtoHM is offline   Reply With Quote

Old   August 27, 2022, 07:32
Default
  #3
New Member
 
nollnoll
Join Date: Apr 2012
Posts: 9
Rep Power: 14
nollnoll is on a distinguished road
Hi,
Just to close this.
It turns out the issue was the way I was trying to run SnappyHexMesh in parallel was not working fully.
The issue was resolved by running it serial instead.

Kind regards
Patrik
nollnoll 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
FLUID THROUGH A HOLE (2D) interFoam AmélieO OpenFOAM Running, Solving & CFD 0 January 17, 2018 17:25
Having problems creating a hole in a geometry of a meshed case zaidhadi FLOW-3D 3 April 4, 2016 16:49
[Other] Creating a suction hole in a pipe geometry. Daneish OpenFOAM Meshing & Mesh Conversion 2 August 21, 2015 05:04
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51


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