|
[Sponsors] |
February 22, 2011, 17:55 |
FunkySetfields +InterFOAM
|
#1 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
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 |
|
February 23, 2011, 03:45 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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.
|
|
February 23, 2011, 06:52 |
|
#3 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
||
February 23, 2011, 10:21 |
|
#4 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Did you try funkySetFields?
|
|
February 23, 2011, 22:15 |
|
#5 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
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 |
|
February 24, 2011, 03:50 |
|
#6 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Of course only set the initial velocity inside the bubble, with the same expression you used to set the gamma-field.
|
|
February 24, 2011, 06:05 |
|
#7 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
||
February 24, 2011, 08:16 |
|
#8 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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?
|
|
February 25, 2011, 05:25 |
|
#9 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
||
February 27, 2011, 15:45 |
|
#10 | |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Quote:
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 |
||
February 28, 2011, 05:50 |
|
#11 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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.
|
|
|
|
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 |