|
[Sponsors] |
April 5, 2022, 08:52 |
Create axisymmetric disk in gmsh
|
#1 |
New Member
Join Date: Mar 2022
Posts: 24
Rep Power: 4 |
Hello to all,
I would like to create an axisymmetric disk in gmsh to import into OF that is dependent upon a certain revolution angle. Something like this: https://i.ibb.co/s2hpkLp/Screenshot-...-05-124918.png So far I have: Code:
r1 = 0.1; height = 0.5; r2 = 1; h2 = 0.05; dx = r1/2; //+ Point(1) = {0, 0, 0, dx}; Point(2) = {0, height, 0, dx}; Point(3) = {r1, height, 0, dx}; Point(4) = {r1, h2, 0, dx}; Point(5) = {r2, h2, 0, dx}; Point(6) = {r2, 0, 0, dx}; Line(1) = {1, 2}; Line(2) = {2, 3}; Line(3) = {3, 4}; Line(4) = {4, 5}; Line(5) = {5, 6}; Line(6) = {6, 1}; Line Loop(7) = {1, 2, 3, 4, 5, 6}; Plane Surface(8) = {7}; Extrude {{0, 1, 0}, {0, 1, 0}, Pi/2} { Surface{8}; } However, I cannot produce a geometry with more than 90º. Can anyone give me some input on how to create the whole geometry? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create a 2D boundary layer in gmsh? | Time4Tea | Main CFD Forum | 11 | November 10, 2021 09:36 |
actuator disk | Atit | CFX | 9 | July 26, 2016 10:39 |
[GAMBIT] How to plot S pipe | mariam.sara | ANSYS Meshing & Geometry | 36 | November 7, 2013 16:22 |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 10:03 |
[GAMBIT] Periodic BC | truffaldino | ANSYS Meshing & Geometry | 4 | June 5, 2011 07:39 |