|
[Sponsors] |
drops are moving against gravity with my mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2011, 13:17 |
drops are moving against gravity with my mesh
|
#1 | ||||
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
/edit: since my first description was to confusing, i now updated the first post. now with pictures and even with downloadable case file. thank you all for your support!
3 drops are initialised at rest at different positions over a structured surface in a 3D case without gravity >> depending on initialising-position: 1 is rising (right drop), 1 is at rest (middle drop), 1 is falling (left drop) details: - 3D case, cubic domain, 1 bottom patch with structures on it, 5 ambient patches - boundary conditions: see below - drops = phase1 = water, surounding = phase2 = air - interFoam solver - gravity g is set to 0 - drops initialised at rest with 0.8mm radius in 2mm height - cells per radius: 6 - only hexaedrons - mesh created in icem cfd, imported via fluent3DMeshToFoam - checkMesh: see below casefile download: http://dl.dropbox.com/u/29343553/ope...sHappen.tar.gz BCs for U: Quote:
Quote:
Quote:
Quote:
Last edited by of_user_; August 1, 2011 at 16:14. |
|||||
July 29, 2011, 13:59 |
|
#2 | |||
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
happens also with more correctors:
Quote:
Quote:
Quote:
|
||||
July 31, 2011, 06:28 |
|
#3 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
anyone any idea why this might happen?
|
|
July 31, 2011, 16:07 |
|
#5 | ||||
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
Quote:
Quote:
Quote:
Quote:
what do you mean by share it in openFOAM? posting on their site? regards, |
|||||
August 1, 2011, 04:42 |
|
#6 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
What is the topology of OUTSIDE (upload a picture of your domain)? If there is any corner in the patch, applying totalPressure is unphysical. Also, you could try zeroGradient on alpha instead of constantAngle 90 and see if that helps at all.
- Anton |
|
August 1, 2011, 05:42 |
|
#7 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
the domain is a cubic box. all patches except the bottom patch are plain, using patchtype wall and their BCs are defined by OUTSIDE. the bottom is not plain. there are the pyramid structures. the patchtype is wall and the BCs are defined as BOTTOM.
i defined all outside patches as one part in icem and i specify just one BC for all those ambient patches. |
|
August 1, 2011, 05:49 |
|
#8 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
So you have five sides of a box in OUTSIDE, which means you are trying to apply an isopressure boundary condition (totalPressure with p0=const) to a surface which contains corners and edges (i.e. discontinuities).
|
|
August 1, 2011, 05:53 |
|
#9 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
yes, i do.
i will check what happens when i use 5 different patches for it and report my results. but thank you so far. |
|
August 1, 2011, 06:02 |
|
#10 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
It doesn't matter if you use one or five patches. The important point is to change your boundary conditions.
|
|
August 1, 2011, 06:10 |
|
#11 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
so instead i should formulate the BC like this?
{ type fixedValue; value uniform 0; } or zero gradient? |
|
August 1, 2011, 07:52 |
|
#12 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
No! fixedValue again is specifying a constant pressure, which cannot physically exist on a discontinuous surface. You will need to specify a gradient instead. The interFoam tutorials use buoyantPressure, or you can use zeroGradient depending on your definition of pressure.
|
|
August 1, 2011, 10:55 |
|
#13 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
okay..
now i used zeroGradient for all BCs, except U at the bottom wall (this is fixed to 0) and apha1 at the ambient patches (this is inletOutlet). but my drop is still rising against gravity... /edit: maybe i will upload a clean and simple version of my case soon, so that you can get an impression of what is happening, since it is hard to explain... |
|
August 1, 2011, 11:22 |
|
#14 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
hi friend
for alpha: zeroGradient for U zergoradient for all patch except the bottom put it fixedValue zero for p put all patch bouyant pressure except for out-let and put fixed value zero ofcurse i suppose ur geometry is a column! |
|
August 1, 2011, 11:43 |
|
#15 | |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
i am sorry, it seems my case description was quite bad since all of you are unsure about my setup
here again, hopefully i can express myself more clearly this time: - i do use a cube as my domain. - the bottom patch is a solid surface (it is not plain but structured). - the other 5 patches are ambient. - there is no inlet or outlet in this case except from the ambient patches. - i tried using zeroGradient for all BCs to fix my problems. with exception of: - U at the bottom wall (this is fixed to 0) - apha1 at the ambient patches (this is inletOutlet). the droplet is still accelerated against gravity. /edit: Quote:
Last edited by of_user_; August 1, 2011 at 12:01. |
||
August 1, 2011, 15:39 |
|
#16 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello of_user,
Maybe an obvious question, did you use -9.81 for the gravity? best Wouter |
|
August 1, 2011, 16:11 |
|
#17 |
New Member
Join Date: Jul 2011
Posts: 19
Rep Power: 15 |
i updated post 1 to make my case clearer and i provide a downloadable casefile for anyone how is interested in testing
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
Dynamic Mesh moving interface help | akash.iitb | FLUENT | 0 | August 24, 2010 00:53 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 20:43 |
Moving unstructured mesh with changing topology | meaton | OpenFOAM Running, Solving & CFD | 6 | April 27, 2008 08:56 |
CavitatingFoam with a moving mesh mass conservation error | idosil | OpenFOAM Running, Solving & CFD | 3 | November 27, 2007 18:27 |