On 5/16/23 12:52, Pranshul Thakur wrote:

I am currently implementing a test case of optimization-based meshing where the mesh nodes are moved to obtain an optimal mesh. As the mesh can get distorted during the process, I am looking for a way to collapse distorted elements during optimization.

Does anyone know if there is a way to perform local mesh operations such as diagonal collapse or other equivalents of edge swapping/node insertion/removal for quadrilateral meshes through deal.II?

This is not easily possible in deal.II. deal.II is not a meshing tool -- it assumes that the logical connections of the mesh remain unchanged, even though it can move vertices around.


I am also looking for a way to interpolate the solution after these mesh operations.

That, too, is difficult. FEFieldFunction can do some of this, but it's expensive. There are likely more efficient tools for this step, outside of deal.II, if you have large meshes and want to interpolate from one mesh to another.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/ae1ef0f1-4e18-01b7-e1d7-91dfbdae2c97%40colostate.edu.

Reply via email to