Error: PosCellCode is invalid for MapCells

Hello, everyone,

I get the following error message when starting a simulation in DesignSPHysics and wonder if it could be because of my new GPU. This should have enough memory in my opinion. Starting from a number of about 3400000 particles this error occurs. The problem is that my inter-particle distance should be at least as small or even smaller. I hope you can help me.

kind regards



DualSPHysics4 [Symmetry] v4.4.053 (19-01-2020)===============================================

LoadDsphConfig> .../dualsphysics/bin/DsphConfig.xml

[Select CUDA Device]

[CUDA Capable device(s)]

Detected 1 CUDA Capable device(s)

CUDA Driver Version / Runtime Version: 11.0 / 9.2


Device 0: "GeForce RTX 2070 SUPER"

CUDA Capability Major....: 7.5

Global memory............: 8192 MBytes

CUDA Cores...............: 2560 (40 Multiprocessors, 64 CUDA Cores/MP)

GPU Max Clock rate.......: 1800 MHz (1.80 GHz)

Memory Clock rate........: 7001 Mhz

Memory Bus Width.........: 256-bit

L2 Cache Size............: 4096 KBytes

Constant memory..........: 64 KBytes

Shared memory per block..: 48 KBytes

Registers per block......: 65536

Maximum threads per MP...: 1024

Maximum threads per block: 1024

Concurrent copy and kernel execution....: Yes with 3 copy engine(s)

Run time limit on kernels...............: Yes

Integrated GPU sharing Host Memory......: No

Support host page-locked memory mapping.: Yes

Device has ECC support..................: Disabled

CUDA Device Driver Mode (TCC or WDDM)...: WDDM (Windows Display Driver Model)

Device supports Unified Addressing (UVA): Yes

Device PCI (Domain / Bus / location)....: 0 / 1 / 0

Device supports P2P and RDMA............: No


[GPU Hardware]

Device default: 0 "GeForce RTX 2070 SUPER"

Compute capability: 7.5

Memory global: 8192 MB

Memory shared: 49152 Bytes


[Initialising JSphGpuSingle 17-07-2020 08:59:21]

ProgramFile=".../dualsphysics/bin/DualSPHysics4.4_win64.exe"

ExecutionDir=".../FreeCAD/Mod/DesignSPHysics"

XmlFile=".../Rev06/Rev06_out/Rev06.xml"

OutputDir=".../16072020_MaxGeschw/Rev06/Rev06_out"

OutputDataDir=".../16072020_MaxGeschw/Rev06/Rev06_out"

**Basic case configuration is loaded

**Special case configuration is loaded

Loading initial state of particles...

Loaded particles: 3459137

MapRealPos(border)=(-0.000303033,0.499947,-0.000303033)-(1.0003,0.500053,2.06005)

MapRealPos(final)=(-0.000303033,0.499947,-0.000303033)-(1.0003,0.500053,2.06005)

**Initial state of particles is loaded

**2D-Simulation parameters:

CaseName="Rev06"

RunName="Rev06"

Simulate2DPosY=0.5

Symmetry=False

SavePosDouble=False

SvTimers=True

Boundary="DBC"

StepAlgorithm="Symplectic"

Kernel="Wendland"

Viscosity="Artificial"

Visco=0.010000

ViscoBoundFactor=1.000000

DensityDiffusion="None"

Shifting="None"

RigidAlgorithm="SPH"

FloatingCount=2

FtPause=0.000000

FtConstraints=False

FtIgnoreRadius=False

CaseNp=3459137

CaseNbound=14514

CaseNfixed=13360

CaseNmoving=0

CaseNfloat=1154

CaseNfluid=3444623

PeriodicActive="None"

Dx=0.00075

H=0.001061

CoefficientH=1

CteB=1109511.000000

Gamma=7.000000

RhopZero=1000.000000

Cs0=88.1282

CFLnumber=0.200000

DtIni=1.20354e-05

DtMin=6.01771e-07

DtAllParticles=False

MassFluid=0.000562

MassBound=0.000562

Awen (Wendland)=495111.062500

Bwen (Wendland)=-2334143488.000000

FtPause=0.000000

TimeMax=3

TimePart=0.01

Gravity=(0.000000,0.000000,-9.810000)

NpMinimum=14514

RhopOut=True

RhopOutMin=700.000000

RhopOutMax=1300.000000

WrnPartsOut=True

**Requested GPU memory for 3459147 particles: 607.0 MB (0 times).

CellMode="2H"

Hdiv=1

MapCells=(472,1,972)

DomCells=(472,1,972)

DomCellCode="14_6_13"

PosCellCode="13_10_9 (8192,1024,512)"


*** Exception (JSphGpuSingle::SelecDomain) at ..\source\JSph.cpp:1344

Text: PosCellCode is invalid for MapCells.



Finished execution (code=1).

Comments

  • I tried something else. The error is not caused by the total number of particles but by the dimensions of my geometry and the inter-particle-distance. I'm simulating a water tank that will cause this error if it's over 1 meter high. If you increase the width of the tank there are no problems. Furthermore smaller inter-particle-distance than 0,00075m are not possible. Therefore I can imagine that there is a limitation of the particles in the z-axis. Do you know of any way to remove these limitations?

  • These issues should be solved with the new version

    Please note that we will release the new version 5 before 25th July.

    When the new version will be available, can you try the same case again?


    Regards

  • Thank you, I will try the new version as soon as possible and give feedback here.

  • With the new version this error has been fixed. Thanks a lot

  • Perfect

Sign In or Register to comment.