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

SPH - Finding Pressure Gradient Anywhere

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2013, 19:14
Question SPH - Finding Pressure Gradient Anywhere
  #1
New Member
 
Scott Kulp
Join Date: Feb 2012
Posts: 3
Rep Power: 14
sckulp is on a distinguished road
Hi,

I am in need of a way to use SPH (smoothed particle hydrodynamics) to determine the pressure gradient anywhere in the fluid. That is, most of the time, you would find the pressure gradient at the center of each particle using

\nabla P_i=-\displaystyle\sum\limits_{j=1}^{N}\frac{m_j}{\rho_j}P_j\nabla W(\mathbf{r}_i-\mathbf{r}_j,h),

or similar, where W is typically the cubic spline kernel function. However, if you use this formula at any place outside the center of a particle, ie the space between particles, it can easily explode with very large inaccuracies unless h is very, very big, or there is a huge number of particles. I can find the density with high accuracy at any point using this technique, but not the pressure gradient.

If I knew what the pressure gradient was at each particle, I could of course do an interpolation to find the pressure gradient at locations in the spaces between the particles. But, for my current application, assume that I do not know them.

Hopefully this makes sense. Does anyone know of a way to get around this problem? Perhaps a different, more stable weighting function that would behave better?

Thanks!
sckulp is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 18:16
vortex cause pressure gradient or pressure gradient induce vortex? fruitkiwi Main CFD Forum 4 June 12, 2012 02:12
how to get pressure and pressure gradient using UDF Honglin Fluent UDF and Scheme Programming 0 May 24, 2012 07:47
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00
finding pressure gradient? lauren FLUENT 1 September 21, 2006 22:23


All times are GMT -4. The time now is 06:13.