Nima Ghorab

N-G

About Me

EXPERTISE
Student

Connect

LOCATION
Iran, Islamic Republic of
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Removing concave portions of a curve an reconnecting? Aug. 21, 2023, 2:14 a.m.

Hello.
I hope you are doing well.
I just add a Shrinkwrap node and set its type to 2D to create a 2d convex shape for the input model.
Take a look at the attachment.
Hope it helps.

Orthogonality in Gas Project Non Divergent Node May 10, 2023, 10:50 a.m.

Soothsayer
I'm also confused but I have a few thoughts:

- I don't trust the gradient calculation, I never have. Something's not right about it but I don't know what. You can easily get weird results.

- That aside, I don't trust the vector calculations (advect) and the viewport so I did a little test where calculate the dot product. They hover neatly around 0, as they should. The vectors however don't always look right.

- Maybe something with face vs center sampling might interfere but sometimes I can't calculate a gradient at all out of it.

So, I don't know but I have a feeling Houdini isn't telling us the truth.

I attached a file.

Thanks a lot.
You know the real reason behind the zero dot product is that the lengths for the pressure gradient vectors are too small.
If you normalize both divergence-free and pressure-gradient fields you will see the dot product is not going to be zero anymore!
As you visualized both divergence-free and pressure-gradient fields they are not orthogonal in any way!
I also tested it with VDB project non-divergent node with no luck!

Orthogonality in Gas Project Non Divergent Node May 9, 2023, 8:05 p.m.

Hello everyone.
I encounter a weird problem.
As you know Gas Project Non Divergent nodes use the Helmholtz-Hodge decomposition to decompose a velocity field into a pressure scalar and a divergent free vector fields.
The gradient of pressure and divergent free vector field should be orthogonal to each other but when I look at the volume trail they are not orthogonal in any way!
No matter how hard I crank up the resolution the result is always the same.
The red lines are divergence-free portions and the green ones are curl-free portions.
I also attached my project in case anyone wants to look at it.
Does anyone have any solution to this problem?
Thank you so much.