Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jo/support 1d #188

Merged
merged 59 commits into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
9887463
Support for 1D
JuliaOd Sep 18, 2020
715b2bc
Support for 1D
JuliaOd Sep 18, 2020
01155eb
Re-arrange manufactured solution generator
sloede Sep 19, 2020
c5d7e4e
Fix Euler conv test
sloede Sep 19, 2020
271903e
Apply suggestions from code review
JuliaOd Sep 21, 2020
285a806
update
JuliaOd Sep 21, 2020
64710a0
Merge branch 'jo/support-1d' of github.com:JuliaOd/Trixi.jl into jo/s…
JuliaOd Sep 21, 2020
d37a853
Update 1d solver
JuliaOd Sep 21, 2020
0d60f22
Merge branch 'master' into jo/support-1d
sloede Sep 23, 2020
cb5123f
Remove erroneously added `src/Project.toml`
sloede Sep 23, 2020
ebb3c16
Reuse simulation summary output from 2D/3D for 1D
sloede Sep 23, 2020
5c51501
Add missing L2 mortar output
sloede Sep 23, 2020
aa79731
Remove non-conservative stuff
sloede Sep 23, 2020
6a4142a
mRemove more non-cons stuff for 1D
sloede Sep 23, 2020
86b5754
parameters_amr for 1d
JuliaOd Sep 23, 2020
97d16ee
update refinement_patches in parameters.toml
JuliaOd Sep 25, 2020
7d04a5b
Update count_required_interfaces and init_interface_connectivity! for 1D
JuliaOd Sep 25, 2020
5e6401e
Add boundary_conditions_convergence_test
JuliaOd Sep 29, 2020
a42a02a
Remove non-conservative stuff for 1D
JuliaOd Sep 29, 2020
b857b58
parameters_nonperiodic.toml for 1D
JuliaOd Sep 29, 2020
c6b4752
Correction refinement_patches
JuliaOd Sep 29, 2020
cc411d1
parameters_blast_wave_shockcapturing.toml for 1D
JuliaOd Sep 29, 2020
6c83204
Add trixi2txt script and gnuplot script
sloede Sep 30, 2020
2989dfa
Minor code simplifications
sloede Sep 30, 2020
2111452
Fix amr for 1D
JuliaOd Sep 30, 2020
03dc09e
Ignore solution/restart txt files from 1D
sloede Oct 1, 2020
6764204
Add new 1D parameter files
sloede Oct 1, 2020
5b984fb
Reduce analysis interval to stay sane during convtests
sloede Oct 1, 2020
f86be8b
Fix ICs for blast waves in 1D
sloede Oct 1, 2020
07bfc2c
Add first set of tests for 1D
sloede Oct 1, 2020
47684d4
Add 1D tests to Travis
sloede Oct 1, 2020
4afaa04
Remove unused methods for 1D
sloede Oct 1, 2020
246c7db
parameters_amr_nonperiodic for 1D
JuliaOd Oct 1, 2020
adb2cf0
parameters_sedov_blast_wave_shockcapturing
JuliaOd Oct 1, 2020
407bc9d
Remove unused stuff for 1D
JuliaOd Oct 1, 2020
6c4dbc4
Add tests for 1D
JuliaOd Oct 1, 2020
2182fd4
Add tests for 1D
JuliaOd Oct 1, 2020
c3a1d06
Add 1D support
JuliaOd Oct 1, 2020
fe5e6ae
Remove unused stuff for 1D
JuliaOd Oct 1, 2020
529e582
Add test for 1D
JuliaOd Oct 1, 2020
bdc126d
Fix test for 1D
JuliaOd Oct 1, 2020
8c88767
Fix test
JuliaOd Oct 1, 2020
ef277b7
Remove unused stuff
JuliaOd Oct 1, 2020
f5bfd81
Merge branch 'master' into jo/support-1d
ranocha Oct 1, 2020
1bcb120
Update examples/1d/parameters_amr.toml
JuliaOd Oct 1, 2020
c5217fe
Update examples/1d/parameters_ec.toml
JuliaOd Oct 1, 2020
eb514b2
Remove comments in examples/1d/parameters_ec.toml
JuliaOd Oct 1, 2020
cad60ef
Remove comments in examples/1d/parameters_amr_nonperiodic.toml
JuliaOd Oct 1, 2020
9daa68b
Remove comments in examples/1d/parameters.toml
JuliaOd Oct 1, 2020
b2fd286
Remove comments in examples/1d/parameters_ec.toml
JuliaOd Oct 1, 2020
b194c87
Apply suggestions from code review
JuliaOd Oct 1, 2020
5ae9471
Update src/equations/1d/compressible_euler.jl
JuliaOd Oct 1, 2020
f6a09f8
Remove comments in src/equations/1d/compressible_euler.jl
JuliaOd Oct 1, 2020
cbcacdb
Apply suggestions from code review
JuliaOd Oct 1, 2020
0bb4e76
Update cos_phi
JuliaOd Oct 1, 2020
5ba0477
Remove surface_ids
JuliaOd Oct 1, 2020
9deb913
Update src/equations/1d/compressible_euler.jl
JuliaOd Oct 1, 2020
0d7311c
Add Julia Odenthal to Authors
JuliaOd Oct 1, 2020
67aabd4
Update inicenters in ICs
JuliaOd Oct 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Profile = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reduce = "93e0c654-6965-5f22-aba9-9c1ae6b3c259"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
Tullio = "bc48ee85-29a4-5162-ae0b-a64e1601d4bc"
Expand Down
47 changes: 47 additions & 0 deletions examples/1d/parameters.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
####################################################################################################
# Simulation
ndims = 1
# equations = "CompressibleEulerEquations"
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
equations = "LinearScalarAdvectionEquation"
advectionvelocity = [1.0] # Need only for linarscalaradvection
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved

