{"id":21572066,"url":"https://github.com/zingale/hydro1d","last_synced_at":"2026-01-04T00:34:19.854Z","repository":{"id":21118139,"uuid":"24418808","full_name":"zingale/hydro1d","owner":"zingale","description":"A simple 1-d hydrodynamics code written in Fortran 95","archived":false,"fork":false,"pushed_at":"2024-08-13T13:34:53.000Z","size":274,"stargazers_count":15,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-24T13:11:15.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://zingale.github.io/hydro1d/","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zingale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2014-09-24T14:42:17.000Z","updated_at":"2024-08-13T13:34:57.000Z","dependencies_parsed_at":"2024-08-13T16:24:48.105Z","dependency_job_id":null,"html_url":"https://github.com/zingale/hydro1d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingale%2Fhydro1d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingale%2Fhydro1d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingale%2Fhydro1d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zingale%2Fhydro1d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zingale","download_url":"https://codeload.github.com/zingale/hydro1d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166762,"owners_count":20409180,"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-11-24T11:18:06.773Z","updated_at":"2026-01-04T00:34:19.829Z","avatar_url":"https://github.com/zingale.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hydro1d \n\n*A Fortran 95 1-d hydrodynamics code*\n\nhttp://zingale.github.io/hydro1d/\n\n\nImportant: this project is no longer developed.  It has largely been\nreplaced by a python implementation of PPM: https://zingale.github.io/ppmpy/\n\n\n## About\n\n`hydro1d` is a simple one-dimensional finite-volume Eulerian\nhydrodynamics code that implements piecewise constant, piecewise\nlinear, and piecewise parabolic (PPM) reconstruction, and supports\nboth Cartesian and spherical geometries.\n\nIt is written in modern Fortran (a F2003+ compiler is needed).\n\nAt the moment, a constant-gamma equation of state is assumed.\n\n\n## Problems\n\nIndividual problems are built in subdirectories.  For example,\nto build and run the Sod shock tube problem, do:\n\n* `cd hydro1d/sod`\n\n* `make`\n\n* `./hydro1d inputs-sod-xp`\n\nAs the code is built, object files and modules will be output into the\n`_build` subdirectory.  `make realclean` will clean up the objects.\nThings are setup for gfortran by default -- you will need to edit the\n`Ghydro.mak` with different options for different compilers.  Some bits\nof Fortran 2003 and 2008 are used, so an up-to-date compiler is\nneeded.\n\n\n## Runtime Parameters\n\nA number of runtime options can be specified -- look in `params.f90`\nfor the available runtime parameters.  These are set in a namelist in\nthe inputs file.  Problems can specify their own runtime parameters\n(with a `probparams.f90` in the problem directory).  These have a\nseparate namelist in the same inputs file.  See the sod problem for\nexamples.\n\n\n## Development\n\n * The PPM implementation should be synced up to what was done in \n   Castro's PPM -- in particular, support for using the reference\n   state in the eigenvectors\n\n * The boundary filling stuff should be generalized so we can use the\n   same logic for gravity as for the main conserved state.\n\n * The monopole gravity is not quite right for the conservative update.\n   We need to time-center the gravitational acceleration.\n   \n * We do not trace under the geometry or gravity source terms in the\n   interface state construction\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingale%2Fhydro1d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzingale%2Fhydro1d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzingale%2Fhydro1d/lists"}