DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
EulerBC.hpp File Reference

Boundary condition types, handlers, integration recorders, and 1-D profile utilities for the compressible Euler/Navier-Stokes solver. More...

#include "Euler.hpp"
#include "Geom/BoundaryCondition.hpp"
#include "Geom/Grid.hpp"
#include <unordered_map>
#include "DNDS/JsonUtil.hpp"
#include "DNDS/ConfigEnum.hpp"
Include dependency graph for EulerBC.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DNDS::Euler::BoundaryHandler< model >
 Per-zone boundary condition handler for Euler/Navier-Stokes solvers. More...
 
struct  DNDS::Euler::IntegrationRecorder
 Accumulator for MPI-reduced boundary-face integrals. More...
 
struct  DNDS::Euler::AnchorPointRecorder< nVarsFixed >
 Finds the cell closest to a specified anchor point across all MPI ranks. More...
 
class  DNDS::Euler::OutputPicker
 Registry that maps named cell-scalar output fields to getter lambdas. More...
 
struct  DNDS::Euler::OneDimProfile< nVarsFixed >
 One-dimensional profile for inlet/outlet boundary data. More...
 

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 
namespace  DNDS::Euler
 

Typedefs

using DNDS::Euler::tCellScalarFGet = std::function< real(index)>
 Function type returning a scalar value for a given cell index [0, NumCell).
 
using DNDS::Euler::tCellScalarList = std::vector< std::tuple< std::string, const tCellScalarFGet > >
 List of (field_name, getter_function) pairs for cell-scalar output.
 

Enumerations

enum  DNDS::Euler::EulerBCType {
  DNDS::Euler::BCUnknown = 0 , DNDS::Euler::BCFar , DNDS::Euler::BCWall , DNDS::Euler::BCWallInvis ,
  DNDS::Euler::BCWallIsothermal , DNDS::Euler::BCOut , DNDS::Euler::BCOutP , DNDS::Euler::BCIn ,
  DNDS::Euler::BCInPsTs , DNDS::Euler::BCSym , DNDS::Euler::BCSpecial
}
 Boundary condition type identifiers for compressible flow solvers. More...
 

Functions

 DNDS::Euler::DNDS_DEFINE_ENUM_JSON (EulerBCType, { {BCUnknown, nullptr}, {BCFar, "BCFar"}, {BCWall, "BCWall"}, {BCWallIsothermal, "BCWallIsothermal"}, {BCWallInvis, "BCWallInvis"}, {BCOut, "BCOut"}, {BCOutP, "BCOutP"}, {BCIn, "BCIn"}, {BCInPsTs, "BCInPsTs"}, {BCSym, "BCSym"}, {BCSpecial, "BCSpecial"}, }) inline std
 Convert an EulerBCType enumerator to its JSON string representation.
 
nlohmann::ordered_json DNDS::Euler::bcSettingsSchema ()
 Build a JSON Schema (draft-07) for the bcSettings array.
 

Detailed Description

Boundary condition types, handlers, integration recorders, and 1-D profile utilities for the compressible Euler/Navier-Stokes solver.

Provides:

  • EulerBCType enumeration of supported boundary condition kinds.
  • BoundaryHandler: per-zone BC storage with JSON (de)serialization.
  • IntegrationRecorder: MPI-reduced boundary integral accumulator.
  • AnchorPointRecorder: MPI_MINLOC anchor-point finder.
  • OutputPicker: registry mapping field names to cell-scalar lambdas.
  • OneDimProfile: 1-D profile with uniform/tanh nodes, cell-interval accumulation, MPI reduction, interpolation, and CSV output.

Definition in file EulerBC.hpp.