Giter Club home page Giter Club logo

Comments (6)

DorianDepriester avatar DorianDepriester commented on June 12, 2024

Do you mean using tetrahedrons or wedge/hexahedrons?

from mtex2gmsh.

DorianDepriester avatar DorianDepriester commented on June 12, 2024

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.

jdavidgg01 avatar jdavidgg01 commented on June 12, 2024

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.

DorianDepriester avatar DorianDepriester commented on June 12, 2024

Are you sure you have updated MTEX2Gmsh to the latest commit?

from mtex2gmsh.

DorianDepriester avatar DorianDepriester commented on June 12, 2024

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.

jdavidgg01 avatar jdavidgg01 commented on June 12, 2024

Now is working Dorian, thank you so much!

from mtex2gmsh.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.