Getting Started - GCMLab/GCMLab-FEM GitHub Wiki
Here's a brief run-down of how to get started using the program:
-
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.
-
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 ifplot2vtk = 1
).
- Ensure the config file directory is set:
-
Run the function RunSim.m
-
Open the VTK files in Paraview
For examples, check the tutorials!