Skip to content

Commit

Permalink
fix moving wall solver in delta form
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Nov 18, 2024
1 parent c01b583 commit 6041c07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exec/multispec/AdvanceTimestepBousq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void AdvanceTimestepBousq(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down Expand Up @@ -707,7 +707,7 @@ void AdvanceTimestepBousq(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down
4 changes: 2 additions & 2 deletions exec/multispec/AdvanceTimestepInertial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ void AdvanceTimestepInertial(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down Expand Up @@ -598,7 +598,7 @@ void AdvanceTimestepInertial(std::array< MultiFab, AMREX_SPACEDIM >& umac,
// set normal velocity of physical domain boundaries
MultiFabPhysBCDomainVel(umac[i],geom,i);
// set transverse velocity behind physical boundaries
int is_inhomogeneous = 1;
int is_inhomogeneous = 0;
MultiFabPhysBCMacVel(umac[i],geom,i,is_inhomogeneous);
// fill periodic and interior ghost cells
umac[i].FillBoundary(geom.periodicity());
Expand Down

0 comments on commit 6041c07

Please sign in to comment.