Closed ashwathsv closed 2 years ago
Take a look in the folder AMReX-Hydro/Redistribution ... specifically look at Redistribution::Apply(..) in hydro_redistribution.cpp
That routine takes a flag "redistribution_type" that allows you to select between FluxRedistribution and StateRedistribution ...
Best, Ann
On Thu, Jan 20, 2022 at 2:17 PM ashwathsv @.***> wrote:
Hi all,
I have an embedded boundary code for compressible flows based on the FCT algorithm and using flux redistribution to overcome the small cell issue. The structure of the code is adapted from the EB_CNS test case on the AMReX repository. I wanted to add an option for the new state redistribution algorithm since it is a postprocessing step offering greater accuracy at cut cells.
How would you suggest approaching this problem? Which functions from the AMReX-Hydro module would be useful to look into? Thanks in advance!
— Reply to this email directly, view it on GitHub https://github.com/AMReX-Codes/AMReX-Hydro/issues/58, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRE6YQJIPIMHWUMSM4PFTLUXCCWXANCNFSM5MN6NAJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Ann Almgren Senior Scientist; Acting Dept Head, Applied Mathematics Pronouns: she/her/hers
Thanks for your reply! I will look at these routines for my implementation.
Hi all,
I have an embedded boundary code for compressible flows based on the FCT algorithm and using flux redistribution to overcome the small cell issue. The structure of the code is adapted from the EB_CNS test case on the AMReX repository. I wanted to add an option for the new state redistribution algorithm since it is a postprocessing step offering greater accuracy at cut cells.
How would you suggest approaching this problem? Which functions from the AMReX-Hydro module would be useful to look into? Thanks in advance!