2009-01-13 04:40:13 +05:00
|
|
|
#ifndef FILE_BOUNDARYLAYER
|
|
|
|
#define FILE_BOUNDARYLAYER
|
|
|
|
|
|
|
|
|
|
|
|
///
|
2015-10-19 13:08:30 +05:00
|
|
|
DLL_HEADER extern void InsertVirtualBoundaryLayer (Mesh & mesh);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
2009-06-19 11:43:23 +06:00
|
|
|
/// Create a typical prismatic boundary layer on the given
|
|
|
|
/// surfaces
|
2014-12-18 19:00:58 +05:00
|
|
|
|
|
|
|
class BoundaryLayerParameters
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// parameters by Philippose ..
|
2020-04-19 23:00:06 +05:00
|
|
|
Array<int> surfid;
|
|
|
|
Array<double> heights;
|
2020-11-17 22:43:39 +05:00
|
|
|
string new_mat;
|
2020-04-23 18:44:32 +05:00
|
|
|
BitArray domains;
|
2020-04-19 23:00:06 +05:00
|
|
|
bool outside = false; // set the boundary layer on the outside
|
|
|
|
bool grow_edges = false;
|
2020-11-03 16:28:13 +05:00
|
|
|
Array<size_t> project_boundaries;
|
2014-12-18 19:00:58 +05:00
|
|
|
};
|
|
|
|
|
2020-04-19 23:00:06 +05:00
|
|
|
DLL_HEADER void GenerateBoundaryLayer (Mesh & mesh,
|
|
|
|
const BoundaryLayerParameters & blp);
|
2009-06-19 11:43:23 +06:00
|
|
|
|
2021-03-16 22:20:40 +05:00
|
|
|
DLL_HEADER void GenerateBoundaryLayer2 (Mesh & mesh, int domain, const Array<int> & boundaries, const Array<double> & thicknesses);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
#endif
|