TrixiParticles.jl icon indicating copy to clipboard operation
TrixiParticles.jl copied to clipboard

Validation hydrostatic water column

Open svchb opened this issue 10 months ago β€’ 16 comments

superseeds #441

image

svchb avatar Feb 21 '25 01:02 svchb

I will recreate the json files with a lower number of points.

svchb avatar Feb 21 '25 01:02 svchb

This looks very promising! Is there a way to augment these results with reference data from the literature within the same plots?

sloede avatar Feb 21 '25 11:02 sloede

AFAIK, this is from Sun 2019 and also O'Connor 2021 The problem is that EDAC or a simple DDT can't deal with steady states. Over time, the particles will diffuse. That was my observation when I was setting up this example.

LasNikas avatar Feb 21 '25 11:02 LasNikas

As mentioned in the setup I have used the setup from O'Connor 2021. The error magnitude data is extracted from Fig. 8 .

svchb avatar Feb 21 '25 11:02 svchb

AFAIK, this is from Sun 2019 and also O'Connor 2021 The problem is that EDAC or a simple DDT can't deal with steady states. Over time, the particles will diffuse. That was my observation when I was setting up this example.

Not within the timeframe from 0.0 to 1.0. So this works fine with the same setup that O'Connor shows.

svchb avatar Feb 21 '25 11:02 svchb

As mentioned in the setup I have used the setup from O'Connor 2021. The error magnitude data is extracted from Fig. 8 .

Ah, the "reference" is already literature data? Nice πŸ‘ Would be awesome to get a second data point that can be directly compared with literature.

sloede avatar Feb 21 '25 12:02 sloede

As mentioned in the setup I have used the setup from O'Connor 2021. The error magnitude data is extracted from Fig. 8 .

Ah, the "reference" is already literature data? Nice πŸ‘ Would be awesome to get a second data point that can be directly compared with literature.

Yes it is. It just takes a long time. The next point that is close takes 6-8 hours per model.

svchb avatar Feb 21 '25 13:02 svchb

This might be a really nice validation for a multi resolution FSI example. As @svchb mentioned, it takes a long time. This is due to the high water column directly sampled with particles basically being in a steady state.

LasNikas avatar Feb 21 '25 13:02 LasNikas

Not working with even particle resolutions. Not sure why? I fixed the problem with determining the midpoint but there is something else not correct... image

svchb avatar Feb 23 '25 00:02 svchb

Codecov Report

:x: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review. :white_check_mark: Project coverage is 70.49%. Comparing base (ff9b637) to head (8564459). :warning: Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
...rc/schemes/fluid/weakly_compressible_sph/system.jl 0.00% 1 Missing :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #724   +/-   ##
=======================================
  Coverage   70.49%   70.49%           
=======================================
  Files         106      106           
  Lines        7033     7033           
=======================================
  Hits         4958     4958           
  Misses       2075     2075           
Flag Coverage Ξ”
unit 70.49% <85.71%> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Mar 26 '25 17:03 codecov[bot]

Why are the errors larger than in the reference paper? Shouldn't they be the same? Are we not using the same methods?

grafik Also, is there any point in having this relative error plot? I don't think it adds any information here.

Well it does in the sense that the absolute error is quite small but this shows the error is not actually that small compared to the solution.

svchb avatar Jun 25 '25 13:06 svchb

Why are the errors larger than in the reference paper? Shouldn't they be the same? Are we not using the same methods?

@efaulhaber No we are not using the same method. I think they use PST+TIC. So I guess we can try this now?

svchb avatar Jun 25 '25 14:06 svchb

I see. I think they're using a different kind of shifting, and I don't think they're using TIC in DualSPHysics, but we'll have to check the paper and probably some others and their code as well to know for sure.

efaulhaber avatar Jun 25 '25 14:06 efaulhaber

I see. I think they're using a different kind of shifting, and I don't think they're using TIC in DualSPHysics, but we'll have to check the paper and probably some others and their code as well to know for sure.

@efaulhaber I will try with PST and TIC. I don't think we have to match this so closely if we don't want to validate their exact method.

svchb avatar Jun 25 '25 14:06 svchb

If we use corrections like they do we are more inline with the reference paper: hydrostatic_water_column_validation

svchb avatar Jul 02 '25 11:07 svchb

current version image

svchb avatar Jul 21 '25 12:07 svchb