CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   gravitational environment (https://www.cfd-online.com/Forums/cfx/20505-gravitational-environment.html)

 gjy0775 July 17, 2004 05:07

gravitational environment

Hi everyone:

I am confused at the 'gravity' in CFX. I have read a lot of threads about gravity in this forum.I know that we don't need to take the gravity into account for non-buoyancy problem.But we have lots of non-buoyancy problem which need to think about gravity.In ANSYS or Fluent to deal with the gravity influence is very easy.You just go to the environment setting and specify gravitational acceleration. Could anybody tell me whether CFX have the same function and then how to consider it?

Thanks in advanced! gjy

 Jeff July 18, 2004 11:24

Re: gravitational environment

Unless there are density differences (i.e. buoyancy) in your flow domain due to compressibility or multiple phases, gravity will have absolutely NO affect on your solution (other than adding the same source term everywhere in the domain adding needless calculations).

The only single phase, incompressible problem that may require gravity is something akin to a bucket draining problem with pressure boundaries. In this case you can simply add a body force rho*g to the entire domain.

Jeff

 gjy0775 July 18, 2004 22:19

Re: gravitational environment

Hi Jeff:

Thanks for your returns. One more question about my model.My model is a vertical oriented pipe,in which the water flow from bottom to upside.Should I add the body force to the flow domain?

gjy

 Glenn Horrocks July 19, 2004 18:24

Re: gravitational environment

Hi,

You do not need to add the body force. Just specify a gravity vector and use a fluid model which has some density variations or other mechanism to drive convection.

Glenn

 Jeff July 19, 2004 20:26

Re: gravitational environment

Yes, you can specify buoyancy and put in a gravity vector, but leave density constant (I think). The force that is applied is g*(rho - rho_ref) so you need to set rho_ref to zero.

You need to be very careful about how you specify your boundary conditions, however. A problem set up this way will generate a hydrostatic head in the gravity direction. Pressure boundaries need to account for this head as well.

Jeff

 gjy0775 July 20, 2004 11:20

Re: gravitational environment

Thanks

 Abraham August 16, 2004 03:18

Re: gravitational environment

Can u tell me how to specify gravity vector in CFX 5.7?

 All times are GMT -4. The time now is 12:04.