AMReX-Hydro
AMReX-based hydro routines for low Mach number flows
 
Loading...
Searching...
No Matches
Utilities

Namespaces

namespace  HydroBC
 
namespace  HydroUtils
 

Macros

#define XVEL   0
 
#define YVEL   1
 
#define ZVEL   2
 

Functions

void HydroUtils::enforceInOutSolvability (const amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > &vels_vec, amrex::BCRec const *bc_type, const amrex::Vector< amrex::Geometry > &geom, bool include_bndry_corners=false)
 Enforces solvablity by scaling outflow to match with inflow.
 

Variables

static constexpr amrex::Real small_vel = amrex::Real(1.e-8)
 
static constexpr amrex::Real hydro_covered_val = amrex::Real(1.0e40)
 

Detailed Description

Macro Definition Documentation

◆ XVEL

#define XVEL   0

Index for the X velocity component.

◆ YVEL

#define YVEL   1

Index for the Y velocity component.

◆ ZVEL

#define ZVEL   2

Index for the Z velocity component.

Function Documentation

◆ enforceInOutSolvability()

void HydroUtils::enforceInOutSolvability ( const Vector< Array< MultiFab *, AMREX_SPACEDIM > > &  vels_vec,
const BCRec bc_type,
const Vector< Geometry > &  geom,
bool  include_bndry_corners 
)

Enforces solvablity by scaling outflow to match with inflow.

Here is the call graph for this function:

Variable Documentation

◆ hydro_covered_val

constexpr amrex::Real hydro_covered_val = amrex::Real(1.0e40)
staticconstexpr

◆ small_vel

small_vel = amrex::Real(1.e-8)
staticconstexpr

What we consider a ~zero velocity when upwinding.