-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-callback
- Loading branch information
Showing
25 changed files
with
706 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Security Policy | ||
|
||
The Trixi.jl development team takes security issues seriously. We appreciate | ||
all efforts to responsibly disclose any security issues and will make every | ||
effort to acknowledge contributions. | ||
|
||
|
||
## Supported Versions | ||
|
||
The current stable release following the interpretation of | ||
[semantic versioning (SemVer)](https://julialang.github.io/Pkg.jl/dev/compatibility/#Version-specifier-format-1) | ||
used in the Julia ecosystem is supported with security updates. | ||
|
||
|
||
## Reporting a Vulnerability | ||
|
||
To report a security issue, please use the GitHub Security Advisory | ||
["Report a Vulnerability"](https://github.com/trixi-framework/TrixiParticles.jl/security/advisories/new) | ||
tab. | ||
|
||
We will send a response indicating the next steps in handling your report. | ||
After the initial reply to your report, we will keep you informed of the | ||
progress towards a fix and full announcement, and may ask for additional | ||
information or guidance. | ||
|
||
Please report security bugs in third-party modules directly to the person | ||
or team maintaining the module. | ||
|
||
Public notifications of vulnerabilities will be shared in community channels | ||
such as Slack. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# [Development](@id development) | ||
|
||
|
||
## Preview of the documentation | ||
|
||
To generate the Documentation, first instantiate the `docs` environment | ||
by executing the following command from the TrixiParticles.jl root directory: | ||
```bash | ||
julia --project=docs -e "using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()" | ||
``` | ||
This command only has to be run once. After that, maintain the `docs` environment | ||
as described under [Installation](@ref installation-issues). | ||
|
||
With an instantiated `docs` environment, generate the docs with the following command (again from the TrixiParticles.jl root directory): | ||
```bash | ||
julia --project=docs --color=yes docs/make.jl | ||
``` | ||
You can then open the generated files in `docs/build` with your webbrowser. | ||
Alternatively, run | ||
```bash | ||
python3 -m http.server -d docs/build | ||
``` | ||
and open `localhost:8000` in your webbrowser. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,68 @@ | ||
# Examples | ||
|
||
|
||
## Fluid | ||
|
||
### Accelerated Tank 2D (`fluid/accelerated_tank_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/4c4c537a-8585-4456-9a1b-8b5adbf68533" width="60%"/> | ||
``` | ||
|
||
## Structure Mechanics | ||
|
||
### Dam Break 2D (`fluid/dam_break_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/683e9363-5705-49cc-9a5c-3b47d73ea4b8" width="60%"/> | ||
``` | ||
|
||
### Dam Break 3D (`fluid/dam_break_3d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/76a2b235-1b49-465f-a207-76859410b783" width="60%"/> | ||
``` | ||
|
||
### Falling Water Column (`fluid/falling_water_column_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/06a522f0-424f-49d3-afd0-29593373aa29" width="60%"/> | ||
``` | ||
|
||
### Hydrostatic Water Column (`fluid/hydrostatic_water_column_*.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/fac6c41f-7af8-4936-9dd5-b6ff2b9f6ff4" width="60%"/> | ||
``` | ||
|
||
### Moving Wall (`fluid/moving_wall_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/c10faddf-0400-47c9-b225-f5d286a8ecb8" width="60%"/> | ||
``` | ||
|
||
### Oscillating Drop (`fluid/oscillating_drop_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/1dfa9dcf-7fc1-4221-ad83-a54c5d9ab9fb" width="60%"/> | ||
``` | ||
|
||
### Periodic Channel (`fluid/periodic_channel_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/f9a542bf-956b-4647-843b-94cbb085a4fa" width="60%"/> | ||
``` | ||
|
||
## Fluid Structure Interaction | ||
|
||
### Dam Break with Elastic Plate (`fsi/dam_break_plate_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/ada0d554-e0ba-44ed-923d-2b77ef252258" width="60%"/> | ||
``` | ||
|
||
### Falling Sphere 2D (`fsi/falling_sphere_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/217c80b5-3472-41c9-8003-7163641dd452" width="60%"/> | ||
``` | ||
|
||
### Falling Spheres 2D (`fsi/falling_spheres_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/b3964f68-2782-43e6-b6ff-be96f9f224ae" width="60%"/> | ||
``` | ||
|
||
## Structure Mechanics | ||
|
||
## Postprocessing | ||
|
||
### Oscillating Beam (`solid/oscillating_beam_2d.jl`) | ||
```@raw html | ||
<img src="https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/e05ace63-e330-441a-a391-eda3d2764074" width="60%"/> | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Overview | ||
The following page gives a rough overview of important parts of the code. | ||
|
||
## Program flow | ||
|
||
To initiate a simulation, the goal is to solve an ordinary differential equation, for example, | ||
by employing the time integration schemes provided by OrdinaryDiffEq.jl. These schemes are then | ||
utilized to integrate ``\mathrm{d}u/\mathrm{d}t`` and ``\mathrm{d}v/\mathrm{d}t``, where ``u`` | ||
represents the particles' positions and ``v`` their properties such as velocity and density. | ||
During a single time step or an intermediate step of the time integration scheme, the functions | ||
`drift!` and `kick!` are invoked, followed by the functions depicted in this diagram | ||
(with key parts highlighted in orange/yellow). | ||
|
||
![Main Program Flow](https://github.com/trixi-framework/TrixiParticles.jl/assets/10238714/d7c6eedd-7173-4879-b62e-3e6d4bc5091f) | ||
|
||
|
||
## Structure | ||
What we refer to as schemes are various models such as Weakly Compressible Smoothed Particle Hydrodynamics (WCSPH) | ||
or Total Lagrangian Smoothed Particle Hydrodynamics (TLSPH). These schemes are categorized based on the applicable | ||
physical regimes, namely fluid, solid, gas, and others. Each scheme comprises at least two files: a `system.jl` file | ||
and an `rhs.jl` file. The `system.jl` file provides the data structure holding the particles of this scheme and some | ||
routines, particularly those for allocation and the main update routines, excluding system interactions. | ||
The interactions between particles of this scheme (and with particles of other schemes) are handled in the `rhs.jl` file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.