{"id":17310999,"url":"https://github.com/johnrudge/compaction-code","last_synced_at":"2025-03-27T00:46:27.689Z","repository":{"id":213398784,"uuid":"466724926","full_name":"johnrudge/compaction-code","owner":"johnrudge","description":"Code to compute advection and compaction of a partially molten medium under simple shear.","archived":false,"fork":false,"pushed_at":"2024-02-05T09:27:01.000Z","size":289,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T06:27:00.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnrudge.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-06T12:04:09.000Z","updated_at":"2022-03-07T14:00:15.000Z","dependencies_parsed_at":"2024-02-05T10:48:04.568Z","dependency_job_id":null,"html_url":"https://github.com/johnrudge/compaction-code","commit_stats":null,"previous_names":["johnrudge/compaction-code"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrudge%2Fcompaction-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrudge%2Fcompaction-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrudge%2Fcompaction-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrudge%2Fcompaction-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnrudge","download_url":"https://codeload.github.com/johnrudge/compaction-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245761002,"owners_count":20667893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T12:39:15.530Z","updated_at":"2025-03-27T00:46:27.525Z","avatar_url":"https://github.com/johnrudge.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"README for compaction-code\n\nAim:\n====\nThis code computes advection and compaction in a porous medium under\nsimple shear. There is an option to run with a regular rectangular mesh, \nor with a mesh that has a circular torque-free inclusion.\n\nMore details can be found in the paper:\n\nAlisic L., Rudge J.F., Katz R.F., Wells G.N., Rhebergen S.\nCompaction around a rigid, circular inclusion in partially molten rock (2014)\nJ. Geophys. Res. Solid Earth 119:5903-5920\nhttp://dx.doi.org/10.1002/2013JB010906\n\nRunning:\n========\nrun using:\n\u003e python3 main.py param.cfg\n\nRequires: FEniCS 2019.1 (https://www.fenicsproject.org) and scipy\n\nContents:\n=========\n* main.py             : main code\n* analysis.py         : library of diagnostics and benchmark quantities\n* core.py             : library of core functions to deal with input and output of data, norms, etc\n* mesh_gen.py         : code that interfaces with gmsh to create a rectangular mesh with a cylinder\n* physics.py          : library of viscosity formulations and initial porosity fields\n* param.cfg           : list of run parameters, can be copied to local run directory\n* param_uniform_cylinder.cfg : list of run parameters for cylinder models with uniform initial porosity\n* param_planewave.cfg : list of run parameters for plane wave benchmark, no cylinder\n* param_perlin.cfg    : list of run parameters for initial noise case, no cylinder\n* param_random_cylinder.cfg  : list of run parameters for cylinder models with random initial porosity, read in from file\n\n\nCreating meshes and initial porosity fields:\n============================================\n* make_mesh.py         : create mesh, parameters provided in param_make_mesh.cfg\n* make_initial_porosity.py : create coarse initial porosity field on large mesh, parameters provided in \n  param_make_initial_porosity.cfg\n* interpolate_initial_porosity.py : interpolate coarse initial porosity field onto mesh used in numerical\n  simulation, parameters provided in param_interpolate_initial_porosity.cfg\n* param_make_mesh.cfg  : used by make_mesh.py\n* param_make_initial_porosity.cfg : used by make_initial_porosity.py\n* param_interpolate_initial_porosity.cfg : used by interpolate_initial_porosity.py\n* run_preprocessing.py : example of pre-processing workflow; adjust file paths as necessary.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnrudge%2Fcompaction-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnrudge%2Fcompaction-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnrudge%2Fcompaction-code/lists"}