warisa-r / ShockwaveDetection.jl

This repository provides tools and data for detecting shockwaves from solutions obtained via an Euler equation solver. Shockwaves are significant discontinuities in the flow field parameters, and their detection is crucial for various applications in fluid dynamics and aerospace engineering.
MIT License
1 stars 0 forks source link

Handling shock with obstacle #14

Closed warisa-r closed 1 month ago

warisa-r commented 2 months ago
warisa-r commented 2 months ago

The problem with parametization is that it is continuous through out the curves meaning we cant combine lines and arc. Implementing some parameterization that allow combination of multiple shapes in the curve might be something worth considering

warisa-r commented 1 month ago

The current models are sufficient in dealing with the models and fine-tuning the parameters of DBSCAN can help filter out a lot of numerical artifacts around the sharp edges of the obstacle

warisa-r commented 1 month ago

What is also interesting is that initial_guess from interpolation doesn't affect the fitting algorithm in terms of fit quality (which is already pretty decent with random initial guess).

However, with an initial guess that is implemented with interpolation (for the parabola model, which is one of the costliest models to compute the initial guess for), the runtime increased drastically, and thus, it isn't a good idea for obstacle cases we got.

My analysis is that the grid data of the simulations are quite small, making the range of the parameters pretty limited and the randomized initial guess is good enough. (Though I still think that initial guesses are good idea for simulations with larger x_range and y_range, this shall be further discussed in other issues #8 )

warisa-r commented 1 month ago

Documented in the report.