Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pentagrow for automatic hybrid mesh generation #293

Merged
merged 40 commits into from
Apr 19, 2024
Merged

Conversation

GBenedett
Copy link
Collaborator

@GBenedett GBenedett commented Feb 5, 2024

Starting from the 2D mesh generated by gmsh, the goal is to obtain a 3D mesh with boundary layer for RANS simulation.

  • Add mesh refinement for surface mesh
  • Finish to link the workflow (from mesh to CFD simulation)
  • Correct error for merging
  • Make automatic markers for the mesh
  • Modify ReadMe
  • Integrate other parts during fragmentation

@GBenedett GBenedett self-assigned this Feb 5, 2024
@GBenedett GBenedett added the GMSH Related to GMSH label Feb 5, 2024
Copy link

codecov bot commented Feb 5, 2024

Codecov Report

Attention: Patch coverage is 26.02041% with 145 lines in your changes are missing coverage. Please review.

Project coverage is 62.39%. Comparing base (a11eb44) to head (805bb0b).
Report is 2 commits behind head on main.

Files Patch % Lines
ceasiompy/CPACS2GMSH/func/RANS_mesh_generator.py 7.69% 132 Missing ⚠️
ceasiompy/CPACS2GMSH/cpacs2gmsh.py 62.96% 10 Missing ⚠️
ceasiompy/SU2Run/func/su2config.py 33.33% 2 Missing ⚠️
ceasiompy/CPACS2GMSH/func/mesh_sizing.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
- Coverage   69.47%   62.39%   -7.08%     
==========================================
  Files          84       89       +5     
  Lines        8148     8989     +841     
==========================================
- Hits         5661     5609      -52     
- Misses       2487     3380     +893     
Flag Coverage Δ
integrationtests 43.55% <26.02%> (-11.06%) ⬇️
unittests 51.04% <41.50%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GBenedett GBenedett added the Python Related to Python label Feb 5, 2024
mengmengzhang2019 and others added 2 commits February 6, 2024 09:37
saved the pentagrow command to file and then executed
`CPACS2GMSH` is an automatic mesh generator module for a [CPACS](https://www.cpacs.de) aircraft geometry [[1]](#Alder20) using [GMSH](https://gmsh.info/) ,a finite element mesh generator. An unstructured mesh is automatically generated in a spherical domain surrounding the aircraft. The resulting mesh can be used for a CFD calculation by connecting the `SU2Run` module after `CPACS2GMSH` module.
`CPACS2GMSH` is an automatic mesh generator module for a [CPACS](https://www.cpacs.de) aircraft geometry [[1]](#Alder20) using [GMSH](https://gmsh.info/) ,a finite element mesh generator. An unstructured mesh is automatically generated in a spherical domain surrounding the aircraft.

<!-- if RANS is "True" the mesh 2d is generated by [GMSH] and by using [TETGEN] (https://wias-berlin.de/software/tetgen/1.5/doc/manual/manual.pdf) an hybrid spherical domain is automatically generated, thank to the command "Pentagrow". -->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong position in the read me, and bad formatted

@@ -95,6 +127,8 @@ Engine exhaust surface position from the back of the engine fan cowl in percent

At the time of writing, this module is not able to handle aircraft with control surfaces (they will not be modelled and thus appear in the final mesh).

<!-- For the RANS part, it is only possible to process aircraft consisting of .brep files of category 'fuselage' and 'wing' -->

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add somewhere the part of pentagrow, and clarify the 2 workflow

Copy link
Collaborator Author

@GBenedett GBenedett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@GBenedett GBenedett merged commit 0741050 into main Apr 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GMSH Related to GMSH Python Related to Python
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

3 participants