mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes
add more 4 advanced options to GHS3D
This commit is contained in:
parent
9764a38099
commit
3d5cf736e4
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 29 KiB |
@ -37,6 +37,32 @@ files of ghs3d software, which are files starting with "GHS3D_" prefix. </li>
|
||||
<li><b>Keep working files</b> - allows to check input and output files
|
||||
of ghs3d software, while usually these files are removed after mesher launch.</li>
|
||||
|
||||
<li><b>Verbose level</b> - to choose verbosity level in the range 0 to 10.
|
||||
<ul> <li>0, no standard output,
|
||||
</li><li>2, prints the data, quality statistics of the skin and final
|
||||
meshes and indicates when the final mesh is being saved. In addition
|
||||
the software gives indication regarding the CPU time.
|
||||
</li><li>10, same as 2 plus the main steps in the computation, quality
|
||||
statistics histogram of the skin mesh, quality statistics histogram
|
||||
together with the characteristics of the final mesh.
|
||||
</li></ul></li>
|
||||
|
||||
<li><b>To create new nodes</b> - if this option is checked off, ghs3d
|
||||
tries to create tetrahedrons using only nodes of 2D mesh.</li>
|
||||
|
||||
<li><b>To use boundary recovery version</b> - enables using a
|
||||
boundary recovery module which tries to
|
||||
create volume meshes starting from very poor quality surface meshes
|
||||
(almost flat triangles on the surface, high density propagation,
|
||||
extreme aspect ratios, etc.) which fails with the standard version. The
|
||||
resulting volume mesh will however most likely have a very poor
|
||||
quality (poor aspect ratio of elements, tetrahedra with a very small
|
||||
positive volume).</li>
|
||||
|
||||
<li><b>Option as text</b> - allows entering any text that will be
|
||||
used as command line option of ghs3d. This is for giving
|
||||
hidden/undocumented/advanced options </li>
|
||||
|
||||
</ul>
|
||||
|
||||
*/
|
@ -2860,7 +2860,7 @@ class Mesh_Triangle(Mesh_Algorithm):
|
||||
elif algoType == BLSURF:
|
||||
import BLSURFPlugin
|
||||
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
|
||||
self.SetPhysicalMesh()
|
||||
#self.SetPhysicalMesh() - PAL19680
|
||||
elif algoType == NETGEN:
|
||||
if noNETGENPlugin:
|
||||
print "Warning: NETGENPlugin module unavailable"
|
||||
@ -3244,6 +3244,38 @@ class Mesh_Tetrahedron(Mesh_Algorithm):
|
||||
if self.params == 0: self.Parameters()
|
||||
self.params.SetKeepFiles(toKeep)
|
||||
|
||||
## To set verbose level [0-10]
|
||||
# 0 - no standard output,
|
||||
# 2 - prints the data, quality statistics of the skin and final meshes and
|
||||
# indicates when the final mesh is being saved. In addition the software
|
||||
# gives indication regarding the CPU time.
|
||||
# 10 - same as 2 plus the main steps in the computation, quality statistics
|
||||
# histogram of the skin mesh, quality statistics histogram together with
|
||||
# the characteristics of the final mesh.
|
||||
# Advanced parameter of GHS3D
|
||||
def SetVerboseLevel(self, level):
|
||||
if self.params == 0: self.Parameters()
|
||||
self.params.SetVerboseLevel(level)
|
||||
|
||||
## To create new nodes
|
||||
# Advanced parameter of GHS3D
|
||||
def SetToCreateNewNodes(self, toCreate):
|
||||
if self.params == 0: self.Parameters()
|
||||
self.params.SetToCreateNewNodes(toCreate)
|
||||
|
||||
## To use boundary recovery version which tries to create mesh on a very poor
|
||||
# quality surface mesh
|
||||
# Advanced parameter of GHS3D
|
||||
def SetToUseBoundaryRecoveryVersion(self, toUse):
|
||||
if self.params == 0: self.Parameters()
|
||||
self.params.SetToUseBoundaryRecoveryVersion(toUse)
|
||||
|
||||
## To set hidden/undocumented/advanced options
|
||||
# Advanced parameter of GHS3D
|
||||
def SetTextOption(self, option):
|
||||
if self.params == 0: self.Parameters()
|
||||
self.params.SetTextOption(option)
|
||||
|
||||
# Public class: Mesh_Hexahedron
|
||||
# ------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user