From 04dd8e5b5f786db61ce070dc4eb03112af07af65 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 15 Oct 2012 12:49:07 +0000 Subject: [PATCH] 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes + interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis --- idl/SMESH_BasicHypothesis.idl | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/idl/SMESH_BasicHypothesis.idl b/idl/SMESH_BasicHypothesis.idl index 5ec9ebbf0..2a08129a0 100644 --- a/idl/SMESH_BasicHypothesis.idl +++ b/idl/SMESH_BasicHypothesis.idl @@ -861,6 +861,39 @@ module StdMeshers double GetStretchFactor(); }; + /*! + * interface of "Viscous Layers 2D" hypothesis. + * This hypothesis specifies parameters of layers of quadrilaterals to build + * near mesh boundary. This hypothesis can be used by several 2D algorithms: + * Mefisto, Quadrangle (mapping), NETGEN, BLSURF + */ + interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis + { + /*! + * Set edges to exclude from treatment + */ + void SetIgnoreEdges(in SMESH::long_array edgeIDs) raises (SALOME::SALOME_Exception); + SMESH::long_array GetIgnoreEdges(); + + /*! + * Set total thickness of layers of prisms + */ + void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception); + double GetTotalThickness(); + + /*! + * Set number of layers of prisms + */ + void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception); + short GetNumberLayers(); + + /*! + * Set factor (>1.0) of growth of layer thickness towards inside of mesh + */ + void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception); + double GetStretchFactor(); + }; + /*! * interface of "Body fitting Parameters" hypothesis. * This hypothesis specifies -- 2.39.2