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

OpenFoam FloatingObject tutorial-to change the object from cuboid to cylinder(.stl)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Akki

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2019, 14:22
Unhappy OpenFoam FloatingObject tutorial-to change the object from cuboid to cylinder(.stl)
  #1
New Member
 
Ahsan
Join Date: Nov 2019
Location: Bologna, Italy
Posts: 27
Rep Power: 6
mahsankhan is on a distinguished road
I have a question, can someone please help me out?
I want to run the solver multiPhase/interFoam/RAS/floatingObject but by default it runs with a cuboid body, I have a cylindrical body in .stl format and I want to use it as a floating object.
How can I do this? I have been able to insert the cylindrical mesh in blockMesh by using snappyHexMesh, but how can I use the cylinder as a floating object? Thanks if someone can help me out, I am doing a univerisity homework
mahsankhan is offline   Reply With Quote

Old   November 27, 2019, 00:05
Default
  #2
New Member
 
Akshat
Join Date: Nov 2019
Posts: 2
Rep Power: 0
Akki is on a distinguished road
Hi Mahsankhan,

If your mesh with floatingObject patch (cylinder surface) is ready, then you need to just run the interFoam.
But before running that please ensure that you have correctly define the sixDoFRigidBodyMotionCoeffs in constant/dynamicMeshDict.

However, all the operations before the setFields in the tutorial are the mesh operations to create the meshed fluid volume with a cuboid cavity.
  • blockMesh will create a whole fluid volume (without cuboid).
  • In topoSet, the first action will set the cells in the fluid volume with the name c0 (cuboid). And the second action will define the cells which are not in the cuboid with the same name c0 (except cuboid).
  • In the subsetMesh, it will overwrite the existing mesh with the new defined cells in the cellset name c0. And defined the cuboid cavity with floatingObject patch name.

I hope this will help you.
mahsankhan likes this.
Akki 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
How to change density in OpenFoam zhaowei OpenFOAM Running, Solving & CFD 8 November 5, 2018 10:37
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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