{"id":17908373,"url":"https://github.com/pseudotensor/vhd","last_synced_at":"2025-10-26T14:34:28.344Z","repository":{"id":148324322,"uuid":"59169362","full_name":"pseudotensor/vhd","owner":"pseudotensor","description":"Viscous Hydrodynamics (from McKinney \u0026 Gammie 2002)","archived":false,"fork":false,"pushed_at":"2016-05-19T03:04:00.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T20:17:44.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/pseudotensor.png","metadata":{"files":{"readme":"README","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":"2016-05-19T03:03:22.000Z","updated_at":"2016-05-19T03:04:01.000Z","dependencies_parsed_at":"2023-05-19T18:45:16.917Z","dependency_job_id":null,"html_url":"https://github.com/pseudotensor/vhd","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/pseudotensor%2Fvhd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudotensor%2Fvhd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudotensor%2Fvhd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudotensor%2Fvhd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pseudotensor","download_url":"https://codeload.github.com/pseudotensor/vhd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246945970,"owners_count":20859064,"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-28T19:15:40.772Z","updated_at":"2025-10-26T14:34:23.293Z","avatar_url":"https://github.com/pseudotensor.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"VHD: Viscous HydroDynamics\nby: Jonathan C. McKinney \u0026 Charles F. Gammie\n\nDescription:\n\nThis code evolves the equations of hydrodynamics including a viscous stress parameterized by alpha to simulate disk accretion around a black hole.\n\nCode:\n\nglobal.h : contains most global parameters to control the simulation, function declarations, etc.\n--: To change the problem size, datatype, viscous tensor components, terms to use in pressure/gravity function, turn on/off diagnostics, or add new function declarations\n\ndefs.h : contains definitions of variables\ntimestep1.h : timestep limiter calculations\ntimestep2.h : like (1) above, but no courant factor, for analysis of time scales\n===\nmain.c: main loop, runtime diagnostics\ninit.c: initializes the code\n--: analoutput chooses type of problem used in analsol.c, can turn on/off various physics terms, modify viscosity initialization, etc.\nanalsol.c: initializes the physics\n--: analsol.c contains the injection and torus IC, and all specific parameters to this problem setup\nstep.c: physics code\nsweep.c: advection code\ntimestep.c: timestep code\nbound.c: boundary value code\ndiag.c: diagnostics\nnumerics.c: numerical details, non-physics\nranc.c: numerical recipies randomizer\nutilfun.c: utility functions\n\n===\nExample compile and run:\n\nmake\ncd bin\n./twod\n\n===\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudotensor%2Fvhd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpseudotensor%2Fvhd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudotensor%2Fvhd/lists"}