<div>Hi,</div>
<div>&nbsp;</div>
<div>I was discussing with another user in another forum (<a href="http://cfd-online.com">cfd-online.com</a>) about using PETSc in my cfd code. I am now using KSP to solve my momentum and poisson eqn by inserting values into the matrix. I was told that using PETSc this way is only for unstructured grids. It is very inefficient and much slower if I&#39;m using it for my structured grid because I am not exploiting the regular structure of my grid.
</div>
<div>&nbsp;</div>
<div>Is that true? I&#39;m solving flow around airfoil using c-grid.</div>
<div>&nbsp;</div>
<div>So how can I improve? Is it by using DA? I took a glance and it seems quite complicated.</div>
<div>&nbsp;</div>
<div>Also, is multigrid available in PETSc? Chapter 7 discusses about it but it seems very brief. Is there a more elaborate tutorial besides that c examples?</div>
<div>&nbsp;</div>
<div>Hope someone can give me some ideas.</div>
<div>&nbsp;</div>
<div>Thank you.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>