warp icon indicating copy to clipboard operation
warp copied to clipboard

Material optimization

Open honglin-c opened this issue 1 year ago • 2 comments

Hello! I'm trying to use Warp to do some material optimization experiments. Is there a way to make sure the material is uniform? Also, is there an example for optimizing the k_mu and k_lambda parameters of a tetmesh?

I tried computing the gradient of self.model.tet_materials but all its entries are very close to zero. I am also not sure how I can make the material uniform (e.g., make sure k_mu and k_lambda are the same for every tetrahedron) and then optimize the material parameters.

Thanks!! :)

honglin-c avatar Mar 11 '24 20:03 honglin-c

Hi Honglin,

Thank you for the question, this would be a great example for differentiable simulation in Warp. We are preparing a material optimization demo in Warp right now and will have it released very soon!

Thanks, Eric

eric-heiden avatar Mar 14 '24 04:03 eric-heiden

Hi Eric,

Thank you soooo much for that! Please let me know when it's online. :)

Best, Honglin

honglin-c avatar Mar 14 '24 19:03 honglin-c

Hi! Curious about any updates for this demo? Thanks!

rrzhang139 avatar Nov 10 '24 23:11 rrzhang139

@MiguelZamoraM added an example to do this in #419.

shi-eric avatar Jan 28 '25 20:01 shi-eric