CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

gravity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2001, 23:57
Default gravity
  #1
Junseok Kim
Guest
 
Posts: n/a
I have a multi-component fluid solver, and I am testing that one, but I got a trouble with it, and I suspect it may be caused by gravity.

Here is my computational domain, I have unit square, and two lateral sides are periodic boundary, and top and bottom are no-slip condition, the code runs well until about 40000 iteration, after that it blows up, actually, it didn't seem like blow up, it says

fragmentation error.

So, is there any good references about how to implement gravity?

Thank you~~~~~~~~~~~~~`

  Reply With Quote

Old   February 2, 2001, 16:02
Default give more details.
  #2
Patrick Godon
Guest
 
Posts: n/a
Hi,

If you want someone to try to help you, it would be helpfull to give more details of what problem exactly you are solving and what happens to the code and the results before the error message.

Are you solving for an atmosphere with constant gravity downwards? Or are you solving for self-gravity, solving a Poisson equation for the Gravitational Potential? etc... Or are you testing the instability of superposed fluids under the influence of Gravity (Rayleigh-Taylor type instability)?
  Reply With Quote

Old   February 3, 2001, 00:17
Default Re: give more details.
  #3
Junseok Kim
Guest
 
Posts: n/a
Yeah, you are right.

My problem is to solve Rayleigh-Taylor instability.

After instability, we ended up stable state, i.e., heavy material is bottom, lighter one is top, but if we continue running the code, we apply gravity downward, and bottom and top boundary condition is no-slip condition, and two sides are periodic boundary conditions.

Now it seems like the solution blow up because of continuing application of gravity. So, I wonder there is any remedy for applying gravity for long time running.

Thanks
  Reply With Quote

Old   February 5, 2001, 15:08
Default Re: give more details.
  #4
Patrick Godon
Guest
 
Posts: n/a
There should not be any problem applying gravity. I do work in Astrophysics and there, gravity is applied continually in all kind of configurations without making any problem of that kind.

What makes you think that the problem is with the gravity term? The only thing that will balance the gravity is the pressure. Do you have heating at the bottom and cooling at the top too? Does turbulence develop in the flow?

Another thing that might be is the following: gravity and pressure are the dominant forces in your problem, once the flow reaches equilibrium they completely cancel each other. However, if the accuracy you reach in the difference equations is not enough, these terms maybe do not cancel each other exactly. Also if you do have other small terms in the equation (the equation that includes the gravity and the pressure), they might be 'lost' in the accuracy of the two dominant terms (gravity and pressure). To make sure this does not happen, you might need to use double precision and collect pressure and gravity terms together withing the same term as follow

(gravity+pressure) + small terms

is much better than

gravity + pressure + small terms

Patrick
  Reply With Quote

Old   February 6, 2001, 00:27
Default Re: give more details.
  #5
Junseok Kim
Guest
 
Posts: n/a
Thanks a lot, I will do that.

That makes sense.

Kim
  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
how to consider gravity in CFX shrimp CFX 4 September 8, 2008 21:41
variation of gravity with time rajani FLUENT 0 February 16, 2005 03:45
Help: gravity in CFX Dejun Jing CFX 2 July 22, 2002 09:58
On gravity modelling... Drona CFX 7 November 22, 2001 11:28
Effects of gravity in pipe - pressure distribution Anthony Wachs FLUENT 2 July 25, 2001 08:07


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