Open Simhano opened 3 hours ago
Unfortunately JAX-FEM does not support taking derivatives w.r.t. to mesh coordinates. But this type of problem has a very direct workaround. @xwpken Weipeng, could you share the paper that deals with this kind of problem? You need some trick in reformulating your problem (perhaps a smart definition for deformation gradient F in some alternative reference configuration).
Unfortunately JAX-FEM does not support taking derivatives w.r.t. to mesh coordinates. But this type of problem has a very direct workaround. @xwpken Weipeng, could you share the paper that deals with this kind of problem? You need some trick in reformulating your problem (perhaps a smart definition for deformation gradient F in some alternative reference configuration).
Thank you so much! I really appreciate your quick response! and I would sincerely appreciate it if Weipeng could share the paper that deals with this kind of problem!
Is JAX-FEM cannot take derivatives w.r.t. mesh coordinate because the mesh coordinate cannot be changed after the problem defined?
Thank you so much again!
Hi, JAX-FEM community,
I have a question about changing mesh coordinates to optimize geometry.
I tried to get a derivative with respect to the initial configuration.
It is my set_params:
Then I defined the problem which is almost similar to the inverse demo in JAX-FEM. Here is how I set up my differentiation:
My derivative (d_coord) was just zeros, and I could observe that my original coordinate had not changed since the problem was defined. (by observing sol_list[0] in test function) How can I change the original mesh coordinate after defining the problem? If this method does not work, is there any other way to do it?
Thank you for reading!