|
[Sponsors] |
January 28, 2011, 01:08 |
Gravity problem in CFX
|
#1 |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Hi everyone,
I'm new to CFD and I'm now trying to make a water intake model. In my model, the inlet is set to be 3 m/s (normal speed) and the outlet is also set to be 3m/s (normal speed). For the gravity effect, I used two ways to simulate it: 1. free surface model as shown in tutorial 7 2. single-phase model with sub-domain to simulate the gravity (general momentum source) Now the resutls of both ways are quite different and I'm just wondering which one makes more sense ? Thanks in advance for any advice!! |
|
January 28, 2011, 04:21 |
|
#2 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
hi,
do you want to compare multiphase vs. singlephase? Btw. you can set the gravity without any subdomain by just setting the vector properly (look up gravity in the help). neewbie |
|
January 28, 2011, 06:29 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
You model gravity using the gravity option. Forget about source terms, it is already in there, you just need to activate it.
Your boundary conditions are probably poorly defined as pressure is not set anywhere. You need to set a pressure somewhere. |
|
January 29, 2011, 01:42 |
|
#4 | ||
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Quote:
Thanks for your advice. I'm not comapring multi-phase vs single-phase. It's just I don't know how to set the gravity effect properly. As you know, for single-phase, in the domain setting we can only find Boussinesq Model for buoyancy, which is not useful in my case. And I don't know other way other than using sub-domain to define gravity in single-phase model (which I found in one of ghorrocks's old thread). I've been stuk here for a while and the help in CFX doesnt explain too much either. It will be appreciated if you guys can show me how to do it in a little more detail. Thanks!! |
|||
January 29, 2011, 07:02 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
For a single phase what would gravity affect? I think you will find gravity has no effect when you simplify it to single phase.
Gravity affects a multiphase (free surface) simulation by pulling the heavy fluid to the bottom. You definitely need gravity in this case. Activate it simply by setting the gravity vector. An example is the flow over a bump tutorial example. |
|
January 29, 2011, 15:54 |
|
#6 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Thanks for your reply, ghorrocks. My question and main purpose right now is find the easiest way to simulate the flow in my case. Apparently to me single-phase flow is simpler than free surface flow. Another reason I don't prefer free surface model is that it can't simulate the particle tracking which I will be doing later on. My problem for the single-phase model is if I don't set the gravity effect , the flow pattern doesn't make sense to me (please see the attached figure). So I was looking for a way to add gravity in single-phase model in this forum and the only way I found is to use the sub-domain. It would be beautiful if there is an easier way to set the gravity effect in the single phase model. Please let me know. BTW, by looking at the results from both methods I posted earlier, which one makes more sense to you? Thanks very much for your advice and I'm looking forward to your reply!! |
||
January 30, 2011, 05:39 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
What are you trying to model? You need to tailor the model to what you are trying to achieve. What is the purpose of doing your simulation?
|
|
January 30, 2011, 13:37 |
|
#8 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
I'm now trying to get the correct model, so later on I can change the intake geometry to optimize the flow. I'm a structural engineer and am new to CFD, so sometimes I might have some stupid question... |
||
January 30, 2011, 17:42 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Does the free surface move? Is it flat?
|
|
January 30, 2011, 20:52 |
|
#10 |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
No. There is a little curve at where the geometry trasition. Please see the attached pic, the green line at top is the water surface. |
|
January 31, 2011, 07:19 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
So it is pretty flat. Is the little wobbles in the surface important? If you are modelling sedimentation then I do not think so. In this case you can run this simulation as single phase with a pressure boundary replacing the free surface. Single phase models are much easier and quicker so if this approximation is OK for you it will make things much easier.
|
|
January 31, 2011, 14:22 |
|
#12 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Thanks, ghorrocks~~ Will let you know when I finish my sediment model. |
||
January 31, 2011, 17:53 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Be aware that CFX has limited capabilities in sediment modelling. The lagrangian particle tracking works fine, but it does not have models of sedimentation, picking up of sediment or good packing models. You may be able to develop these models yourself (that is not a task for a beginner!) or you could couple CFX with a discrete element model (DEM) such as EDEM to do the bits CFX cannot.
But I do not know whether this is important to you or not as you have not described your model in sufficient detail. The stuff built into CFX may be fine for you. |
|
February 4, 2011, 03:18 |
|
#14 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Thanks, ghorrocks. The feature in CFX is good enough for me for now. I'm now trying to make the particle tracking model. My BC would be: Inlet: normal speed = 2.5m/s (same speed for particle) Outlet: static press = P, where P is the water pressure varies with the depth Default domain: rough wall with 0.4mm roughness Does that make sense to you? Looking forward to your suggestions. Thanks very much! |
||
February 4, 2011, 06:20 |
|
#15 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
If you are modelling this single phase (and from your description so far I think you can) then do not model gravity and do not use a static pressure head on the outlet. Just a single pressure value.
Other than that your model should work. I have no idea if it is appropriate, however - that is for you to decide. |
|
February 6, 2011, 03:27 |
|
#16 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Thanks, ghorrocks. Yes, I'm modeling the signle phase. In my project, the water in this intake structure has a free-surface. The outlet is the submerged penstock that is connecting to the turbine generate which allows a maximum flow of 29 m3/s. Assuming that maximum flow, I set my inlet BC as normal speed = 2.5 m/s, but I'm not sure which pressure value I should use for my outlet BC. Should I just set it to 0 Pa? Don't know if there's enough information for the problem, but still looking forward to your precious advice. Thanks~~~ |
||
February 6, 2011, 06:01 |
|
#17 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Do not make boundary conditions up. If you know the outlet flow which connects to a known turbine flow rate, then make that the boundary - so use 29 m3/s on the outlet. Then put a pressure boundary at 0Pa on the inlet and it should work fine.
|
|
February 6, 2011, 18:20 |
|
#18 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
Thanks, ghorrocks! Will try it and let you know the result. |
||
February 7, 2011, 02:07 |
|
#19 | |
New Member
Ricky Chen
Join Date: Jan 2011
Location: Vancouver
Posts: 20
Rep Power: 15 |
Quote:
ghorrocks, I tried the particle model and there is something that doesn't look right. The particles in the water drop to the buttom of the domain and then climb up the slope... Is that because I didn't set the gravity correct? The particle here is sand (2300 kg/m3) at the diameter of around 1-3mm. From the flow diagram, it shows that flow is going uphill on the slope, which doesn't make sense to me either... Sorry for so many questions and thanks for your help. |
||
February 7, 2011, 05:37 |
|
#20 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
I do not think you looked at your results very hard.....
The particles are simply falling out of the flow due to their weight and hitting the bottom wall. You have modelled a big separation which results in a reverse flow up the slope. This reverse flow is pulling the sand up the slope. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in coupling CFX and Ansys for fluid-thermal sim. | Jordi | CFX | 21 | March 1, 2017 06:03 |
CFX pressure in Simulations problem | nasdak | CFX | 1 | April 14, 2010 14:22 |
CFX - Evaporation problem | AlessandroD | CFX | 0 | August 18, 2009 07:03 |
Ansys Workbench (CFX) bucket problem | njsavage | CFX | 1 | April 30, 2009 10:51 |
Can CFX deal with jet impinging problem? | prayskyer | CFX | 1 | September 4, 2006 18:04 |