This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting reliable results from Bentley Hammer

Hi,

I am modelling a simple system to compare the results to some codes that I have. But, despite having all the configurations similar to codes, I cannot get similar pressure fluctuation. Could you please have a look and let me know the reason?

Thanks in advance.

Regards,

Example 1.xlsx8233.Example 1.zip

Parents
  • As Scott mentioned, the calculation methodology used to generate your "code" may be different from HAMMER. HAMMER uses the Method of Characteristics, which you can read about in the Help and in the below articles. I suspect that a simplistic assumption was made in the results you are comparing to.


    Numerical method used for transient simulations in HAMMER

    Method of Characteristics vs. Wave Plan Method


    Regards,

    Jesse Dringoli
    Technical Support Manager, OpenFlows
    Bentley Communities Site Administrator
    Bentley Systems, Inc.

  • Thanks for your response. I am using the MOC and I wrote the code in Matlab. I compare my code to some results from other researchers that are very close as you see in the spreadsheet. I want to develop my code more for some research purposes and compare them to results from Hammer. I tried to use the same valve pattern and other specifications. But still, the Hammer result is far from other cases (please see the attached graph too). I am trying to understand how to calibrate the Hammer model with some real or reliable data. I appreciate more comments on this issue. 

Reply
  • Thanks for your response. I am using the MOC and I wrote the code in Matlab. I compare my code to some results from other researchers that are very close as you see in the spreadsheet. I want to develop my code more for some research purposes and compare them to results from Hammer. I tried to use the same valve pattern and other specifications. But still, the Hammer result is far from other cases (please see the attached graph too). I am trying to understand how to calibrate the Hammer model with some real or reliable data. I appreciate more comments on this issue. 

Children