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

[snappyHexMesh] Mesh around ship with appropriate free surface refinement

Register Blogs Community New Posts Updated Threads Search

Like Tree27Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2013, 11:44
Default
  #41
Member
 
Hannes
Join Date: Apr 2009
Location: Schleswig, Germany
Posts: 38
Rep Power: 17
Hannes_Kiel is on a distinguished road
Hi Vince,

from the description in the paper, there is actually quite a bit of in-house code involved.
- MHRIC: Basically, this is a variant of the HRIC scheme by Muzaferija (sp.?) & Peric, designed to have compressive properties within the convective transport of the VoF-scalar. The formulae can be found in another paper from the workshop: "Numerical simulation of wave induced
motion of a floating body". From my experience it is supposed to omit the Courant-no. dependency of the HRIC scheme, albeit at the cost of robustness. I'm actually pretty happy with the standard HRIC. For the implementation of those more complex div-schemes take a look at the naval-foam package in the extend repository.
- DFBI: The way it looks to me it is not Dynamic Fluid Body Interaction the way it is meant in Star-CCM (implicit or strong coupling of flow and body motion, see PhD-Thesis by Yan Xing-Kaeding, TUHH) but a quasi-static update of the position every 200 iterations. In the standart implementation of LTSInterFoam, to the best of my knowledge, body motion is not intended.

Hope this helps.
Hannes
__________________
FluidEngineeringSolutions
Hannes_Kiel is offline   Reply With Quote

Old   August 21, 2014, 04:16
Default
  #42
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 237
Rep Power: 16
vonboett is on a distinguished road
I would like to add something with respect to multiple refinement steps by calling snappyHexMesh (with castellatedMesh true) and refineMesh several times: To my experience, one runs into trouble if the cells you want to refine do not lie inside or outside of the cellSets or regions that were refined in prior steps. If the actual cellSet (or refinementRegions etc.) includes those cells that form the transition between a coarser and a finer grid resolution, one ends up with mesh errors. Mayby this can help someone to understand success and failure of repeting refineMesh or snappyHexMesh steps.
Hannes_Kiel and Gio Baila like this.
vonboett is offline   Reply With Quote

Old   August 22, 2014, 03:17
Default
  #43
Member
 
Hannes
Join Date: Apr 2009
Location: Schleswig, Germany
Posts: 38
Rep Power: 17
Hannes_Kiel is on a distinguished road
I totally agree. As a remedy, the cells to be refined can not only be defined by region, but by cell level (or volume) as well.

Quote:
Originally Posted by vonboett View Post
I would like to add something with respect to multiple refinement steps by calling snappyHexMesh (with castellatedMesh true) and refineMesh several times: To my experience, one runs into trouble if the cells you want to refine do not lie inside or outside of the cellSets or regions that were refined in prior steps. If the actual cellSet (or refinementRegions etc.) includes those cells that form the transition between a coarser and a finer grid resolution, one ends up with mesh errors. Mayby this can help someone to understand success and failure of repeting refineMesh or snappyHexMesh steps.
__________________
FluidEngineeringSolutions
Hannes_Kiel is offline   Reply With Quote

Old   March 31, 2015, 06:33
Default Trim to the hull (Positioning the geometry in the Mesh)
  #44
Member
 
Sachin
Join Date: Aug 2014
Location: India
Posts: 84
Rep Power: 11
Sachin m is on a distinguished road
Has anyone tried simulation of a vessel with a trim.??
I would like to simulate a ship with a trim of 7 degrees. Is there anyone who can help me out with this?
Sachin m is offline   Reply With Quote

Old   March 31, 2015, 06:35
Default
  #45
Member
 
Hannes
Join Date: Apr 2009
Location: Schleswig, Germany
Posts: 38
Rep Power: 17
Hannes_Kiel is on a distinguished road
Hi Sachin,
I'd suggest you transform the geometry prior to meshing, e.g. by using surfaceTransformPoints.

Best Regards,
Hannes
mo_na likes this.
__________________
FluidEngineeringSolutions
Hannes_Kiel is offline   Reply With Quote

Old   April 2, 2015, 02:29
Default
  #46
Member
 
Sachin
Join Date: Aug 2014
Location: India
Posts: 84
Rep Power: 11
Sachin m is on a distinguished road
Thanks for the reply hannes
Sachin m is offline   Reply With Quote

Old   October 4, 2019, 07:28
Default
  #47
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8
Rasmusiwersen is on a distinguished road
Quote:
Originally Posted by colinB View Post
Hi Andrea,

to avoid the mentioned error message and to
prevent you from copying folders and so on you could also
use the -overwrite flag for some of the commands.
That works for me.

So the workflow looks like:

1. blockMesh
2. snappyHexMesh -overwrite
3. topoSet
4. refineMesh -dict -overwrite
( till now checkMesh is very good !! )
5. snappyHexMesh -overwrite
This is the part that did it for me, although i didn't repeat step 5. I do get errors with exceeded MaxSkewness and non-orthogonality cells, although so far I've been able to get rid of them by increasing

nSolveIter
nFeatureSnapIter
nRelaxIter

in the snappyHesMeshDict.

Hope this helps (Y)
Rasmusiwersen is offline   Reply With Quote

Reply

Tags
refinement, ship wave, shm, snappyhexmesh


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] Snappy Hex Mesh - issue with smoothness of the model edges olek.warc OpenFOAM Meshing & Mesh Conversion 1 August 31, 2018 11:31
[snappyHexMesh] crash sHM H25E OpenFOAM Meshing & Mesh Conversion 11 November 10, 2014 11:27
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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