Getting Started - GCMLab/GCMLab-FEM GitHub Wiki

Here's a brief run-down of how to get started using the program:

  1. Clone the repository

  2. Create a new model

    • Copy the file MasterConfigFile.m, located in the 'Config Files' folder.
    • Paste the file into the 'Config Files' folder and rename it.
    • Modify the files according to the desired model.
    • (Optional) For mesh import from GMSH, place the .msh file in the 'Config Files' folder.
  3. Modify the input in RunSim.m, located in the main folder

    • Ensure the config file directory is set: DirFolder = 'Config Files';
    • Modify the FileList variable to the name of the configuration file created in Step 2.
    • Modify the plot2vtk variable to enable(1)/disable(0) output of VTK files.
    • Modify the VTKFolder variable to the desired directory for output of the VTK Files for post-processing (only used if plot2vtk = 1).
  4. Run the function RunSim.m

  5. Open the VTK files in Paraview

For examples, check the tutorials!

⚠️ **GitHub.com Fallback** ⚠️