<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Dear users of PETSc,</div>
<div><br>
</div>
<div>We're talking about adding a refined level-set grid method (M. Herrmann, doi:10.1016/j.jcp.2007.11.002) to our code. Currently we solve two-phase Navier-Stokes (ghost fluid method) together with a standard level-set approach on a uniform Cartesian grid.</div>
<div><br>
</div>
<div>What we're thinking is the following: we will have 2 grids for the level-set function. One will be the same as for the flow field, this is the coarse grid. The other is a refined (still uniform Cartesian) grid used only for the level-set function. The
 coarse grid will have values that lets us know if we are close to an interface or not. If we are not close to an interface, we don't want to store (allocate) any value for the level-set function on the fine grid. I'm guessing "close" will mean roughly "when
 the absolute value of the level-set function is <5*dxCoarse". </div>
<div><br>
</div>
<div>Are there any DM tricks in PETSc we can use to achieve this "sparsely stored" refined grid? I realise this simplified version of Herrmann's method does not do load balancing etc., but level-set computations are cheap compared to the flow solver.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Åsmund</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:75%;color:#575757">Sent from my VT-102</div>
</div>
</body>
</html>