Skip to content

PROBLEM uMax

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1910
    lesmodel
    Member

    Dear Developers,

    When I handle the code of example aorta3d, in the end of the function get results,
    there exists
    “if (sLattice.getStatistics().getMaxU()>0.3){

    std::exit(0);

    What does this mean? and what is the function of this? Thanks very much!

    #2610
    mathias
    Keymaster

    That basically means that the simulation tuned close to unstable. In such cases the results are not really reliable. THerefore we add this code to stop the simulation.

    Best
    Mathias

    #2611
    lesmodel
    Member

    Dear Mathias,
    Thanks for you reply. How do we determine this threshold value, that is 0.3 here.

    #2612
    mathias
    Keymaster

    From experience, thats it. Best Mathias

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.