Skip to content

Commit 92e5d56

Browse files
committed
Update changelog, readme, bump version
1 parent 6e6439d commit 92e5d56

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
# [1.6.0]
8+
### Added
9+
- Array element; handling multiple points at once (makes transforms faster)
10+
- Complete overhaul of Optimization:
11+
- Optimizer has become SketchOptimizer or MeshOptimizer
12+
- MappedSketch is now smoothed by SketchSmoother
13+
- Mesh can also be smoothed by MeshSmoother
14+
- Gear example
15+
16+
### Changed
17+
- Cell quality: adjusted calculation so that it works for quadrangles and hexahedrons
18+
- Clamps no longer refer to Vertex objects but only store points as locations
19+
- Links same as clamps above, locations only
20+
21+
### Removed
22+
- QuadMap is no longer needed (handled by Grid classes)
23+
724
# [1.5.3]
825
### Added
926
- RoundSolidShape.remove_inner_edges() can now remove edges from a specific face (start, end or both)

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ After blocks have been placed, it is possible to create new geometry based on pl
9494
- [x] Move Vertex/Edge/Face
9595
- [x] Delete a Block created by a Shape or Object
9696
- [x] Project Vertex/Edge/Face
97-
- [x] Optimize Vertex positions
97+
- [x] Optimize point position of a Sketch or mesh vertices
9898

9999
## Meshing Specification
100100
- [x] Simple definition of all supported kinds of edges with a dedicated class (Arc/Origin/Angle/Spline/PolyLine/Project)
@@ -164,6 +164,8 @@ mesh.add(revolve)
164164
165165

166166
## Shapes
167+
Some basic shapes are ready-made so that there's no need for workout with Operations.
168+
167169
A simple Cylinder:
168170

169171
```python
@@ -212,9 +214,11 @@ disk_in_square = cb.WrappedDisk(start_point, corner_point, disk_diameter/2, norm
212214
shape = cb.ExtrudedShape(disk_in_square, length)
213215
```
214216

215-
> See `examples/operations` for an example of each operation.
217+
### Sketch Smoothing and Optimization
216218

219+
Points that define a custom sketch can only be placed approximately. Their positions can then be defined by Laplacian smoothing or optimization to obtain best face quality.
217220

221+
> See `examples/shape/custom` for an example with a custom sketch.
218222
219223
## Stacks
220224
A collection of similar Shapes; a Stack is created by starting with a Sketch, then transforming it a number of times, obtaining Shapes, stacked on top of each other.
@@ -321,7 +325,7 @@ Once an approximate blocking is established, one can fetch specific vertices and
321325

322326
Block is treated as a single cell for which OpenFOAM's cell quality criteria are calculated and optimized per user's instructions.
323327

324-
Vertices can move freely (3 degrees of freedom), along a specified line/curve (1 DoF) or surface (2 DoF).
328+
Points can move freely (3 degrees of freedom), along a specified line/curve (1 DoF) or surface (2 DoF).
325329

326330
```python
327331
# [...] A simple setup with two cylinders of different radii,
@@ -371,6 +375,10 @@ happily show anything.
371375
A parametric, Low-Re mesh of a real-life impeller *(not included in examples)*
372376
![Impeller - Low Re](showcase/impeller_full.png "Low-Re Impeller")
373377

378+
A gear, made from a curve of a single tooth, calculated by
379+
[py_gear_gen](https://github.com/heartworm/py_gear_gen)
380+
![Gear](showcase/gear.png "Gear")
381+
374382
A complex example: parametric, Low-Re mesh of a cyclone
375383
![Cyclone](showcase/cyclone.png "Cyclone")
376384

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "classy_blocks"
3-
version = "1.5.3"
3+
version = "1.6.0"
44
description = "Python classes for easier creation of openFoam's blockMesh dictionaries."
55
readme = "README.md"
66
license = { file = "LICENSE" }

showcase/gear.png

1.16 MB
Loading

0 commit comments

Comments
 (0)