Error in NL construction.

edited June 2016 in DualSPHysics_v4.0
I am trying to simulating with DualSph4.0

But sometimes, the simulator was stopped with error.

Error was like below
---------------------------------------------
*** Exception (JCellDivGpuSingle::Divide)
Text: Error in NL construction.( CUDA error: an illegal memory access was encounterd).


My GPU's specification was like below
---------------------------------------------
GeForce GTX 780 Ti
- Compute capability : 3.5
- Multiprocessors : 15 ( 2880 cores )
- Memory global : 3071 MB
- Clock rate : 1.07 GHz
- Run time limit on kernels : Yes
- ECC support enabled : No
- Memory shared : 49152 bytes

How could I solve this problem?
Which parameter can affect this situation?
I just increased the dp parameter.

Thank you for the tool and reading.

Comments

  • edited June 2016
    Partially solved. When the sim was stopped with this error, I increased the "coefh" parameters. And then simulator works. But I don't know how to calculate the exact "coefh" value. Sometime the simulation was stopped with same error after 200 frame. And then I have to increase the "coefh" value, simulate again. Is there anybody know about that?
  • 0~422 frames : simulation works
    423 frames : simulation stopped with this error

    *** Exception (JCellDivGpuSingle::Divide)
    Text: Error in NL construction. (CUDA error: an illegal memory access was encountered)

    - My xml file information
    The pointmin & pointmax in my case were pretty large.


    gravity x="0.0" y="0.0" z="-9.81"
    rhop0 value="1000.0"
    hswl auto="true" value="0.0"
    gamma value="7.0"
    speedsystem auto="true" value="0"
    coefsound value="10.0"
    speedsound auto="true" value="0"
    coefh value="1.9"
    cflnumber value="0.2"


    definition dp="10.0"
    pointmin x="1460.0" y="-3040.0" z="-560.0"
    pointmax x="2020.0" y="910.0" z="810.0"


    parameter key="PosDouble" value="1"
    parameter key="StepAlgorithm" value="2"
    parameter key="VerletSteps" value="40"
    parameter key="Kernel" value="2"
    parameter key="ViscoTreatment" value="1"
    parameter key="Visco" value="0.05"
    parameter key="ViscoBoundFactor" value="0"
    parameter key="DeltaSPH" value="0.0"
    parameter key="#Shifting" value="0"
    parameter key="#ShiftCoef" value="-2"
    parameter key="#ShiftTFS" value="1.5"
    parameter key="RigidAlgorithm" value="1"
    parameter key="FtPause" units_comments="seconds" value="0.0"
    parameter key="CoefDtMin" value="0.05"
    parameter key="#DtIni" units_comments="seconds" value="0.0001"
    parameter key="#DtMin" units_comments="seconds" value="0.00001"
    parameter key="#DtFixed" value="DtFixed.dat"
    parameter key="DtAllParticles" value="0"
    parameter key="TimeMax" units_comments="seconds" value="200.0"
    parameter key="TimeOut" units_comments="seconds" value="0.1"
    parameter key="IncZ" units_comments="decimal" value="0"
    parameter key="PartsOutMax" units_comments="decimal" value="1"
    parameter key="RhopOutMin" units_comments="kg/m^3" value="700"
    parameter key="RhopOutMax" units_comments="kg/m^3" value="1300"




Sign In or Register to comment.