https://github.com/arpit-babbar/tenkai.jl
Space-time discretizations of PDEs
Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Repository
Space-time discretizations of PDEs
Basic Info
Statistics
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 2
- Releases: 2
Metadata Files
README.md
Tenkai.jl
1d/2d FR solver
Setup (5-10 minutes)
Set parameters in any of the run files in Examples directly, like run_const_linadv1d.jl in Examples/1d. Some of the options we have are
Scheme: RKFR, LWFR
Correction: radau, g2
Degree: 1,2,3,4
Then, enter the Julia REPL as
shell
julia --project=.
or by starting plain julia REPL and then entering import Pkg; Pkg.activate("."). Install all dependencies (only needed the first time) with
julia
julia> import Pkg; Pkg.instantiate()
For the first time, to precompile parts of code to local drive, it is also recommended that you run
julia
julia> using Tenkai
At this point, in principle you can exit the REPL and always run your code directly through the shell as
shell
julia --project=. Examples/1d/run_const_linadv1d.jl
However, since Julia uses a Just-In-Time (JIT) compiler, this is not recommended. If you wish to run this file again or run a different file, Julia will have to compile most of the code again. The recommended way to use Julia is within the Julia REPL where, within each session, the compiled code is stored in memory.
Usage
Assuming you have already selected the run_const_linadv1d.jl file and modified parameters if needed, within the REPL, run it as
julia
julia> include("Examples/1d/run_const_linadv1d.jl")
Visualization
For 1-D, you can see png, .txt and interactive HTML files of the final solution in output directory.
For 2-D, plot the solution using visit as
shell
visit -o output/sol*.vtr
If you wish to suppress on-screen printing during the simulation, you can redirect the printing to a string
julia
julia> using Suppressor
julia> out = @capture_out include("Examples/1d/run_const_linadv1d.jl") # Capture output in variable out
julia> println(out) # Print at the end if needed
If you have a 4 core CPU, you can use 4 threads by starting REPL as
shell
julia --project=. --threads=4
Refer us!
If you use these codes for your research work, please cite us as
bibtex
@article{Babbar2024,
title = {Admissibility Preserving Subcell Limiter for Lax–Wendroff Flux Reconstruction},
volume = {99},
ISSN = {1573-7691},
url = {http://dx.doi.org/10.1007/s10915-024-02482-9},
DOI = {10.1007/s10915-024-02482-9},
number = {2},
journal = {Journal of Scientific Computing},
publisher = {Springer Science and Business Media LLC},
author = {Babbar, Arpit and Kenettinkara, Sudarshan Kumar and Chandrashekar, Praveen},
year = {2024},
month = mar
}
Owner
- Name: Arpit Babbar
- Login: Arpit-Babbar
- Kind: user
- Repositories: 3
- Profile: https://github.com/Arpit-Babbar
GitHub Events
Total
- Release event: 1
- Watch event: 1
- Delete event: 8
- Push event: 56
- Pull request event: 17
- Fork event: 2
- Create event: 8
Last Year
- Release event: 1
- Watch event: 1
- Delete event: 8
- Push event: 56
- Pull request event: 17
- Fork event: 2
- Create event: 8
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 1
- Total pull requests: 11
- Average time to close issues: N/A
- Average time to close pull requests: about 7 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 11
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Arpit-Babbar (1)
Pull Request Authors
- Arpit-Babbar (18)