<div>Hi,</div>
<div> </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'm using it for my structured grid because I am not exploiting the regular structure of my grid.
</div>
<div> </div>
<div>Is that true? I'm solving flow around airfoil using c-grid.</div>
<div> </div>
<div>So how can I improve? Is it by using DA? I took a glance and it seems quite complicated.</div>
<div> </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> </div>
<div>Hope someone can give me some ideas.</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div> </div>