<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">Hi,</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<br>
</p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">I hope you are well.</span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">I'm very interested in PETSc and want to explore the possibility of whether it could solve Differential-algebraic equations (DAE) in python. I know there are great examples in C, but I'm struggling
 to connect the examples in python. </span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<br>
</p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">The only example I got right now is for solving ODEs in the paper: PETSc/TS: A Modern Scalable ODE/DAE Solver Library. </span></p>
<p style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<span style="background:transparent" data-preserver-spaces="true">And I got the following questions:</span></p>
<ol style="color:rgb(14, 16, 26);background:transparent;margin-top:0pt;margin-bottom:0pt">
<li style="background:transparent;margin-top:0pt;margin-bottom:0pt;list-style-type:decimal">
<span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true"><b>Is petsc4py the right package to use?</b></span></li><li style="background:transparent;margin-top:0pt;margin-bottom:0pt;list-style-type:decimal">
<span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true"><b>Could you give an example for solving DAEs in python?</b></span></li><li style="background:transparent;margin-top:0pt;margin-bottom:0pt;list-style-type:decimal">
<span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true"><b>Is Jacobian must be specified? If not, could your show an example for solving DAEs without specified Jacobian in python?</b></span></li></ol>
<div><span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true"><br>
</span></div>
<div><span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true">Thank you for your help.</span></div>
<div><span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true"><b><br>
</b></span></div>
<div><span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true">Best,</span></div>
<div><span style="background:transparent;margin-top:0pt;margin-bottom:0pt" data-preserver-spaces="true">Jing</span></div>
</div>
</body>
</html>