Hello,
I want to use my own custom matrix vector multiplication routine (which
will use finite difference method to calculate it). I will supply a matrix
but that matrix should be used only for preconditioner and not for matrix
vector multiplication. Is there a way to do it?
thanks
Raju.
uct_type vanka
>
>
> For coupled Navier stokes you might also consider using PCFIELDSPLIT
> and GAMG just for the pressure solve inside it.
>
> Barry
>
> > On Sep 22, 2020, at 9:24 PM, Raju Mandhapati via petsc-users <
> petsc-users@mcs.anl.gov> wrote:
> &
Hello,
Does Petsc have an option to solve block matrices using AMG
solver/preconditioner. My block matrix is coming from solving u,v,w,p
(coupled Navier stokes) at each cell.
thanks
Raju.
re located?
thanks,
Raju.
On Fri, Jul 31, 2020 at 7:21 PM Barry Smith wrote:
>
> -pc_fieldsplit_block_size 3 (you may not need this if the code sets the
> block size to 3).
>
> -pc_fieldsplit_0_fields 0,1
> -pc_fieldsplit_1_fields 2
>
>
>
>
>
> > On Ju
Hello,
I have a matrix assembled in interlaced format. I am not able to follow how
to use fieldsplit. Is there a good example to show how to do this. My
variable are in this format [ {u1,v1,p1}, {u2,v2,p2}, ,{un,vn,pn}],
where n is the number of grid points and u,v,p are the velocity and