CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Simulation of a flow from a syringe into air

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2019, 06:36
Default
  #21
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Here are some pictures to explain the different named selections that I've created (I've decided to hide some parts for each named selection, in order to be clearer in the visualization).
Attached Images
File Type: jpg body_air.jpg (57.2 KB, 13 views)
File Type: jpg walls_air.jpg (58.5 KB, 14 views)
File Type: jpg body_fluid.jpg (54.3 KB, 11 views)
File Type: jpg walls_syr_tip.jpg (55.4 KB, 13 views)
File Type: jpg inlet.jpg (53.7 KB, 10 views)
ydima is offline   Reply With Quote

Old   July 1, 2019, 20:47
Default
  #22
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
does it mean, that you've created real wall of syringe? (shape of water body and shape of syringe wall is different)

show cross section.

zones air and water should have the same material, syringe wall has different material. between air and water there should be some boundary (tip of syringe) with interior boundary condition

explain again, what problem do you have now

best regards
AlexanderZ is offline   Reply With Quote

Old   July 2, 2019, 11:39
Default
  #23
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hi,

Yeah, as I explained you I have sketched my syringe in 3D (with the tip), but it is hollow, so I used the "Fill" tool to create of volume in it.

I've found a solution for my previous issue (air being considered as a solid), but when I display results I still have very weird things. Nothing seems to come out of the syringe into the cube of air I'm pretty sure that I have issues at the interface, but I can't understand why. Like if the software considers that there is a wall blocking the fluid, either at the end of the tip or at the beginning of the air. I am sorry, but I think I've understood your messages well, and I still can't find my error.

I've added a boundary condition on the lower surface of the volume of fluid inside the syringe (check pictures), and it is an interior in the boundary conditions. However, I have the exact same results than when I didn't have it... By the way, as you can see on pictures, the lower surface of the volume of fluid is also the bottom of the hole of the cube of air. Thus, I really don't understand why it doesn't work, because this means that the surface at the bottom of the cube of air and the surface at the bottom of the volume of fluid are actually the SAME, so if it is defined as an interior, I don't understand why the fluid would be blocked. I am actually so lost

I put you again in the pictures some details of the interface between air and syringe. To summarize, I've defined a named selection for the walls of the syringe, and another one for the walls of the air but only on the faces of the cube, not into the hole as you can see on the picture (because I already put walls on the tip in there). I just tried to put walls_air also in the hole (except on surface_tip), still same results! I try to be as clear as possible sorry.. I've enclosed a picture showing the complete list of my boundary conditions, if you see something weird tell me (surface_tip is an interior). I am actually quite desperate right now haha

In my next message I will show you some pictures of my results. If you want I can directly send you my work if you give me your email. I guess it would be easier for you to understand and visualize.

Anyway thank you so much for your time, actually I am in a research group and absolutely nobody here is able to help me on simulations, so you're kind of my only hope.

Yoann
Attached Images
File Type: jpg surface_tip.jpg (60.3 KB, 7 views)
File Type: jpg surface_tip_from_air.jpg (59.8 KB, 6 views)
File Type: jpg walls_air.jpg (60.9 KB, 6 views)
File Type: jpg walls_syr_tip.jpg (59.5 KB, 6 views)
File Type: jpg boundary conditions.jpg (36.7 KB, 6 views)
ydima is offline   Reply With Quote

Old   July 2, 2019, 11:48
Default
  #24
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Here are some pictures of the (weird) results. It's like the fluid was under pressure at the top of the syringe, "stable" in it, and compressed against a wall at the bottom (nothing is going in the cube of air). Whatever the velocity inlet and the time step that I choose, I always face this problem.

Yoann
Attached Images
File Type: jpg inlet_body_fluid.jpg (90.8 KB, 8 views)
File Type: jpg body_fluid.jpg (98.9 KB, 8 views)
File Type: jpg edge_tip_body_fluid.jpg (90.2 KB, 7 views)
File Type: jpg body_air.jpg (90.8 KB, 8 views)
File Type: jpg pressure.jpg (91.3 KB, 9 views)
ydima is offline   Reply With Quote

Old   July 2, 2019, 23:53
Default
  #25
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
in boundary conditions go to surface_tip and change type from wall to interior

make sure you have air material in syringe and air zones

