Skip to content

Julia package that adds Legendre-Gauss-Lobatto (LGL) or Legendre-Gauss (LG) nodes for arbitrary order spectral elements to a linear GMSH grid

License

Notifications You must be signed in to change notification settings

smarras79/JexpressoHOmesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

| Contacts | | Simone Marras |

| Citation | | DOI |

JexpressoHOmesh

This is a simple package that reads a GMSH grid file (another reader could be added as needed) and adds high-order Legendre-Gauss-Lobatto or Legendre-Gauss nodes.

Markdown icon

Suggested Julia version: 1.10.0

If you use JexpressoHOmesh please drop us a line to let us know. We'd like to add a link to your paper or work on this page.

Please cite JexpressoHOmesh with:

@misc{tissaoui2024,
      title={Efficient Spectral Element Method for the Euler Equations on Unbounded Domains in Multiple Dimensions}, 
      author={Yassine Tissaoui and James F. Kelly and Simone Marras},
      year={2024},
      eprint={2401.05624},
      archivePrefix={arXiv},
      primaryClass={math.NA}
}

Feel free to contact me if you have questions or if you are interested in contributing (for example, it would be nice to add curved-elements capabilities!) Simone Marras

Some notes on using JexpressoHOmesh

To install and run the code assume Julia 1.10.0

Setup

After cloning JexpressoHOmesh do the following:

>> cd $JEXPRESSO_HOME
>> julia --project=.
pkg> instantiate
pkg> precompile

To run JexpressoHOmesh, do as follows:

Push problem name to ARGS You need to do this only when you run a new problem

julia> push!(empty!(ARGS), PROBLEM_CASE_NAME::String)
julia> include("./src/JexpressoHOmesh.jl")
  • PROBLEM_NAME is the name of your problem directory as $JEXPRESSO/problems/problem_case_name
  • PROBLEM_CASE_NAME is the name of the subdirectory containing the specific setup that you want to run:

The path would look like $JEXPRESSO/problems/problems/PROBLEM_CASE_NAME

Example 1:

julia> push!(empty!(ARGS), "grid");
julia> include("./src/JexpressoHOmesh.jl")

Markdown icon

Plotting

Files can be written to VTK.

Contacts

Simone Marras

About

Julia package that adds Legendre-Gauss-Lobatto (LGL) or Legendre-Gauss (LG) nodes for arbitrary order spectral elements to a linear GMSH grid

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published