Comments (6)
Do you mean using tetrahedrons or wedge/hexahedrons?
from mtex2gmsh.
Hello @jdavidgg01,
In case you are interested, I have just added a 'Layers' option for meshing (1cc69be). For instance, if you want 3 wedge elements in thickness (instead of 1):
G.mesh(file.msh, 'Layers', 3)
Does this comply with your needs?
from mtex2gmsh.
Yes Dorian, that is exactly what i'm looking for, but i'm trying to run your updated code with the layers option but Matlab is giving me this error:
Not enough input arguments.
Error in mesh (line 99)
[,,fext] = fileparts(filepath);
I don't know if i'm doing something wrong?
Regards
from mtex2gmsh.
Are you sure you have updated MTEX2Gmsh to the latest commit?
from mtex2gmsh.
Oh, I have just noticed I have forgotten the quotes around the file name:
G.mesh('file.msh', 'Layers', 3)
Alternatively, you can try:
mesh(G, 'file.msh', 'Layers', 3)
from mtex2gmsh.
Now is working Dorian, thank you so much!
from mtex2gmsh.
Related Issues (18)
- Documentation HOT 6
- [need some help] mesh-command fails HOT 2
- issues with MTEX2Prisms HOT 7
- Image meshing HOT 1
- how to plot the output from Quadrature file. HOT 3
- Create edges between nodes in Z direction HOT 1
- [need some help] gmshGeo fails HOT 3
- Running MTEX2Gmsh on macOS Ventura 13.3.1 HOT 8
- Gradient option does not work in 2D
- medium with an ODF reflecting the bulk texture HOT 7
- matlab warnings HOT 3
- Paper revisions HOT 2
- Paper review HOT 5
- Incoherent Elements at grain boundaries HOT 10
- [help wanted] Creating phase groups HOT 1
- Physical Surface when meshing in 2D HOT 3
- Add a 'medium' contour to a 2D mesh HOT 6
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 mtex2gmsh.