Salome HOME
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
authoreap <eap@opencascade.com>
Mon, 15 Oct 2012 12:49:07 +0000 (12:49 +0000)
committereap <eap@opencascade.com>
Mon, 15 Oct 2012 12:49:07 +0000 (12:49 +0000)
+  interface StdMeshers_ViscousLayers2D : SMESH::SMESH_Hypothesis

idl/SMESH_BasicHypothesis.idl

index 5ec9ebbf0273e389a3dc267098a03f6c1f67ff35..2a08129a09785be9c8e2836ab4bf8e8b17d69217 100644 (file)
@@ -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