|March 13, 2013, 19:14||
SPH - Finding Pressure Gradient Anywhere
Join Date: Feb 2012
Posts: 3Rep Power: 4
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
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?
|Thread||Thread Starter||Forum||Replies||Last Post|
|vortex cause pressure gradient or pressure gradient induce vortex?||fruitkiwi||Main CFD Forum||4||June 12, 2012 01:12|
|how to get pressure and pressure gradient using UDF||Honglin||Fluent UDF and Scheme Programming||0||May 24, 2012 06:47|
|lid-driven cavity in matlab using BiCGStab||Don456||Main CFD Forum||1||January 19, 2012 15:00|
|Pressure Outlet Guage pressure||Mohsin||FLUENT||34||January 12, 2012 05:45|
|finding pressure gradient?||lauren||FLUENT||1||September 21, 2006 21:23|