PAL19680 CEA 4.1.2: Meshers: BLSURF, GHS3D and holed shapes

add more 4 advanced options to GHS3D
This commit is contained in:
eap 2008-04-30 09:39:40 +00:00
parent 9764a38099
commit 3d5cf736e4
3 changed files with 59 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -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 <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> 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> </ul>
*/ */

View File

@ -2860,7 +2860,7 @@ class Mesh_Triangle(Mesh_Algorithm):
elif algoType == BLSURF: elif algoType == BLSURF:
import BLSURFPlugin import BLSURFPlugin
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so") self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
self.SetPhysicalMesh() #self.SetPhysicalMesh() - PAL19680
elif algoType == NETGEN: elif algoType == NETGEN:
if noNETGENPlugin: if noNETGENPlugin:
print "Warning: NETGENPlugin module unavailable" print "Warning: NETGENPlugin module unavailable"
@ -3244,6 +3244,38 @@ class Mesh_Tetrahedron(Mesh_Algorithm):
if self.params == 0: self.Parameters() if self.params == 0: self.Parameters()
self.params.SetKeepFiles(toKeep) 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 # Public class: Mesh_Hexahedron
# ------------------------------ # ------------------------------