best regards
AlexanderZ is offline   Reply With Quote

Old   July 3, 2019, 05:24
Default
  #26
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hi,

As I told you, surface_tip is already an interior...
And I did a multiphase model, like in 2D: water in the syringe and air in the cube below. Why put air in both ? The goal of my work is to see the behaviour of the fluid in the syringe (water here) when going into air. And I think this doesn't change the issue of fluid not going out of the syringe. Do you have other solutions please?

Thank you
Yoann
ydima is offline   Reply With Quote

Old   July 4, 2019, 00:28
Default
  #27
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
you should put air everywhere, but in syringe you put water later, after INITIALIZATION using PATCH tool

best regards
AlexanderZ is offline   Reply With Quote

Old   July 4, 2019, 05:31
Default
  #28
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Actually it's already what I've done...

Do you have any other ideas to solve the issue at the interface?

Yoann
ydima is offline   Reply With Quote

Old   July 4, 2019, 23:47
Default
  #29
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
upload you case here

best regards
AlexanderZ is offline   Reply With Quote

Old   July 5, 2019, 11:53
Default
  #30
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
I can't upload it here, I need your email address. Send me it by private message if you want
ydima is offline   Reply With Quote

Old   July 9, 2019, 10:44
Default
  #31
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hey,

I post here again because I really can't find any solution for my problem... I decided to slice everything in half to have a better visualization. However, I have a really weird a problem at the end of the tip (at the interface; oh what a surprise ). The water from the syringe is perfectly going down at the top, but at the end of the tip it doesn't go down, and on the contrary, it goes up! It's like the air from the cube is going up in the syringe... But I can't understand how is it possible, if some water is going down at the top and going up at the end, we should have losses right ?? Where is the water missing going ? Please check the pictures I've enclosed. I have created a named selection at the interface as an interior (like it worked so well in 2D), and when I only display this, the behavior is also really weird, there is like water and air at the beginning, but gradually water is disappearing and air occupies more and more space (I put 2 pics showing the evolution of surface_tip and body_air).

Can someone help me please ?

Yoann
Attached Images
File Type: jpg beginning tip.jpg (51.9 KB, 7 views)
File Type: jpg end tip.jpg (49.9 KB, 7 views)
File Type: jpg air.jpg (53.9 KB, 7 views)
File Type: jpg surface_tip beginning.jpg (26.3 KB, 6 views)
File Type: jpg surface_tip end.jpg (27.0 KB, 6 views)
ydima is offline   Reply With Quote

Old   July 9, 2019, 10:49
Default
  #32
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Here are pictures of the geometry + named selections.
Attached Images
File Type: jpg geometry.jpg (39.9 KB, 10 views)
File Type: jpg named_selections.JPG (13.3 KB, 9 views)
File Type: jpg walls_syr.jpg (29.8 KB, 8 views)
File Type: jpg walls_air.jpg (30.9 KB, 7 views)
File Type: jpg surface_tip.jpg (26.0 KB, 6 views)
ydima is offline   Reply With Quote

Old   July 9, 2019, 10:50
Default
  #33
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
And more details for the named selections.
Attached Images
File Type: jpg inlet.jpg (28.8 KB, 6 views)
File Type: jpg body_fluid.jpg (29.2 KB, 6 views)
File Type: jpg body_air.jpg (27.7 KB, 7 views)
ydima is offline   Reply With Quote

Old   July 10, 2019, 00:23
Default
  #34
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
switch off node values, when you plot contours

your pictures of results are confusing, just several rectangular

regarding your model, because you've created real wall of syringe -> now you may delete surface on the tip called surface_tip. You can do it if you give the same material (air) for both zones body_air and body_fluid
interior boundary will be created automatically (but it would be better if you check this)

best regards
AlexanderZ is offline   Reply With Quote

Old   July 10, 2019, 10:22
Default
  #35
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hey,

Thank for your quick reply again! So I did everything that you told me to do, and yes indeed after deleting surface_tip I have an interior body_air-body_fluid (see picture enclosed). I have also checked, and yes I have air everywhere before doing the patch thing to put water in the syringe, so everything works fine. I have some fluid going out of the syringe into air actually, but this is such a small quantity that I am not really sure of the relevance of the results. I mean in 2D a very large quantity of water was coming into air, whereas here it's very limited, even if the level at the top of the syringe is coming down correctly... Morever, unlike the results in 2D, here it seems that I have air coming into the syringe (check the pictures). It's really weird, because in reality water into air should leak very easily, and here water seems so viscous into air.

