|
[Sponsors] |
[GMSH] Issues with importing 3D mesh of T-junction geometry into MATLAB |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2021, 17:21 |
[GMSH] Issues with importing 3D mesh of T-junction geometry into MATLAB
|
#1 |
New Member
Manny Guzman
Join Date: Feb 2021
Posts: 2
Rep Power: 0 |
Hello,
I have created a 3D geometry on GMSH (v. 4.5.6) software that resembles a T-junction with fluid flowing from both the side and the center inlet to the outlet at the end of the channel. I created the geometry using points and lines, as well as defining plane surfaces and one volume. I have my geometry file attached (Tjunctiongeo.txt). When I construct a 3D mesh and upload it to MATLAB using the importMeshGMSH routine provided by QuickerSim (routine code attached below), I get the following error: "Unable to perform assignment because the size of the left side is 3-by-74930 and the size of the right side is 3-by-73290." Error in importMeshGmsh (line 308) e(1:3, = tmp(tmp(:,2)==2,6:8)'; The 'e' matrix defines all of the mesh boundaries. I have tried to redefine the mesh at specific points, ensure that the mesh file version is compatible with the matlab software (2.2), but I still cannot seem to find where the problem is with the mesh generation. I have the option file attached with information on the mesh and the geometry. I'd appreciate it if someone can guide me on where the problem may be? I think it could be with how I also define my surfaces, but I am unsure. Thank you. Tjunctiongeo.txt Tjunctionoptions.txt Tjunction.jpg |
|
February 8, 2021, 17:25 |
[edit]
|
#2 |
New Member
Manny Guzman
Join Date: Feb 2021
Posts: 2
Rep Power: 0 |
|
|
Tags |
gmsh, mesh 3d, quickersim |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 11:09 |