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

FunkySetfields +InterFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 22, 2011, 17:55
Default FunkySetfields +InterFOAM
  #1
Member
 
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 8
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: 12
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: 8
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: 12
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: 8
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, 21 views)
File Type: jpg 02secs_Field,jpg.jpg (19.3 KB, 17 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: 12
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: 8
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: 12
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: 8
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: 8
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: 12
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 164 January 13, 2015 03:52
InterFoam stops after deltaT goes to 1e14 francesco_b OpenFOAM Running, Solving & CFD 8 July 31, 2013 02:29
Slow interFoam compared with other CFD tools? Ralph M OpenFOAM Programming & Development 1 November 17, 2010 07:46
interFoam & cyclic condition Ingenierias2003 OpenFOAM 2 June 7, 2010 11:16
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58


All times are GMT -4. The time now is 17:43.