eolophus Posted May 14, 2020 Share Posted May 14, 2020 I'm looking for alternative workflows for defining attributes on a tet mesh for FEM simulation. Normally I would use intersecting volumes to define regions inside a tet mesh. But for my current purposes that would require producing some pretty complex geometry. The ability to paint these attributes would be simpler. For instance, it might be nice to be able to paint an attribute on the surface and have it penetrate the tet points at a given depth. (Though even if that were possible, I'm not sure how you would access deeply interior points that are not close enough to the surface.) What methods do you use for assigning attributes to a tet mesh? Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted May 14, 2020 Share Posted May 14, 2020 Hi eolophus, not sure whether this is of any practical use, but you could either extend the solid nodes or implement an attribute injection method like this: Paint some colors on the mesh surface (Red = Value; Green = Depth; Blue = Falloff) Normalize the depth based on a signed distance field Ray-transfer the mesh UVs along the volume gradient Combine all these with uvsample() and smooth() to let the values sink in to various depths and falloffs. inject_attribs.hipnc 1 1 Quote Link to comment Share on other sites More sharing options...
eolophus Posted May 14, 2020 Author Share Posted May 14, 2020 Thanks so much Konstantin! That's a very interesting approach. Wouldn't have thought of that on my own. I will definitely play around with the HIP file you attached. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.