0

Mesh is truncated-Meshmaker v 1.5

Hello everyone. I am trying to create a mesh, R=200m and Z = -190m. It has multiple layers. I have added all the info and the file runs, but the mesh is created only up to a depth of -94m and no more.

 

I have tried recreating the file, changing decimal and shifting spaces, but the result remains the same. I am stuck here

Moreover, the names of the heterogenous regions are not written to the file in the truncated mesh, which is also perplexing.

I am attaching my Meshmaker file(MYFILE) and resulting Mesh(MESH) both here. Please help

8 replies

null
    • kenny
    • 1 yr ago
    • Reported - view

    I do not have Meshmaker V1.5, but I try it with tough2 (slight format adjust). I seems work OK. 

      • Castleberry
      • 1 yr ago
      • Reported - view

       Can you attach the input file? Or try with meshmaker V 1.5

      Link:

      https://tough.lbl.gov/assets/files/02/licensing/MeshMaker.zip

      • Castleberry
      • 1 yr ago
      • Reported - view

       The Mesh you attached has zero volume for all elements and you can se that the material ID is also not changing. Hence the mesh is not actually representing what is intended here.

    • kenny
    • 1 yr ago
    • Reported - view

    The Maehmaker allows default maximum number of layers is 200. You have 348 layers. You need modify the source codes for the array H size:  from H(200) to H(1000) at line 1981 and 2238. 

      • Castleberry
      • 1 yr ago
      • Reported - view

       oh...thanks for this crucial info Kenny. Can you also tell me how to compile the source code to make an executable once I make changes in the source code.

      • kenny
      • 1 yr ago
      • Reported - view

       IF you have a Fortran compiler installed in your computer systme, it is simple as the meshmaker has only a single source file. Just type:  compilerName sourceFileName ( eg.  "ifort  MeshMaker.f90", or "gfortran MeshMaker.f90").

      • Castleberry
      • 1 yr ago
      • Reported - view

      thank you so much for this detailed info

    • Castleberry
    • 10 mths ago
    • Reported - view

     I was able to compile executable after making changes in code using Gfortran compiler.

    however now I am trying to execute the command MM.exe<Test.dat using MATLAB for automation like this system(MM.exe<Test.dat) but I am unable to pass this unlike the original Executable which would recieve this command through MATLAB.

    I think I am missing some Fortran DLL or something which needs to be packaged with the executable. Can you provide more info on how to solve this problem

Content aside

  • 10 mths agoLast active
  • 8Replies
  • 52Views
  • 2 Following