I don't really know what to change here... I tried with "Steady" and "Transient", I have close results. Maybe the mesh is responsible for the issue at the end of the tip? Do you have some ideas please?

Thanks again!!
Yoann
Attached Images
File Type: jpg bc.JPG (33.6 KB, 7 views)
File Type: jpg beginning_simulation.jpg (60.4 KB, 7 views)
File Type: jpg end_simulation zoom.jpg (59.9 KB, 7 views)
File Type: jpg end_simulation inlet.jpg (64.7 KB, 7 views)
File Type: jpg body_air2.jpg (68.0 KB, 5 views)
Svetlana likes this.
ydima is offline   Reply With Quote

Old   July 11, 2019, 00:10
Default
  #36
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
check you boundary conditions, in "inlet" boundary you should define water as fluid

best regards
Svetlana likes this.
AlexanderZ is offline   Reply With Quote

Old   July 11, 2019, 11:40
Default
  #37
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hi,

Indeed it was a mistake from me! I had a volume fraction of 0 for water in the inlet, instead of 1... Thanks a lot for thinking about that!

However I still have the issue at the end of the tip Even if I put a velocity inlet of 1000m/s (which is huge), I just have a small quantity going out of the tip for a steady problem, and it remains in the tip for a transient problem (see pictures: first for steady and second for transient). Any other ideas please?

Thanks.
Yoann
Attached Images
File Type: jpg 1000ms.jpg (27.5 KB, 5 views)
File Type: jpg transient bug.jpg (38.5 KB, 4 views)
ydima is offline   Reply With Quote

Old   July 11, 2019, 21:56
Default
  #38
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
use pressure inlet boundary condition in "inlet" not velocity inlet, vary pressure

best regards
Svetlana likes this.
AlexanderZ is offline   Reply With Quote

Old   July 12, 2019, 11:09
Default
  #39
Member
 
Yoann Di Maiolo
Join Date: Jun 2019
Posts: 43
Rep Power: 7
ydima is on a distinguished road
Hi,

I've changed for pressure-inlet, but I'm not really sure which values I should put here (check picture). For a default Operating Condition (around 100000 Pa) and a Specified Operating Density of 0kg/m3, I've chosen a Gauge Total Pressure of 0Pa and an Initial Gauge Pressure of 0Pa as well. I've also tried an Operating Condition of 0Pa, a Gauge Total Pressure of 100000Pa and an Initial Gauge Pressure of 0Pa. In both cases, I have the same issue, just a small quantity of water going out of the syringe and air going up in the syringe... It's really like if air was trying to resist, this is so weird

I also see during the iterations the following messages: reversed flow in xx faces on pressure-inlet 15, and this number is not going down, just fluctuating.

Maybe I've defined my values for the inlet wrong?

Thank you.
Yoann
Attached Images
File Type: jpg pressure-inlet.JPG (64.8 KB, 5 views)
File Type: jpg operating_conditions.JPG (35.5 KB, 4 views)
File Type: jpg pressure-inlet_results1.jpg (65.8 KB, 9 views)
File Type: jpg pressure-inlet_results.jpg (63.4 KB, 9 views)
File Type: jpg pressure-inlet_results2.jpg (69.5 KB, 8 views)
Svetlana likes this.
ydima is offline   Reply With Quote

Old   July 14, 2019, 21:47
Default
  #40
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
use Operating Condition of 0Pa (it doesn't matter)
Gauge Total Pressure of 500000Pa and an Initial Gauge Pressure of 0Pa
switch off Specified Operating Density

reversed flow in inlet is not normal.
Play with time step size

best regards
Svetlana likes this.
AlexanderZ 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
Simulation crashes when turbulence is on (reactingMultiphaseEulerFoam) remidemol OpenFOAM Running, Solving & CFD 3 May 26, 2020 05:47
Some questions about flow boiling simulation in Fluent beastieboys6 FLUENT 8 November 20, 2017 23:47
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Multiphase flow - simulation crashing yschati CFX 14 November 16, 2010 17:29
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 21:44.