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 ..
|
2019-07-09 13:39:16 +05:00
|
|
|
NgArray<int> surfid;
|
|
|
|
NgArray<double> heights;
|
|
|
|
NgArray<double> new_matnrs;
|
2014-12-18 19:00:58 +05:00
|
|
|
int prismlayers = 1;
|
2015-01-09 02:18:22 +05:00
|
|
|
int bulk_matnr = 1;
|
|
|
|
int new_matnr = 1;
|
2014-12-18 19:00:58 +05:00
|
|
|
double hfirst = 0.01;
|
|
|
|
double growthfactor = 1;
|
2015-01-07 15:58:09 +05:00
|
|
|
bool optimize = true;
|
2014-12-18 19:00:58 +05:00
|
|
|
};
|
|
|
|
|
2015-10-19 13:08:30 +05:00
|
|
|
DLL_HEADER extern void GenerateBoundaryLayer (Mesh & mesh, BoundaryLayerParameters & blp);
|
2009-06-19 11:43:23 +06:00
|
|
|
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
#endif
|