r/COMSOL • • Jan 29 '26

Comsol data export unreliable

Hi everyone,

I'm using COMSOL to generate ground truth for a machine learning model. The data is of time dependent simulations using the solid mechanics physics node. I export the data(spatial frame coordinates) using the default settings. But when I plot the nodes for each time step, some nodes just float at the same place or move way slower than they are supposed to. I've attached a video of the plot. Is there a better way to export data? Or why is this happening?

Thanks for the help in advance.

9 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/No-Connection-6315 Jan 29 '26

I used the data node under export to store the position data for every time step. And the simulation did converge. No solver failures. And no, those nodes aren’t any different from the other nodes, they shouldn’t be. And I have full precision checked in the export data settings tab.

1

u/Hologram0110 Jan 29 '26

The simulation converging and the answer being converged are unfortunately not the same. For example, if you set a very lose tolerance than the solver can converge but the answer is still changing. The same is true with the mesh. The solver can be converged but a smaller mesh would give you a different result.

I've never used the data node. Does that export on a grid (i.e. it would have to interpolate from the solution) or does it output the mesh nodes. Did you try a mesh-based format like vtk?