Skip to content

yslan/nek-utils

Repository files navigation

nek-utils

A place to put my codes for Nek5000/NekRS.
All tools are under a separate directory or a git-repository with README.md description and with proper example(s).

This is still under-construction. Most codes are based on existed Nek5000 code. I will put proper reference and lisence later.

Some codes are experimental. Feel free to report issues and bugs.

Please use this as a dictionary to other repositories. I suggest to use the latest/release version from repositories. The submodules might not up-to-date.

Overview

  • machines_list/

    • Main: A place to put all of my scripts on server/machines
    • Usage: Using scripts from a stranger is dangerous. Use them at your own risk.
    • TODO: Those scripts might not be up-to-date. Please contact me if you face issues.
  • nekrsExamples/

    • Main: Extra examples for NekRS. Focusing on realization of Nek5000 functionality inside NekRS
    • Usage: See independent examples.
  • usr_extra/

    • Main: This store those isolated *.f files that I usually use is to do some checks or post-processing
    • Usage: Include the file in .usr file. See the README.md for individual subroutines.
    • TODO: I just start collecting them together. Will remember to copy files here when I see them.
  • outpost-select/

    • Main: A modified nek outpost allowing user to only dump the user-selected elements to reduce the size of the output file and the visualization cost.
    • Usage: independent file included from a nek user file.
  • nek_connectivity/

    • Main: Extra nek tools for the connectivity file .con/.co2 such as n2to3 and binary-ascii translation.
    • Usage: [repo] Modified nek5000 tools.
    • TODO: Merge into n2to3
  • SphereMesh/

    • Main: Mesh generator for pebble bed geometry.
    • Usage: [private repo] A workflow contains MATLAB code and nek mesh smoother.
    • TODO: WIP, to be released in future
  • Tet2Hex_forNek/

    • Main: [repo] Mesh generator for arbitrary input points via tet-to-hex.
    • Usage: MATLAB code that generates nek meshes.
    • TODO: Add new features as a small subset of SphereMesh
  • quick_fix_boundary_layers/

    • Main: fix the boundary layers for cylinder geometry
    • Usage: independent file included from a nek user file.
    • TODO: clean up, add general geometry
  • del_elements/

    • Main: delete selected elements from mesh in nek
    • Usage: independent file included from a nek user file.
    • TODO: add feature like BC tracing and dump co2 files
  • p3d2nek/

    • Main: converting plot3d mesh to nek meshes
    • Usage: [repo] MATLAB scripts
    • TODO: See the README
  • OneSphere/:

    • Main: mesh generator for single pebble
    • Usage: [repo] MATLAB scripts

TODO:

  • mesh smoother
  • mesh refine / extrusion
  • multi-box reader
  • hpts example(s)
  • web based doc
  • gallery and showcases
  • SEM codes (both MATLAB and Python)
  • external storage for large files

About

A place to put my codes for Nek5000/NekRS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published