Comments (8)
Hi @NataCalc thanks for testing GIBBON and for posting this issue.
Are you able to share the STL file?
From your code I see you use:
V_regions=[0 0 0];
inputStruct.regionPoints=V_regions; %region points
The region point has to be an interior point for a certain mesh region. If you have n regions you need n interior points. Are you sure that the point with the coordinates 0,0,0
is inside your shape?
Consider using [F,V]=mergeVertices(F,V);
to merged nodes instead of the unique operation.
Are you using the most recent GIBBON version?
from gibbon.
Hi Kevin,
You were right! The region point was outside the convex hull. The problem is solved.
In my previous message, I enclosed stl file. You cannot see it?
I think I have version 3.
Thank you again,
NataCalc
from gibbon.
Great. Glad to have been of assistance.
from gibbon.
Hello guys !
I have a similar problem as @NataCalc used to have:
Warning:
C:\Users\Nicolas\Documents\MATLAB\GIBBON_matlab_toolboxes\GIBBON-9185c1c77299040b3b597ae43f553f432cfabd56\data\temp\temp.1.node
import unsuccesful
In importTETGEN (line 29)
In runTetGen (line 345)
I used the GIBBON function "getInnerPoint" and checked that the point was actually inside my geometry (which is a set of nodes and elements from an abaqus file using the element2patch function)
Any help would be greatly appreciated !!
Reagards,
Nicolas
from gibbon.
Hi @NicolasGrandinPerea thanks for your message. I need a bit more information.
Does tetgen create any other warning messages? Can you see if that node file is actually created? When you say elements from abaqus do you mean surface elements or solid elements? I cannot see your code but if you used element2patch
from solid elements then you get faces for the boundary as well as the interior. This example shows how to get just the boundary faces:
F_elements=element2patch(E); %All faces (including interior element faces)
indBoundaryFaces=tesBoundary(F_elements,V); %Indices for boundary faces
F_boundary=F_elements(indBoundaryFaces,:); %The boundary faces
You then get the interior point for this subset and run tetgen for these boundary faces.
Let me know how you get on.
from gibbon.
Hi @Kevin-Mattheus-Moerman
Thank you for your quick answer
Yes I have another error message:
--- Importing TetGen files --- 27-Aug-2019 23:30:32
Warning:
C:\Users\Nicolas\Documents\MATLAB\GIBBON_matlab_toolboxes\GIBBON-9185c1c77299040b3b597ae43f553f432cfabd56\data\temp\brain_mesh.1.node
import unsuccesful
In importTETGEN (line 29)
In runTetGen (line 345)
--- Done --- 27-Aug-2019 23:30:32
Error using copyfile
Cannot write to destination: C:\Users\Nicolas\Desktop\brain_mesh.smesh. Use the 'f' option to override.
Error in runTetGen (line 397)
copyfile(fileNameTemp,fileName);
A .smesh was actually created
I'm currently using solid elements (a .inp file I split into two pieces - one for the elements & one for the vertices)
I'll try example on my script !
Thanks again for your precious help !
from gibbon.
My script is linked below if you need.
I tried your method with using the boundary faces, however, it didn't work because the F_boundary hasn't the same dimension as F_elements:
--- Writing SMESH file --- 28-Aug-2019 14:27:58
----> Adding node field
----> Adding facet field
Error using horzcat
Dimensions of arrays being concatenated are not consistent.
Error in writeBasicSmesh (line 55)
F_field=[size(F,2).*ones(size(F,1),1) F faceBoundaryMarker(:)];
Error in runTetGen (line 259)
writeBasicSmesh(inputStruct);
Do you have any clue ?
from gibbon.
Apologies I was not being able to answer this in time. This issue seems stale now, and as such I'll close it, but let me know if you still have questions.
from gibbon.
Related Issues (20)
- Loading tempModel.feb from DEMO_febio_0050_foot_insole_01 HOT 5
- select patch HOT 4
- git clone https://github.com/DevProxTEAM/DevProx.git && cd DevProx;chmod +x DevProx.sh;./DevProx.sh install HOT 3
- Linux: Compiling geogram and tetgen for `ggremesh` and `runTetGen` HOT 2
- Error using builddocsearchdb HOT 2
- Adding Jamie Concannon to the GIBBON website HOT 1
- Editing BCs in an already existing .feb file HOT 5
- TetGen Test Fails HOT 6
- From 3D tetra mesh and data format To gridmesh format HOT 1
- Error on feb file creation (Unrecognized tag)
- smoothCurve HOT 2
- Holzapfel Gasser Ogden (HGO) HOT 7
- Error in febioStruct2xml HOT 3
- FEBio output initial state already, so adjustment to importFEBio_logfile needed HOT 1
- Rename sliceViewer HOT 3
- TetGen files import unsuccesful HOT 4
- Errors from using the Gibbon Code HOT 8
- Problems with Running Abaqus Milling Process HOT 3
- zsh:1: permission denied for HELP_runTetGen code on macbook
- Unit change in Gibbon simulation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gibbon.