[petsc-users] floating region help
Jed Brown
jedbrown at mcs.anl.gov
Sat Sep 24 09:22:29 CDT 2011
On Sat, Sep 24, 2011 at 00:03, Gong Ding <gdiso at ustc.edu> wrote:
> For a PNPN structure, the condition number in DC simulation is about 1e20.
> A transient simulation with 1 us time step can reduce the condition number
> to 1e6.
> As a result, the floating problem of semiconductor region can simply be
> conqured with transient mode
> My problem is a poisson's equation with highly heterogeneous conductance.
>
It is "just" Poisson with discontinuous coefficients? What discretization
are you using? Can the jumps reasonably be aligned with element boundaries,
with subdomain boundaries, or with coarse levels? (This affects which
methods to use.)
It is likely that you can construct low-energy interpolants and get good
multigrid performance. As a starting point, have you tried something like
mpiexec -n 4 ./your_app -ksp_monitor_true_residual -ksp_type fgmres -pc_type
ml -pc_ml_EnergyMinimization 2 -pc_ml_maxnlevels 3 -mg_levels_pc_type asm
-mg_levels_sub_pc_type lu -mg_levels_ksp_type gmres
(Pick a problem where the subdomains aren't very big because this uses
direct subdomain solves.) If this is reliable, it is likely possible to
relax many aspects to reduce the run time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110924/7d552039/attachment.htm>
More information about the petsc-users
mailing list