Skip to content

Commit

Permalink
Get new example for fixed edges to work
Browse files Browse the repository at this point in the history
  • Loading branch information
FloSewn committed Jul 4, 2024
1 parent cbf7a05 commit 0a66645
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Planned changes for upcoming release

- Fix quad layer bug described in issue [#??]
- Implement fixed number of segments on boundary edges / periodic edges?

### Fixed
- Fixed bug in `Log.h` which resulted from the additional `static` declaration on `LOG_PROPERTIES` in commit [`5c2cebc`](https://github.com/FloSewn/TQMesh/commit/5c2cebc).
Expand All @@ -25,8 +26,9 @@

### Added

- Implement `EdgeProperty` - similarly to `VertexProperty`
- Implement fixed interior edges.
- `EdgeProperty` - similarly to `VertexProperty`, but for edges
- Implementation of fixed interior edges
- New example file `input/09_fixed_edges.para`


## [1.3.2] - 2024-06-10
Expand Down
66 changes: 66 additions & 0 deletions input/09_fixed_interior_edges.para
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#===========================================================
# TQMESH
#===========================================================

#-----------------------------------------------------------
# MESH DEFINITION
#
# First, we provide some general meshing properties,
# such as the overall element size, element color and
# the applied meshing algorithm:
#-----------------------------------------------------------
Define mesh:
Element size: 0.35
Element color: 1
Meshing algorithm: Triangulation
Number of quad refinements: 1
Number of smoothing iterations: 3

# Output formats: COUT, TXT, VTU
Output file format: TXT
Output file prefix: ./fixed_edges

#---------------------------------------------------------
#
#---------------------------------------------------------
Define boundary vertices:
1.0, 0.0
6.0, 0.5
4.0, 5.0
-1.0, 4.5
End boundary vertices

#---------------------------------------------------------
#
#---------------------------------------------------------
Define exterior boundary edges:
0, 1, 2 # 2: Color for bottom edge
1, 2, 3 # 3: Color for right edge
2, 3, 2 # 2: Color for top edge
3, 0, 1 # 1: Color for left edge
End exterior boundary edges

#---------------------------------------------------------
#
#---------------------------------------------------------
Define fixed vertices:
2.5, 2.5, 0.05, 1.0 # 4
1.5, 1.5, 0.05, 1.0
3.5, 1.5, 0.05, 1.0
3.5, 3.5, 0.05, 1.0
1.5, 3.5, 0.05, 1.0
End fixed vertices

Define fixed edges:
4, 5
4, 6
4, 7
4, 8
5, 6
6, 7
7, 8
8, 5
End fixed edges

End mesh

0 comments on commit 0a66645

Please sign in to comment.