Quantcast

BIM question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

BIM question

biogas-1
I don't know if this is the appropriate place to post BIM related questions, but here I go.  

I generated a mesh using gmsh:

Point(1) = {0, 0, 0, 0.001};
Point(2) = {0.001, 0, 0, 0.001};
Point(3) = {0, 0.001, 0, 0.001};
Point(4) = {-0.001, 0, 0, 0.001};
Point(5) = {0, -0.001, 0, 0.001};

Circle(1) = {4, 1, 3};
Circle(2) = {3, 1, 2};
Circle(3) = {2, 1, 5};
Circle(4) = {5, 1, 4};
Line Loop(5) = {3, 4, 1, 2};
Plane Surface(6) = {5};
Extrude {0, 0, 0.002} {
  Surface{6};
}

I then executed the following commands and got the following output:

[meshy] = msh2m_gmsh("cylinder-media");
[meshy] = bim3c_mesh_properties(meshy);
error: msh3m_geometrical_properties: A(I,J): row index out of bounds; value 3 out of bound 2
error: called from:
error:   /Users/johns/Library/octave/msh3m_geometrical_properties.m at line 66, column 6
error:   /Users/johns/Library/octave/bim3c_mesh_properties.m at line 44, column 51

Any guess what I am doing wrong?  Thanks.

-John
Hefty, hefty, hefty!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: BIM question: solved

biogas-1
I was using the wrong routine.  When I do:

[meshy] = msh3m_gmsh("cylinder-media");
[meshy] = bim3c_mesh_properties(meshy);

then it works.  Sorry for the silly error.

-John
Hefty, hefty, hefty!
Loading...