Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Iso surface mesh export using LiveLink for MATLAB

$
0
0

Hello Comsol Comunity, In the team I am part of, we use comsol to make simulation of electric fields propagation, that we display using a fixed threshold: - simulation domain 100x100x100mm, heterogenious condictivity - source: cylinder at the center of the domain - gound: sides of the simulation domain

Once we have displayed the isosurface, we export this as vtu file using the "Export plot" function in the context menu. Our issues: - first the mesh is pretty broken, even in Comsol some triangles are missing. Setting a finer mesh (physics controlled) reduces it but does not suppress the issue. - we automated the simulations with livelink, modifying the position of the source, and the amplitude of the stimulation. However, we haven't found how to mimic the vtu export. For now we used mphplot, and extracted the mesh displayed in the figure (very hacky, the mesh is even more broken).

Best, DV


Viewing all articles
Browse latest Browse all 5773

Trending Articles