This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

creating new mesh for deformed geometry

+6 votes

I am solving a topological optimization problem and after a few iterations during which my domain deformation, the mesh quality decreases. I want to create a new mesh for the deformed configuration to replace old mesh and so far my search online has not yielded any information about how to do this. Any help on how to go about this will be appreciated.

asked Mar 4, 2015 by chuckdii2002 FEniCS Novice (270 points)

1 Answer

+1 vote

Take a look at dolfin/ale/HarmonicSmoothing.h.

answered Mar 4, 2015 by Garth N. Wells FEniCS Expert (35,930 points)

I see that it really does not create a new mesh, but smoothens the original mesh. Is there a way to discard the original mesh and create a new mesh with no relationship to the original mesh?

Thanks for the help though

...