initial_conditions = "initial_conditions_convergence_test"
#initial_conditions = "initial_conditions_constant"
#initial_conditions = "initial_conditions_linear_x_y"
surface_flux = "flux_lax_friedrichs"
# source_terms =
t_start = 0.0
t_end = 1.0

# restart = true
# restart_filename = "out/restart_000100.h5"


####################################################################################################
# Solver
solver = "dg"
polydeg = 4
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
cfl = 0.2
n_steps_max = 10000
analysis_interval = 100
extra_analysis_quantities = ["entropy", "energy_total"]


####################################################################################################
# Mesh
n_cells_max = 30000
coordinates_min = [-1]
coordinates_max = [1]
initial_refinement_level = 4
# refinement_patches = [
# {type = "box", coordinates_min = [-0.5, -0.5], coordinates_max = [0.5, 0.5]},
# {type = "box", coordinates_min = [-0.1, -0.1], coordinates_max = [0.1, 0.1]},
# ]


####################################################################################################
# I/O
# save_initial_solution = false
solution_interval = 100
solution_variables = "primitive"
restart_interval = 10
41 changes: 41 additions & 0 deletions examples/1d/parameters_density_wave.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
####################################################################################################
# Simulation
ndims = 1
equations = "CompressibleEulerEquations"
initial_conditions = "initial_conditions_density_wave"
surface_flux = "flux_central"
volume_flux = "flux_central"
t_start = 0.0
t_end = 2.0

# restart = true
# restart_filename = "out/restart_000100.h5"


####################################################################################################
# Solver
solver = "dg"
polydeg = 5
cfl = 0.8
n_steps_max = 10000
analysis_interval = 100


####################################################################################################
# Mesh
n_cells_max = 30000
coordinates_min = [-1]
coordinates_max = [1]
initial_refinement_level = 2
# refinement_patches = [
# {type = "box", coordinates_min = [-0.5, -0.5], coordinates_max = [0.5, 0.5]},
# {type = "box", coordinates_min = [-0.1, -0.1], coordinates_max = [0.1, 0.1]},
# ]


####################################################################################################
# I/O
# save_initial_solution = false
solution_interval = 100
solution_variables = "primitive"
restart_interval = 10
42 changes: 42 additions & 0 deletions examples/1d/parameters_source_terms.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
####################################################################################################
# Simulation
ndims = 1
equations = "CompressibleEulerEquations"

initial_conditions = "initial_conditions_convergence_test"
# initial_conditions = "initial_conditions_constant"
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
surface_flux = "flux_lax_friedrichs"
source_terms = "source_terms_convergence_test"
t_start = 0.0
t_end = 2.0

# restart = true
# restart_filename = "out/restart_000100.h5"


####################################################################################################
# Solver
solver = "dg"
polydeg = 3
cfl = 0.6
n_steps_max = 10000
analysis_interval = 100


####################################################################################################
# Mesh
n_cells_max = 10000
coordinates_min = [0]
coordinates_max = [2]
initial_refinement_level = 4
# refinement_patches = [
# {type = "box", coordinates_min = 0, coordinates_max = 16},
# ]


####################################################################################################
# I/O
# save_initial_solution = false
solution_interval = 100
solution_variables = "primitive"
restart_interval = 100
6 changes: 3 additions & 3 deletions examples/2d/parameters.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ equations = "LinearScalarAdvectionEquation"
advectionvelocity = [1.0, 1.0] # Need only for linarscalaradvection

initial_conditions = "initial_conditions_convergence_test"
# initial_conditions = "initial_conditions_constant"
# initial_conditions = "initial_conditions_linear_x_y"
#initial_conditions = "initial_conditions_constant"
#initial_conditions = "initial_conditions_linear_x_y"
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
surface_flux = "flux_lax_friedrichs"
# source_terms =
t_start = 0.0
Expand All @@ -21,7 +21,7 @@ t_end = 1.0
# Solver
solver = "dg"
polydeg = 3
cfl = 0.8
cfl = 0.2
JuliaOd marked this conversation as resolved.
Show resolved Hide resolved
n_steps_max = 10000
analysis_interval = 100
extra_analysis_quantities = ["entropy", "energy_total"]
sloede marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
Empty file added src/Project.toml
Empty file.
Loading