Simulation of solid and structure mechanics problems. The code uses open source Eigen3 library for matrix multiplications, linear algebra and solving linear system of equations. Eigen-Documentation.
- Switched solvers from iterative to direct solver (LU based) to maintain stability in code.
To compile the code, invoke the call to Makefile i.e. by simply typing “make -jN” in command line.
- The
-jis the jobs tag i.e. give directive to compiler for parallel build. Nis the number of parallel jobs to run, this depends on the total threads and cores of user’s CPU.- To Remove all object and executable files from main directory : make clean
- For more inforamation about make options, use syntax : make help
To run the code, go to directory contining mesh and JSON files then run excutable : PATH-TO-MPS-Product-Dev/RunCode
-
The code needs a total of 3 JSON input files i.e.
solver,boundaryandparts.solver.jsoncontains the inputs for solver, equations and material properties of the domain.boundary.jsonfile contains the boundary conditions {Dirichlet, Neumann, Initial} defined as per the problem by user.parts.jsoncontain all the subsequent parts of the whole domain {Multibody problems}.partsinput must be defined for each problem even for non multibody problems.
-
Read the Documentation for inputs JSON file format.