|
[Sponsors] |
November 23, 2015, 06:10 |
Gmsh physical line and .msh
|
#1 |
New Member
Chacha blabla
Join Date: Nov 2015
Posts: 1
Rep Power: 0 |
Hi all,
I've got a problem with gmsh with this code Code:
Point(1) = {-1, -0.8, 0, 0.3}; Point(2) = {0.3, -0.8, 0, 0.3}; Point(3) = {0.3, 0.3, 0, 0.3}; Point(4) = {-1, 0.3, 0, 0.3}; Line(1) = {1, 2}; Line(2) = {2, 3}; Line(3) = {3, 4}; Line(4) = {4, 1}; Line Loop(5) = {4, 1, 2, 3}; Plane Surface(6) = {5}; Physical Line("test")={4}; Code:
$MeshFormat 2.2 0 8 $EndMeshFormat $PhysicalNames 1 1 1 "test" $EndPhysicalNames $Nodes 5 1 -1 -0.8 0 2 -1 0.3 0 3 -1 0.02500000000071845 0 4 -1 -0.2499999999984228 0 5 -1 -0.5249999999991237 0 $EndNodes $Elements 4 1 1 2 1 4 2 3 2 1 2 1 4 3 4 3 1 2 1 4 4 5 4 1 2 1 4 5 1 $EndElements Do you have an idea about that? Thanks for your help! |
|
November 23, 2015, 09:10 |
|
#2 |
Senior Member
|
Hi,
And what is the problem (or should we call it difficulty?)? Gmsh did as you said to it: created 2D mesh and 1D physical group with name test. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh 4 compatibility with gmshToFoam | gridley2 | OpenFOAM Pre-Processing | 1 | January 14, 2019 14:06 |
[Gmsh] Nasa Nozzle: Plot 3D -->gmsh -->fluent - no physical groups | Nico89 | OpenFOAM Meshing & Mesh Conversion | 1 | June 14, 2016 06:40 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview | zhernadi | OpenFOAM Meshing & Mesh Conversion | 8 | July 7, 2011 03:28 |
[Gmsh] Converting curved surfaces problem | markdowlinguk | OpenFOAM Meshing & Mesh Conversion | 4 | August 2, 2007 09:05 |