|
[Sponsors] |
March 26, 2017, 16:09 |
How to specify an oval shape bubble?
|
#1 |
New Member
Lieh
Join Date: Mar 2017
Posts: 26
Rep Power: 9 |
Hello
I am investigating stationary shape bubbles, I managed to set up a case for circular stationary gas bubble in water, now I want to have an oval/ellipsoidal shape bubble. How can I define such a shape? The circular/spherical one I defined in my setFieldsDict by sphereToCell { centre ( 0 0.01 0 ); radius 0.0033; fieldValues ( volScalarFieldValue alpha.water 0 ); } How to do something similar to have initially an oval shape bubble? |
|
March 27, 2017, 07:00 |
|
#3 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20 |
Tom is right.
This is my spherical bubble quickly converted to an ellipsoid for you: Code:
funkySetFields -latestTime -keepPatches -field alpha.water -expression "sqr(pos().x-$x_b)/sqr(a)+sqr(pos().y-$y_b)/sqr(b)+sqr(pos().z-$h_b)/sqr(c)<1?0:1" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A rising bubble in a stagnant liquid with two-fluid-model | fs82 | OpenFOAM Running, Solving & CFD | 30 | August 18, 2016 12:27 |
[ANSYS Meshing] Bubble modelling to simulate shape oscillations | akash | ANSYS Meshing & Geometry | 5 | February 1, 2013 01:32 |
[GAMBIT] Bubble modelling to simulate shape oscillations | akash | ANSYS Meshing & Geometry | 6 | January 30, 2013 12:17 |
Problem of simulating shape oscillations of Bubble - Multiphase flow | akash | FLUENT | 2 | January 29, 2013 13:46 |
Query on VOF for Bubble rise | Vamsi | Main CFD Forum | 0 | December 22, 2005 00:02 |