Skip to content

shuban-789/OpenMATRIX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMATRIX

Intro

Waffle is a lightweight framework designed for multiphysics research involving micro-architectures. It can generate 2D finite element meshes by simulating particles within a domain using circles. The framework automates mesh generation based on provided parameters and can produce graphs according to user specifications. To run it, the only required inputs are the analysis to perform, a set of dataset parameters, and a configured JSON input file.

The setup supports running the software through the use of a makefile. Once you have input.json configured, run your study through the make command.

make # run study
make clean # clean files

Input

{
    "cycles":  50,
    "layout":  [4, 4],
    "size":  0.01,
    "circles":  10,
    "ramp_circles":  true,
    "ramp_circles_params":  {
        "start":  3,
        "step":  2
    },
    "randomized_max_radius":  0.5,
    "distribution":  "gaussian",
    "set_circle_radius":  0.5,
    "mesh_element_size":  0.1,
    "randomized_radius":  true,
    "min_fraction_inside":  0.2,
    "create_mesh_files":  false,
    "model_form":  "plot"
}
  • Distribution field can be changed to uniform
  • Model form fieldd can be changed to histogram
  • The fiield set_circle_radius does NOT apply if randomized_radius is set to true

Docker

If you do not have the fenics environment setup on your host, you may use a Docker image to run this code. Just run the code below as follows after pulling the dolfinx enviornment container.

sudo docker run -it --rm -v "$(pwd)":/workspace:z dolfinx/dolfinx:v0.6.0

About

A modular simulation framework built for multiphysics research working with microarchitectures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published