Skip to content

manuel1618/HypermeshLatticeMesher

Repository files navigation

HypermeshLatticeMesher

Tool to generate lattice Meshes from existing hex meshes in Hyperworks (for now - maybe other element types later)

From input as a .fem file - the program generates lattice structures which can be then used for an 1D element analysis / optimization Currently implemented: Hex8 elements, Hex20 is somewhat done but not fully (26.06.2022)

grafik

When exporting .fem files, make sure, you use the free format and don't remove the E from real values --> Edit: No E's are now okay - you can just don't care about it:

grafik

Notes (for coding)

Some notes for better understanding the code in here (mostly for myself)

Execute

  • run the module in a poetry shell via: python -m hypermesh_lattice_mesher.main
  • Commands:
    • mesh Meshes the .fem file by using tcl commands in...
    • meshfemfile Meshtes the .fem file directly, no tcl commands...
    • readdisplacement Reads the total displacement values from an...
    • readstress Reads the axial sterss values from an .h3d file...
    • update-material-values Create multiple materials and assign elmeents...

Tests

  • Done in the task file
  • task: Available tasks for this project:
    • build: Builds the puthon package
    • format: Formats the source code
    • lint: Lints the code and reports on issues.
    • setup: Install dependencies and dev-dependencies
    • test: Runs the test suite.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages