Hi all,
I have some problems trying to specify my computational grid in a current realieaze version.
I'm not sure if I'm doing everything right. Could you please take a look?
1. In my simulation I was trying to setup a moving simulation box with dimensions 100x100x100 um. I also was trying to
set the resolution in propagation direction much higher, so I specified the number of cells like: "TBG_gridSize="-g 250 3750 250""
and TBG_movingWindow="-m"
2. In a gridConfig.param file I specified computational cell digestions to fit the simulation box size CELL_WIDTH_SI = 4.0e-7,
CELL_HEIGHT_SI = 2.6666e-8 and CELL_DEPTH_SI = CELL_WIDTH_SI. I also specifed the time step to match CFL condition
DELTA_T_SI = 8.8558e-17
3. While compiling I got a static assert error about CFL condition being violeted, whihc is a bit strange, since the numbers above
give Courant number = 0.999981852222.
4. Considering some possible round-off errors I decided to increase the time step to make Courant number lower.
So I changed it to DELTA_T_SI = 8.855e-17 and it helped to compile.
5. Trying run it I recieved another assert error:
> [1,0]<stderr>:picongpu: /home/danila/tools/picongpu/src/picongpu/include/simulationControl/MySimulation.hpp:484:
>void picongpu::MySimulation::checkGridConfiguration(PMacc::DataSpace<DIM>, PMacc::GridLayout<DIM>) [with unsigned int DIM = 3u]: Assertion `globalGridSize[i] % MappingDesc::SuperCellSize::toRT()[i] == 0' failed.
I'm not sure I'm clear about it. What is a SuperCellSize?... I've checked the source code and found a message that this check
is redundant. However further manipulations in the code unfortunately are not very clear to me...
Could you please take a look if I'm doing something wrong?
Best regards,
Danila.
|