Guilin Sun
Ansys Employee

You can define your doping profile and then import it into simulation. Please refer this https://optics.ansys.com/hc/en-us/articles/360042646053-3D-pillar-silicon-solar-cell

or if it is Gaussian, you can use smaller region and let the rest to be fully decarese to the background doping.

Please try.