|
[Sponsors] |
InterFoam: Rigid Body standing still and fluid moving against gravity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2021, 10:08 |
InterFoam: Rigid Body standing still and fluid moving against gravity
|
#1 | ||
New Member
Daníel Freyr Hjartarson
Join Date: Sep 2020
Posts: 2
Rep Power: 0 |
Hi!
So, I am trying to setup a calm water simulation of a floating hull. Since I have little experience with OpenFoam so far, I decided to start off with the DTC Hull example / tutorial provided with OpenFoam. My line of though was to just swap the DTC hull out for a hull I am interested in analysing and take things from there. That has however proven tougher than I expected.. See attached image for the initial scene (marked T0). Here I've set a scalar clip filter on alpha_water at 0.34. I've tried playing around with the initial height of the water in setFields but without luck. Here's my the content of my setFields file: Quote:
The error I get from InterFoam is: Quote:
I know it might not be a lot of details I'm providing, but that is simply because I'm a little lost. Any ideas? I'll happily provide further information. Thanks in advance. |
|||
May 21, 2021, 16:50 |
|
#2 | |
New Member
Paulin FERRO
Join Date: May 2021
Location: France
Posts: 21
Rep Power: 5 |
Quote:
Hello, You have very likely a problem of mesh size. Are you sure that your hull fit well in the DTC tutorial ? By the way why a clip at alpha = 0.34 ? Could you please give more information ? : mesh view, checkMesh, initial condition etc.. Paulin |
||
May 28, 2021, 13:11 |
|
#3 |
New Member
Daníel Freyr Hjartarson
Join Date: Sep 2020
Posts: 2
Rep Power: 0 |
Hi PFerro,
thank you very much for the reply! To answer your question regarding the clip of 0.34. To be frank, in my ignorance I just pulled the slider to somewhere between 0 and 1, it happened to land on .34. Maybe that is bad practice? I've added the output of checkMesh. There are some skewed surfaces. I've also attached an image of a size comparison of the DTC hull (blue) and the hull I'm interested in analysing (green). I've also added a couple of screenshots of the mesh view of the hull. I don't know, is there a particular area of interest you'd need to see or can you maybe already see something odd from these images? |
|
|
|