{"action":"created","issue":{"url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/17","repository_url":"https://api.github.com/repos/AMReX-Codes/IAMR","labels_url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/17/comments","events_url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/17/events","html_url":"https://github.com/AMReX-Codes/IAMR/issues/17","id":320628943,"number":17,"title":"Questions about where to use the FORT_XVELFILL and FORT_PRESFILL in the source codes?","user":{"login":"ruihai0925","id":30739800,"avatar_url":"https://avatars0.githubusercontent.com/u/30739800?v=4","gravatar_id":"","url":"https://api.github.com/users/ruihai0925","html_url":"https://github.com/ruihai0925","followers_url":"https://api.github.com/users/ruihai0925/followers","following_url":"https://api.github.com/users/ruihai0925/following{/other_user}","gists_url":"https://api.github.com/users/ruihai0925/gists{/gist_id}","starred_url":"https://api.github.com/users/ruihai0925/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruihai0925/subscriptions","organizations_url":"https://api.github.com/users/ruihai0925/orgs","repos_url":"https://api.github.com/users/ruihai0925/repos","events_url":"https://api.github.com/users/ruihai0925/events{/privacy}","received_events_url":"https://api.github.com/users/ruihai0925/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-06T21:14:21Z","updated_at":"2018-05-08T21:43:05Z","closed_at":null,"author_association":"NONE","body":"Hello all,\r\n\r\nI am struggling with the boundary conditions. I try to understand **where the source codes use the FORTRAN subroutine FORT_XVELFILL and FORT_PRESFILL.** \r\n\r\nHere are my thoughts.\r\n\r\nAs a lid-driven example, the physical boundary condition is non-slip and it changes to the EXT_DIR mathematical boundary condition both for normal velocity and tangential velocity.  Here https://github.com/AMReX-Codes/IAMR/blob/56efa2ce53539acf3aa3a355ced05690eba7cd02/Source/NS_setup.cpp#L186\r\nBndryFunc(FORT_XVELFILL) is set.  The FORT_XVELFILL, in this case, is useful since the x velocity should always be 1 in the upper boundary condition along the y-direction.\r\n\r\nGuided by my intuition, I think every time-advancing or Poisson solving, this subroutine should be used to reset the boundary velocity. But I just do not know **where and how the source code (AMReX and IAMR) use this subroutine?**\r\n\r\nThanks so much.\r\n\r\nJordan"},"comment":{"url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/comments/387551906","html_url":"https://github.com/AMReX-Codes/IAMR/issues/17#issuecomment-387551906","issue_url":"https://api.github.com/repos/AMReX-Codes/IAMR/issues/17","id":387551906,"user":{"login":"ruihai0925","id":30739800,"avatar_url":"https://avatars0.githubusercontent.com/u/30739800?v=4","gravatar_id":"","url":"https://api.github.com/users/ruihai0925","html_url":"https://github.com/ruihai0925","followers_url":"https://api.github.com/users/ruihai0925/followers","following_url":"https://api.github.com/users/ruihai0925/following{/other_user}","gists_url":"https://api.github.com/users/ruihai0925/gists{/gist_id}","starred_url":"https://api.github.com/users/ruihai0925/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruihai0925/subscriptions","organizations_url":"https://api.github.com/users/ruihai0925/orgs","repos_url":"https://api.github.com/users/ruihai0925/repos","events_url":"https://api.github.com/users/ruihai0925/events{/privacy}","received_events_url":"https://api.github.com/users/ruihai0925/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T21:43:05Z","updated_at":"2018-05-08T21:43:05Z","author_association":"NONE","body":"@asalmgren Got it. I re-learned it from one of the tutorial examples so that when I write the codes, I can use the FillPatch operation.  Really interesting."}}
{"actor":{"display_login":"ruihai0925"}}