CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Snappy not creating hole for hull (https://www.cfd-online.com/Forums/openfoam-pre-processing/244707-snappy-not-creating-hole-hull.html)

nollnoll August 24, 2022 04:10

Snappy not creating hole for hull
 
1 Attachment(s)
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

AtoHM August 24, 2022 05:36

1 Attachment(s)
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-´.

nollnoll August 27, 2022 07:32

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


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