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

Immersed boundary solver & smooth VOF initialization in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By Taozi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2020, 11:11
Smile Immersed boundary solver & smooth VOF initialization in OpenFOAM
  #1
New Member
 
Chenguang Zhang
Join Date: Jul 2012
Location: Baton Rouge Louisiana
Posts: 15
Rep Power: 14
Taozi is on a distinguished road
Hi Community, I want to share my immersed boundary solver "sdfibm" (https://github.com/ChenguangZhang/sdfibm), I will omit the technical details (in paper) and show you what it can do. See the included example of the sedimentation of 100 particles (video version at https://www.youtube.com/watch?v=C6U9X9zatz8).



The code only depends on OpenFOAM, and is trivial to install and use---both as research and teaching tools, please please star the repository if you find it useful ^ ^

It also contains a tool to smoothly---which also means accurately---initialize VOF phase fractions in OpenFOAM, which works with arbitrary polyhedron meshes. See example initializations:



The tool is under the tool_vof folder, with the above example included.

Why smooth field: because simply setting fraction to 0-1 (as by setFields in OpenFOAM) gives a staircase or zig-zag interface. The resultant capillary waves are annoying and pollute the simulation. See comparison below (left my tool, right setFields)

Taozi is offline   Reply With Quote

Old   August 30, 2021, 21:27
Default
  #2
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15
frantov is on a distinguished road
Thanks for sharing!

Im interested in this amazing piece of code.



Im looking forward how this evolve and if you need any help in testing any future additions, let me know.


I have not been able to generate internal corners using planes.



I have tried implementing the collision rectangle-sphere or circle but my code crashes once circle touches rectangle (no bouncing).


cheers
F
frantov is offline   Reply With Quote

Reply

Tags
developing new solver, immersed boudanry, vof model


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
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
Radiation interface hinca CFX 15 January 26, 2014 18:11
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


All times are GMT -4. The time now is 23:07.