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

Bubble rising, specification of the interface

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

Like Tree1Likes
  • 1 Post By ybapat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 20:29
Default Bubble rising, specification of the interface
  #1
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Hi All,

I just started using OpenFoam and now I'm trying to do a bubble rising problem. Since I'm new, I could have make some seriously stupid mistakes. So I'll be grateful if you can guide me to the right direction.

So I used interDyMFoam. (because I may need to add a solid object later to see the deformation of the bubble.) I think the right place to specify the initial shape of the bubble is in system/setFieldsDict, by defining a 'box' in boxToCell.

My first question is, is it possible to give a circular shape to the interface? What I'm doing now is
box (0.4 0.4 -1.0) (0.5 0.5 1.0)
which gives me a rectangle initial shape.

Second question, if I want to add a fixed(or maybe free falling) solid object to the fluid domain, so that when the bubble rises it deforms due to the presence of the solid, where should I specify the position and shape of the object. Should I add that in the boundary conditions? How about mesh refinement? I am using 'dynamicMeshDict', does it also work with presence of solid object?

Thanks for any piece of advice!

Best,
Prosper is offline   Reply With Quote

Old   March 6, 2014, 03:56
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Hello ,

You can use sphereToCell to patch bubble. Also for fixed solid wall you can keep it as wall inside the domain.

-Yogesh
Prosper likes this.
ybapat is offline   Reply With Quote

Old   March 6, 2014, 11:38
Default
  #3
Member
 
Join Date: Feb 2014
Posts: 34
Rep Power: 12
Prosper is on a distinguished road
Yogesh,

Thanks for your reply!

I am using cylinderToCell in my 2D case and it seems to be working. I'm sure I'll need sphereToCell in a 3D case.

So if I have a fixed solid wall, do I need to manually divide the single domain into hexagons? Do I need to treat the fixed solid as a hole in the domain? What if I have a solid with complicated shapes like a star? Can I just insert some solid into the domain instead of treating it as a hole?

Best,


Quote:
Originally Posted by ybapat View Post
Hello ,

You can use sphereToCell to patch bubble. Also for fixed solid wall you can keep it as wall inside the domain.

-Yogesh
Prosper is offline   Reply With Quote

Old   March 11, 2014, 11:05
Default From Salome Preprocessor to OpenFoam
  #4
Member
 
Anil Kunwar
Join Date: Jun 2013
Posts: 64
Rep Power: 11
Annier is an unknown quantity at this point
Hi,
How can we draw a geometry in Salome and export it to OpenFOAM?
Yours
Anil Kunwar
Annier is offline   Reply With Quote

Reply

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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


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