You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/literate/src/files/adding_nonconservative_equation.jl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,9 @@ error_1 / error_2
177
177
# As expected, the new error is roughly reduced by a factor of 16, corresponding
178
178
# to an experimental order of convergence of 4 (for polynomials of degree 3).
179
179
180
+
# For non-trivial boundary conditions involving non-conservative terms,
181
+
# please refer to the section on [Other available example elixirs with non-trivial BC](https://trixi-framework.github.io/Trixi.jl/stable/tutorials/non_periodic_boundaries/#Other-available-example-elixirs-with-non-trivial-BC).
182
+
180
183
# ## Summary of the code
181
184
182
185
# Here is the complete code that we used (without the callbacks since these
Copy file name to clipboardExpand all lines: docs/literate/src/files/non_periodic_boundaries.jl
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,11 @@ end
158
158
# ```
159
159
# Source: [`Video`](https://www.youtube.com/watch?v=w0A9X38cSe4) on Trixi.jl's YouTube channel [`Trixi Framework`](https://www.youtube.com/watch?v=WElqqdMhY4A)
160
160
161
+
# Furthermore, Trixi.jl also handles equations that include non-conservative terms.
162
+
# For such equations, the tuple of conservative and non-conservative surfaces fluxes is passed to the boundary condition,
163
+
# which then returns a tuple containing the boundary condition values for both the conservative and non-conservative terms.
164
+
# For instance, a 2D ideal compressible GLM-MHD setup with reflective walls can be found in the elixir ['elixir_mhd_reflective_wall.jl](https://github.com/trixi-framework/Trixi.jl/blob/main/examples/dgmulti_2d/elixir_mhd_reflective_wall.jl).
165
+
161
166
# ## Package versions
162
167
163
168
# These results were obtained using the following versions.
0 commit comments