{"id":20637469,"url":"https://github.com/amilkyboi/euler","last_synced_at":"2025-05-10T07:30:41.120Z","repository":{"id":189156641,"uuid":"680155762","full_name":"nategphillips/euler","owner":"nategphillips","description":"A two-dimensional Euler solver for internal flows written in Fortran.","archived":false,"fork":false,"pushed_at":"2024-07-08T15:55:07.000Z","size":454,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T18:19:10.278Z","etag":null,"topics":["aerospace-engineering","cfd","fortran"],"latest_commit_sha":null,"homepage":"","language":"Fortran","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/nategphillips.png","metadata":{"files":{"readme":"README.md","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":"2023-08-18T13:27:34.000Z","updated_at":"2024-12-22T02:26:38.000Z","dependencies_parsed_at":"2023-08-18T14:57:17.871Z","dependency_job_id":"37ea1ebb-ef03-4c18-915a-c059e5adf7a1","html_url":"https://github.com/nategphillips/euler","commit_stats":null,"previous_names":["amilkyboi/euler","nategphillips/euler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nategphillips%2Feuler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nategphillips%2Feuler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nategphillips%2Feuler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nategphillips%2Feuler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nategphillips","download_url":"https://codeload.github.com/nategphillips/euler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253379420,"owners_count":21899252,"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":["aerospace-engineering","cfd","fortran"],"created_at":"2024-11-16T15:14:40.125Z","updated_at":"2025-05-10T07:30:40.934Z","avatar_url":"https://github.com/nategphillips.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# euler\n\n\u003e *Last Updated: 30 August 2023*\n\nA 2-D Euler solver for internal flows written in Fortran.\n\n## Background\n\nThis code solves the 2-D Euler equations,\n\n$\\frac{\\partial q}{\\partial t} + \\frac{\\partial f}{\\partial x} + \\frac{\\partial g}{\\partial y} = 0,$\n\nwhere the state and flux vectors are written in conservative variable form, i.e.\n\n```math\nq = \\begin{Bmatrix} \\rho \\\\ \\rho u \\\\ \\rho v \\\\ \\rho E \\end{Bmatrix}, \\quad f = \\begin{Bmatrix} \\rho u \\\\ \\rho u^2 + p \\\\ \\rho uv \\\\ \\rho Hu \\end{Bmatrix}, \\quad\\text{and}\\quad g = \\begin{Bmatrix} \\rho \\\\ \\rho uv \\\\ \\rho v^2 + p \\\\ \\rho Hv \\end{Bmatrix}.\n```\n\n## Features\n\nModels both subsonic and supersonic flow; however, supersonic inlet conditions are not yet supported (see roadmap).\n\nBoth an algebraic and elliptic grid generation algorithm are included - therefore only structured grids are supported.\n\n## Example Simulation\n\nA channel flow simulated using:\n\n- $(i_\\text{max}, j_\\text{max}) = (201, 41)$\n- $M_\\infty = 0.7$\n- $\\nu_2 = 0.3$\n- $\\nu_4 = 0.003$\n- $p_\\text{exit} = 0.8\\cdot{}p_\\infty$\n- $\\alpha = 0$\n- $\\varepsilon = 1\\times10^{-8}$\n- $\\text{CFL} = 1$\n\nSolution:\n![example solution](img/sol.webp)\n\nResidual:\n![example residual](img/res.webp)\n\nForce:\n![example force](img/frc.webp)\n\n## Roadmap\n\n- [x] verify that the code works for mach 0.3, 0.5, 0.7\n- [x] verify grid independence of solutions\n- [x] implement force calculations across bottom of the domain\n- [ ] add support for supersonic inlet conditions\n- [ ] extend support for different domains (i.e. nozzles)\n- [ ] add support for Tecplot videos\n- [ ] add support for other plotting software (since Tecplot is paywalled)\n- [ ] couple with method of characteristics design tool\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Familkyboi%2Feuler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Familkyboi%2Feuler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Familkyboi%2Feuler/lists"}