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

[swak4Foam] FunkySetfields +InterFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2011, 17:55
Default FunkySetfields +InterFOAM
  #1
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Hi all,

I have been using funky setfeilds+interfoam to simulate droplet impingement on to a free surface. I create a circular gamma field using funkySetfields. As I run my simulation, the droplet impacts the free surface vertically. How do I modify so that the droplet impinges the free surface obliquely?I tried changing the acceleration due to gravity by multiplying it with pi/4, rotated the mesh by pi/4 etc but nothing worked. Any help would be appreciated

Cheers,

Ramesh
yapalparvi is offline   Reply With Quote

Old   February 23, 2011, 03:45
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
I think the correct physics is to give bubble an initial horizontal velocity. Changing the direction of gravity will obviously also change the orientation of your free surface, which is probably not what you want.
Bernhard is offline   Reply With Quote

Old   February 23, 2011, 06:52
Default
  #3
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
I think the correct physics is to give bubble an initial horizontal velocity. Changing the direction of gravity will obviously also change the orientation of your free surface, which is probably not what you want.
Thanks Bernhard. How do I do this?.
yapalparvi is offline   Reply With Quote

Old   February 23, 2011, 10:21
Default
  #4
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Did you try funkySetFields?
Bernhard is offline   Reply With Quote

Old   February 23, 2011, 22:15
Default
  #5
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
Did you try funkySetFields?
Yes, I use the following commands
funkySetFields -time 0 -field U -expression 'vector(0,0,0)' -keepPatches
funkySetFields -time 0 -field gamma -expression 0 -keepPatches
funkySetFields -time 0 -field gamma -expression 1 -keepPatches -condition "pow(pos().x-0.292,2)+pow(pos().y-0.534,2)<pow(0.05,2)"
funkySetFields -time 0 -field gamma -expression 1 -keepPatches -condition "pos().x <=0.584 && pos().y <=0.05"
attached are two picture. Initial shows the intial gamma field created using funkySetfields using the above commands.
If my velocity vector is (0,0,0) the droplet falls vertically.

I changed the velocity vector (0.71, 0,0). Although it starts to impact obliquely(02sec_field.jpg) , the problem I have is even the liquid layer at the bottom also changes. Please let me know how to fix this
Attached Images
File Type: jpg Initial_Field,jpg.jpg (16.9 KB, 36 views)
File Type: jpg 02secs_Field,jpg.jpg (19.3 KB, 31 views)
yapalparvi is offline   Reply With Quote

Old   February 24, 2011, 03:50
Default
  #6
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Of course only set the initial velocity inside the bubble, with the same expression you used to set the gamma-field.
Bernhard is offline   Reply With Quote

Old   February 24, 2011, 06:05
Default
  #7
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
Of course only set the initial velocity inside the bubble, with the same expression you used to set the gamma-field.
Thanks. How do I set the velocity only inside the bubble?
yapalparvi is offline   Reply With Quote

Old   February 24, 2011, 08:16
Default
  #8
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
By using what you already know from funkySetFields? If you can set gamma inside your bubble, you can probably do it for U as well, right?
Bernhard is offline   Reply With Quote

Old   February 25, 2011, 05:25
Default
  #9
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
By using what you already know from funkySetFields? If you can set gamma inside your bubble, you can probably do it for U as well, right?
Thanks for your help. It worked..
yapalparvi is offline   Reply With Quote

Old   February 27, 2011, 15:45
Default
  #10
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17
yapalparvi is on a distinguished road
Quote:
Originally Posted by Bernhard View Post
By using what you already know from funkySetFields? If you can set gamma inside your bubble, you can probably do it for U as well, right?
Hi,

suppose I replace this liquid droplet with a solid object How do I go about solving this type of problem. Ofcourse, this solid object is in air and there is a layer of liquid at the bottom
yapalparvi is offline   Reply With Quote

Old   February 28, 2011, 05:50
Default
  #11
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Then your situation is completely different. You cannot use interFoam, and I don't know whether it is possible in OpenFOAM to solve this kind of problem. At least you have to deal with dynamic meshes and stuff like that.
Bernhard 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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58
[swak4Foam] InterFoam + FunkySetFields - Initial phase function of the given volume pedrojrebelo OpenFOAM Community Contributions 0 February 12, 2015 19:03
interFoam in parallel gooya_kabir OpenFOAM Running, Solving & CFD 0 December 9, 2013 06:09


All times are GMT -4. The time now is 13:11.