Skip to content

An open-source Python-based unstructured Mesh Generator(PyMeshGen) for CFD/FEA analysis, providing basic 2D mesh generation tools and study platform of widely used algorithms.

License

Notifications You must be signed in to change notification settings

cfd-dev/PyMeshGen

Repository files navigation

PyMeshGen License

Mesh Example

Project Overview

An open-source Python-based unstructured Mesh Generator(PyMeshGen) for CFD/FEA analysis, providing basic 2D mesh generation tools and study platform of widely used algorithms.

Project:

Key Features

  • Input/Output
    • Import Fluent .cas mesh format
    • Import and export VTK visualization .vtk format
    • Import and export .stl tessellation format
  • Core Algorithms
    • 2D Advancing Front Method
    • Boundary Layer Advancing Technique
    • Quadtree Background Mesh Sizing
  • Supported Elements
    • Isotropic Triangular Meshes
    • Anisotropic Quadrilateral Boundary Layers
  • Advanced Mesh Optimization
    • Neural Network-Based Mesh Smoothing(NN-Smoothing)
    • Deep Reinforcement Learning-Based Mesh Smoothing(DRL-Smoothing)
    • Mesh Optimization with Adam Optimizer(Adam-Smoothing)

Quick Start

# Install dependencies
pip install -r requirements.txt

# Generate sample mesh
python PyMeshGen.py --case "./config/30p30n.json"

Contact

About

An open-source Python-based unstructured Mesh Generator(PyMeshGen) for CFD/FEA analysis, providing basic 2D mesh generation tools and study platform of widely used algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Languages