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

How to export coordinates of zero contour?

$
0
0

I use the microfluidics level set module to solve a time-dependent two-phase flow problem. I want to export the interface at all times. How to do this?

Essentially I just want to export the coordinates of the phi=0 contour (basically the zero contour of any 2D data, can be anything in any modules). I know I can just export the variable phi, but I will just end up with GBs of data which I cannot even open with notepad directly as the file size is way too large (and I just need to know the contour, not other thing else). I can also right click my contour plot and select export, but then it only export the coordinates of the contour at one time. I want the coordinates at multiple times.

What's the best way (in terms of memory storage and ease of access) to do it? Ideally, I want just want a file which lists the (x,y) coordinates of the contour at selected times.


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>