{"action":"created","issue":{"url":"https://api.github.com/repos/mfem/mfem/issues/626","repository_url":"https://api.github.com/repos/mfem/mfem","labels_url":"https://api.github.com/repos/mfem/mfem/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/mfem/mfem/issues/626/comments","events_url":"https://api.github.com/repos/mfem/mfem/issues/626/events","html_url":"https://github.com/mfem/mfem/issues/626","id":368840273,"node_id":"MDU6SXNzdWUzNjg4NDAyNzM=","number":626,"title":"Boundary conditions for Euler equations","user":{"login":"delcmo","id":4702986,"node_id":"MDQ6VXNlcjQ3MDI5ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/4702986?v=4","gravatar_id":"","url":"https://api.github.com/users/delcmo","html_url":"https://github.com/delcmo","followers_url":"https://api.github.com/users/delcmo/followers","following_url":"https://api.github.com/users/delcmo/following{/other_user}","gists_url":"https://api.github.com/users/delcmo/gists{/gist_id}","starred_url":"https://api.github.com/users/delcmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delcmo/subscriptions","organizations_url":"https://api.github.com/users/delcmo/orgs","repos_url":"https://api.github.com/users/delcmo/repos","events_url":"https://api.github.com/users/delcmo/events{/privacy}","received_events_url":"https://api.github.com/users/delcmo/received_events","type":"User","site_admin":false},"labels":[{"id":541316018,"node_id":"MDU6TGFiZWw1NDEzMTYwMTg=","url":"https://api.github.com/repos/mfem/mfem/labels/examples%20&%20miniapps","name":"examples & miniapps","color":"1d76db","default":false},{"id":541315867,"node_id":"MDU6TGFiZWw1NDEzMTU4Njc=","url":"https://api.github.com/repos/mfem/mfem/labels/fem","name":"fem","color":"05fafb","default":false}],"state":"open","locked":false,"assignee":{"login":"jdahm","id":68032,"node_id":"MDQ6VXNlcjY4MDMy","avatar_url":"https://avatars3.githubusercontent.com/u/68032?v=4","gravatar_id":"","url":"https://api.github.com/users/jdahm","html_url":"https://github.com/jdahm","followers_url":"https://api.github.com/users/jdahm/followers","following_url":"https://api.github.com/users/jdahm/following{/other_user}","gists_url":"https://api.github.com/users/jdahm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdahm/subscriptions","organizations_url":"https://api.github.com/users/jdahm/orgs","repos_url":"https://api.github.com/users/jdahm/repos","events_url":"https://api.github.com/users/jdahm/events{/privacy}","received_events_url":"https://api.github.com/users/jdahm/received_events","type":"User","site_admin":false},"assignees":[{"login":"jdahm","id":68032,"node_id":"MDQ6VXNlcjY4MDMy","avatar_url":"https://avatars3.githubusercontent.com/u/68032?v=4","gravatar_id":"","url":"https://api.github.com/users/jdahm","html_url":"https://github.com/jdahm","followers_url":"https://api.github.com/users/jdahm/followers","following_url":"https://api.github.com/users/jdahm/following{/other_user}","gists_url":"https://api.github.com/users/jdahm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdahm/subscriptions","organizations_url":"https://api.github.com/users/jdahm/orgs","repos_url":"https://api.github.com/users/jdahm/repos","events_url":"https://api.github.com/users/jdahm/events{/privacy}","received_events_url":"https://api.github.com/users/jdahm/received_events","type":"User","site_admin":false},{"login":"tzanio","id":1278247,"node_id":"MDQ6VXNlcjEyNzgyNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1278247?v=4","gravatar_id":"","url":"https://api.github.com/users/tzanio","html_url":"https://github.com/tzanio","followers_url":"https://api.github.com/users/tzanio/followers","following_url":"https://api.github.com/users/tzanio/following{/other_user}","gists_url":"https://api.github.com/users/tzanio/gists{/gist_id}","starred_url":"https://api.github.com/users/tzanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzanio/subscriptions","organizations_url":"https://api.github.com/users/tzanio/orgs","repos_url":"https://api.github.com/users/tzanio/repos","events_url":"https://api.github.com/users/tzanio/events{/privacy}","received_events_url":"https://api.github.com/users/tzanio/received_events","type":"User","site_admin":false},{"login":"vladotomov","id":17843342,"node_id":"MDQ6VXNlcjE3ODQzMzQy","avatar_url":"https://avatars0.githubusercontent.com/u/17843342?v=4","gravatar_id":"","url":"https://api.github.com/users/vladotomov","html_url":"https://github.com/vladotomov","followers_url":"https://api.github.com/users/vladotomov/followers","following_url":"https://api.github.com/users/vladotomov/following{/other_user}","gists_url":"https://api.github.com/users/vladotomov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladotomov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladotomov/subscriptions","organizations_url":"https://api.github.com/users/vladotomov/orgs","repos_url":"https://api.github.com/users/vladotomov/repos","events_url":"https://api.github.com/users/vladotomov/events{/privacy}","received_events_url":"https://api.github.com/users/vladotomov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-10-10T20:31:37Z","updated_at":"2018-10-15T11:05:31Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI want to implement boundary conditions for Euler equations. I was able to implement some reflective boundary conditions by duplicating and modifying `FaceIntegrator::AssembleFaceVector` to be `BdrIntegrator::AssembleFaceVector` and calling `A.AddBdrFaceIntegrator(new BdrIntegrator(rsolver, dim));` in ex18.cpp.\r\n\r\nLet us assume one want to specify inlet and outlet conditions, how do I pass the inlet and outlet values to `BdrIntegrator::AssembleFaceVector` in an efficient manner, to be used in the approximate Riemann solver? Also, how do I differentiate inlet from outlet boundaries when calling `A.AddBdrFaceIntegrator(new BdrIntegrator(rsolver, dim));`?\r\n\r\nThanks,\r\n\r\nMarco"},"comment":{"url":"https://api.github.com/repos/mfem/mfem/issues/comments/429807183","html_url":"https://github.com/mfem/mfem/issues/626#issuecomment-429807183","issue_url":"https://api.github.com/repos/mfem/mfem/issues/626","id":429807183,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTgwNzE4Mw==","user":{"login":"vikramsg","id":13407380,"node_id":"MDQ6VXNlcjEzNDA3Mzgw","avatar_url":"https://avatars1.githubusercontent.com/u/13407380?v=4","gravatar_id":"","url":"https://api.github.com/users/vikramsg","html_url":"https://github.com/vikramsg","followers_url":"https://api.github.com/users/vikramsg/followers","following_url":"https://api.github.com/users/vikramsg/following{/other_user}","gists_url":"https://api.github.com/users/vikramsg/gists{/gist_id}","starred_url":"https://api.github.com/users/vikramsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikramsg/subscriptions","organizations_url":"https://api.github.com/users/vikramsg/orgs","repos_url":"https://api.github.com/users/vikramsg/repos","events_url":"https://api.github.com/users/vikramsg/events{/privacy}","received_events_url":"https://api.github.com/users/vikramsg/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T11:05:31Z","updated_at":"2018-10-15T11:05:31Z","author_association":"NONE","body":"```\r\nb = new ParLinearForm(fes);\r\nArray<int> bdr_char(pmesh->bdr_attributes.Max());\r\nbdr_char = 0; bdr_char[1] = 1;\r\nb->AddBdrFaceIntegrator(\r\n           new DG_Euler_Characteristic_Integrator(\r\n              R_gas, gamm, u_vec, f_vec, u_char_bnd, -1.0), bdr_char);\r\n```\r\n\r\nI do it something like this, although it is not in fact a linear form. If boundary number 1 is the characteristic boundary, the above boundary face integrator only acts on that boundary, so for each boundary you can create a separate boundary marker that will be 1 only for that type of boundary. "}}
{"actor":{"display_login":"vikramsg"}}