CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

TQMesh - A two-dimensional mesh generator

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By FloSewn
  • 1 Post By teofil75

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2022, 01:58
Smile TQMesh - A two-dimensional mesh generator
  #1
New Member
 
FloSewn's Avatar
 
Join Date: Feb 2022
Posts: 3
Rep Power: 4
FloSewn is on a distinguished road
Hey everyone,

I would like to present a tool for the generation of two-dimensional unstructured grids, which I programmed in the last months. It was actually a little side project during the Covid pandemic, in order to learn C++ programming. However, I thought that there might be someone who could have a use for it - maybe for educational purposes e.g. to create simple grids for CFD seminars or to test simple CFD solvers written from scratch.

The grid generator is called TQMesh and you can have a detailed look on it on Github:

https://github.com/FloSewn/TQMesh

The application is run from the command line and currently I only tested it on linux (sorry to all windows / mac users). It is basically a header-only library, so one could use it in other C++ applications.

I am happy for feedback, reports on bug or even on anyone's contribution

Greetings
Flo
AtoHM likes this.
FloSewn is offline   Reply With Quote

Old   February 24, 2022, 08:38
Default grid generation
  #2
New Member
 
Ion Bogdan
Join Date: Sep 2021
Posts: 1
Rep Power: 0
Bogdan20 is on a distinguished road
It will br very useful for me because i am passionate about this.
Bogdan20 is offline   Reply With Quote

Old   April 7, 2022, 00:39
Default
  #3
New Member
 
Aiman
Join Date: Apr 2022
Posts: 2
Rep Power: 0
aimanlegen is on a distinguished road
Hi, I am doing my final year university project. Studying the effect of air flow on the triangular cylinder. I am required to use openfoam. May I ask you, how to implement the unstructured mesh on my project ?
aimanlegen is offline   Reply With Quote

Old   April 7, 2022, 00:41
Default
  #4
New Member
 
Aiman
Join Date: Apr 2022
Posts: 2
Rep Power: 0
aimanlegen is on a distinguished road
Quote:
Originally Posted by FloSewn View Post
Hey everyone,

I would like to present a tool for the generation of two-dimensional unstructured grids, which I programmed in the last months. It was actually a little side project during the Covid pandemic, in order to learn C++ programming. However, I thought that there might be someone who could have a use for it - maybe for educational purposes e.g. to create simple grids for CFD seminars or to test simple CFD solvers written from scratch.

The grid generator is called TQMesh and you can have a detailed look on it on Github:

https://github.com/FloSewn/TQMesh

The application is run from the command line and currently I only tested it on linux (sorry to all windows / mac users). It is basically a header-only library, so one could use it in other C++ applications.

I am happy for feedback, reports on bug or even on anyone's contribution

Greetings
Flo
Hi, I am doing my final year university project. Studying the effect of air flow on the triangular cylinder. I am required to use OpenFOAM. May I ask you, how to implement the unstructured mesh on my project?
aimanlegen is offline   Reply With Quote

Old   May 10, 2022, 14:13
Default
  #5
New Member
 
FloSewn's Avatar
 
Join Date: Feb 2022
Posts: 3
Rep Power: 4
FloSewn is on a distinguished road
Hey there,


unfortunately the output format is currently not yet suitable for OpenFOAM. But I will try to implement it in the future.


Greetings

Flo
FloSewn is offline   Reply With Quote

Old   July 20, 2023, 05:31
Default
  #6
New Member
 
Rovera Alessandro
Join Date: Aug 2020
Posts: 3
Rep Power: 5
teofil75 is on a distinguished road
At the moment I'm in holidays but in a couple of weeks I would like to use your meshing tool inside my caseBuilder, a graphical tool to realize openfoam cases. Till now it was not yet published, and may be I'll change the name in flowBuilder to avoid confusion with silentDynamics product.
FloSewn likes this.
teofil75 is offline   Reply With Quote

Old   August 10, 2023, 07:32
Default Question to TQMesh
  #7
New Member
 
Join Date: Aug 2023
Posts: 2
Rep Power: 0
DavidS is on a distinguished road
Dear Flo,

I need a quad mesh of a simple round cornered rectangular cross section with a certain thickness (so to say with a similar inner mesh). Is it possible to define the outer mesh based on lines and arcs ?

kind regards,
David
DavidS is offline   Reply With Quote

Old   August 30, 2023, 00:13
Default
  #8
New Member
 
FloSewn's Avatar
 
Join Date: Feb 2022
Posts: 3
Rep Power: 4
FloSewn is on a distinguished road
Quote:
Originally Posted by DavidS View Post
Dear Flo,

I need a quad mesh of a simple round cornered rectangular cross section with a certain thickness (so to say with a similar inner mesh). Is it possible to define the outer mesh based on lines and arcs ?

kind regards,
David
Hey David,


sorry for my late response.



Unfortunately, at the moment it is not possible to specify such a geometry directly.

However, with the latest release you can define mesh boundaries by coordinates, which can be imported as CSV files. So you could create the geometry by another program and then simply read it into TQMesh.



Greetings
Flo
FloSewn is offline   Reply With Quote

Old   August 30, 2023, 15:43
Default
  #9
New Member
 
Join Date: Aug 2023
Posts: 2
Rep Power: 0
DavidS is on a distinguished road
Thank you for the clarification. I will use gsmh. David
DavidS is offline   Reply With Quote

Reply

Tags
c++, mesh generators, meshing 2d, triangulation, unstructured grids


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 19:11.