• Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

### #ActualcluelessWanderer

Posted 24 May 2012 - 08:23 PM

So i was reading an sph paper(link: http://www.matthiasm...tions/sca03.pdf) and everything was going well untill i reached the equations for the smoothing kernel.

--The image of the equation is an attachment. Appearently i can't link images from imageShack.--

I've never seen piecewise functions like this before.
So bolded "r" is supposedly a displacement vector and "h" is the support radius( a scalar).
This begs the question,what is the unbolded r in this equation? The distance?

So assuming r is the distance between two particles...
If r is between 0 and the support radius "h" i compute (h^2 - r^2)^3 and then multiply that value by (315 / 64*pi*h^9) ?

Also the paper doesnt give the gradients for the smoothing kernels so i guess i have to take them myself(assuming the del operator is the gradient in this paper)?

after looking back at the article im confused to what the del operator actually does.
If you refer to eqn (15) the right hand side of that equation evaluates to a scalar. right?
If thats true then how does a scalar become a vector after the del operator is used(eqn 16)?

### #3cluelessWanderer

Posted 24 May 2012 - 08:05 PM

So i was reading an sph paper(link: http://www.matthiasm...tions/sca03.pdf) and everything was going well untill i reached the equations for the smoothing kernel.

--The image of the equation is an attachment. Appearently i can't link images from imageShack.--

I've never seen piecewise functions like this before.
So bolded "r" is supposedly a displacement vector and "h" is the support radius( a scalar).
This begs the question,what is the unbolded r in this equation? The distance?

So assuming r is the distance between two particles...
If r is between 0 and the support radius "h" i compute (h^2 - r^2)^3 and then multiply that value by (315 / 64*pi*h^9) ?

Also the paper doesnt give the gradients for the smoothing kernels so i guess i have to take them myself(assuming the del operator is the gradient in this paper)?
I only know high school calculus so could i get some help with this?

### #2cluelessWanderer

Posted 24 May 2012 - 08:02 PM

So i was reading an sph paper(link: http://www.matthiasm...tions/sca03.pdf) and everything was going well untill i reached the equations for the smoothing kernel.

--The image of the equation is an attachment. Appearently i can't link images from imageShack.--

I've never seen piecewise functions like this before.
So bolded "r" is supposedly a displacement vector and "h" is the support radius( a scalar).
This begs the question,what is the unbolded r in this equation? The distance?

So assuming r is the distance between two particles...
If r is between 0 and the support radius "h" i compute (h^2 - r^2)^3 and then multiply that value by (315 / 64*pi*h^9) ?

Also the paper doesnt give the gradients for the smoothing kernals so i guess i have to take them myself(assuming the del operator is the gradient in this paper)?
I only know high school calculus so could i get some help with this?

### #1cluelessWanderer

Posted 24 May 2012 - 08:01 PM

So i was reading an sph paper(link: http://www.matthiasm...tions/sca03.pdf) and everything was going well untill i reached the equations for the smoothing kernel.

--The image of the equation is an attachment. Appearently i can't link images from imageShack.--

I've never seen piecewise functions like this before.
So bolded "r" is supposedly a displacement vector and "h" is the support radius( a scalar).
This begs the question,what is the unbolded r in this equation? The distance?

So assuming r is the distance between two particles...
If r is between 0 and the support radius "h" i compute (h^2 - r^2) and then multiply that value by (315 / 64*pi*h^9) ?

Also the paper doesnt give the gradients for the smoothing kernals so i guess i have to take them myself(assuming the del operator is the gradient in this paper)?
I only know high school calculus so could i get some help with this?

PARTNERS