|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 12 ![]() |
Hello everyone,
I am working with Gmsh and quite new in it. I am trying to create a simple cylindrical tube. I successfully run the script but get a syntax error for Physical Volume. Here is the code: ************************ lc = 0.1; D = 1; Point(1) = {0, 0, 0, lc}; Point(2) = {D/2, 0, 0, lc}; Point(3) = {-D/2, 0, 0, lc}; Point(4) = {0, 0, D/2, lc}; Point(5) = {0, 0, -D/2, lc}; Circle(1) = {2, 1, 5}; Circle(2) = {5, 1, 3}; Circle(3) = {3, 1, 4}; Circle(4) = {4, 1, 2}; Curve Loop (1) = {1, 2, 3, 4}; Plane Surface (1) = {1}; Rotate {{0, 0, 1}, {0, 0, 0}, -Pi/4} { Surface{1}; } Volume(1) = Extrude {Sqrt(2)/2*20*D, Sqrt(2)/2*20*D, 0} {Surface{1};} Physical Volume (1) = {1}; Mesh 3; ************************ Here is the error: line 20: syntax error (Physical) Any help is appreciated Thank you |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh does not ouput SU2 markers from physical surfaces | stewels | SU2 | 4 | May 17, 2023 05:15 |
[Gmsh] Nasa Nozzle: Plot 3D -->gmsh -->fluent - no physical groups | Nico89 | OpenFOAM Meshing & Mesh Conversion | 1 | June 14, 2016 05:40 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |