CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Hull Simulation Gone Bad

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2020, 03:03
Unhappy Hull Simulation Gone Bad
  #1
New Member
 
Join Date: Sep 2020
Posts: 4
Rep Power: 6
yannis_v is on a distinguished road
Hello everyone.

It is my first steps to OpenFoam and CFD in general, after completing a cfd class doing my master's degree. I tried to simulate the flow around a hull and estimate the drag coefficient, using the DTS hull example and a wiggley hull example I located, however both without enough documentation. The boundary conditions are almost an exact copy of the examples, and I made sure that the alpha factor was correctly calculated in zero time.

The mesh created using SALOME.

The code succesfully compiled (interfoam, k-omega), but when postprossecing, i realized that the water was leaving the domain . I tried to attach some photos but unfortunately I was not able, so i included them in a google drive folder (https://drive.google.com/drive/folde...TF?usp=sharing). I also include the 0, constant and system folders.

I suspect that the problem lies at inlet / outlet configuration.

Please help a guy not give up just yet

Thank you all and keep up the good work!
yannis_v is offline   Reply With Quote

Old   September 22, 2020, 10:05
Default
  #2
New Member
 
Pedro Pacheco
Join Date: Dec 2019
Location: Portugal
Posts: 10
Rep Power: 6
ptpacheco is on a distinguished road
Yannis, the link is not available...
ptpacheco is offline   Reply With Quote

Old   September 23, 2020, 04:48
Default
  #3
New Member
 
Join Date: Sep 2020
Posts: 4
Rep Power: 6
yannis_v is on a distinguished road
I'm so sorry.

Please find below the active link.

https://drive.google.com/drive/folde...TF?usp=sharing

Thank you for your assistance once again!
yannis_v is offline   Reply With Quote

Old   September 23, 2020, 09:50
Default
  #4
New Member
 
Pedro Pacheco
Join Date: Dec 2019
Location: Portugal
Posts: 10
Rep Power: 6
ptpacheco is on a distinguished road
Yannis, it seems you have switched the inlet and outlet. This is what is causing your problem: you are setting the velocity in the inlet and intermal mesh to be (8.24 0 0) m/s but since the inlet is the furthest part of the domain along the x axis, the velocity is actually pointing out of the domain.


You can either switch back the inlet and outlet or just put a minus sign on your Umean.


Hope this helps!
ptpacheco is offline   Reply With Quote

Old   September 24, 2020, 06:58
Default
  #5
New Member
 
Join Date: Sep 2020
Posts: 4
Rep Power: 6
yannis_v is on a distinguished road
ptpacheco thank you for your time!

I will check and revert as soon as possible!

I hope you have a great day!
yannis_v is offline   Reply With Quote

Reply

Tags
newbie

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
3D wave simulation CFX JimG91 CFX 9 January 2, 2023 01:54
Tutorial: Heave and Pitch Simulation of Ship hull moving through head sea waves Baxter FLUENT 3 May 2, 2019 05:31
Simulation of flow around a ship hull using fluent and Openfoam manoj_nav FLUENT 0 December 17, 2015 02:05
Multiphase Simulation of 26ft planning hull lucasiervolino FLUENT 0 September 27, 2015 18:54
Hydrostatic Pressure and Gravity miliante OpenFOAM Running, Solving & CFD 132 October 7, 2012 23:50


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