Skip to content
Snippets Groups Projects
Commit fd41b6fa authored by Anna Wellmann's avatar Anna Wellmann
Browse files

NoSLip boundary condition defaults to NoSlipImplicitBounceBack

parent 6bf34f98
No related branches found
No related tags found
1 merge request!119Adapt apps and add stress bc to boundary condition factory
......@@ -25,7 +25,7 @@ public:
//! - VelocityCompressible = interpolated velocity boundary condition, based on subgrid distances
VelocityCompressible,
//! - VelocityAndPressureCompressible = interpolated velocity boundary condition, based on subgrid distances.
//! Also sets the pressure to the bulk pressure.
//! Also sets the pressure to the bulk pressure. Can be combined with OutflowNonReflective
VelocityAndPressureCompressible
};
......@@ -65,7 +65,7 @@ public:
PressureNonEquilibriumIncompressible,
//! - PressureNonEquilibriumCompressible = pressure boundary condition based on non-equilibrium
PressureNonEquilibriumCompressible,
//! - OutflowNonReflective = outflow boundary condition
//! - OutflowNonReflective = outflow boundary condition, should be combined with VelocityAndPressureCompressible
OutflowNonReflective
};
......@@ -97,7 +97,7 @@ public:
private:
VelocityBC velocityBoundaryCondition;
NoSlipBC noSlipBoundaryCondition;
NoSlipBC noSlipBoundaryCondition = NoSlipBC::NoSlipImplicitBounceBack;
SlipBC slipBoundaryCondition;
PressureBC pressureBoundaryCondition;
std::variant<VelocityBC, NoSlipBC, SlipBC> geometryBoundaryCondition;
......
......@@ -34,7 +34,7 @@
#include <helper_cuda.h>
#include "BCKernelManager.h"
#include "Parameter/Parameter.h"
#include "Parameter/Parameter.h"
#include "GPU/GPU_Interface.h"
#include "Calculation/DragLift.h"
#include "Calculation/Cp.h"
......@@ -382,7 +382,6 @@ void BCKernelManager::runStressWallModelKernelPost(const int level) const{
}
}
void BCKernelManager::runSlipBCKernelPost(const int level) const{
if (para->getParD(level)->slipBC.numberOfBCnodes > 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment