Jump to content

Methods for assigning attributes to a tetrahedral mesh


eolophus

Recommended Posts

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?

Link to comment
Share on other sites

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:

  1. Paint some colors on the mesh surface (Red = Value; Green = Depth; Blue = Falloff)
  2. Normalize the depth based on a signed distance field
  3. Ray-transfer the mesh UVs along the volume gradient
  4. Combine all these with uvsample() and smooth() to let the values sink in to various depths and falloffs.

image.png.cd698aa26279f8427bd2e62543c61512.pngimage.png.2ef579d8c2d4abc1609af40249b3ddc5.pngimage.png.e17d4232cc8cced8bd692a3b45e7619f.pngimage.png.dabd1512162c546da4efd1c85996fe8d.png

inject_attribs.hipnc

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...