WLEP: Wrapping Library for Ensight and Paraview. This is a library that facilitates and accelerates postprocessing. The library uses identical commands to control both Ensight and Paraview.
Use software that is best for you. An open-source Paraview is a solution requiring no license fees. Ensight is a commercial system making use of WLEP to control both the tools using a single interface and allowing you to run your postprocessing in both. WLEP ensures compatibility across SW versions and will facilitate your transition to new versions.
Easy development. The WLEP library offers an intuitive interface for comprehensive documentation and integration in the PyCharm development environment. Ready-made samples and on-line support make postprocessing easy for any engineer with minimal programming skills.
my_clip = WLEP.Clip("my_clip", FLUID, plane="y", value=0.0) my_clip.color_by_palette("U")
Open solution. The WLEP library is provided including the source code and programme documentaiton. To make use of advanced functions of specific software may be combined with native scripting interface. We offer implementation of postprocessing workflow or specific custom-made tools.
A customer that carries out a large number of simulations needed standard outputs from product development simulations. In addition, to develop various products, the customer needed specific analyses and simulation outputs. Using the WLEP library, automated and standard outputs were created. The customer had been accustomed to using Ensight, which is highly suitable for interactive work with models. License limitations represented a partial disadvantage. WLEP facilitated a gradual transition of automated postprocessing to Paraview. The customer continues to use Ensight for interactive work, in which it excels.
Assignment: create a cross-section through the “FLUID” domain on the Y = 0 mm plane. The cross-section image was generated by a script. A sample of a portion of the scrip in WLEP follows, along with the corresponding scripts for Ensight and Paraview.
import WLEP my_clip = WLEP.Clip("my_clip", FLUID, plane="y", value=0.0) my_clip.color_by_palette("U") |
---|
import ensight ensight.clip.select_default() ensight.part.modify_begin() ensight.clip.tool("xyz") ensight.part.modify_end() ensight.part.description("my_clip") ensight.clip.domain("intersect") ensight.clip.mesh_plane("y") ensight.clip.value(0.0) ensight.clip.end() ensight.clip.create() ensight.part.modify_begin() ensight.clip.colorby_palette("U") ensight.part.modify_end()
from paraview.simple import * my_clip.ClipType = 'Plane‘ my_clip.ClipType.Normal = [0.0, 1.0, 0.0] my_clip.ClipType.Origin = [0.0, 0.0, 0.0] my_clip.Scalars = ['POINTS', 'U'] my_clipDisplay = Show(my_clip, renderView1) ColorBy(my_clipDisplay, ('POINTS', 'U')) my_clipDisplay.RescaleTransferFunctionToDataRange(True, False) my_clipDisplay.SetScalarBarVisibility(renderView1, True) SetActiveSource(my_clip) RenameSource(‘my_clip', my_clip)
The solution using the Ensight or Paraview native interface is lengthy and poorly laid out. Documentation is frequently incomplete. There is not integration in the development environment, which leads to unnecessary errors in development. To a limited degree, the solution is transferable between versions and not transferable between SW solutions.
WLEP is not an independent functional unit. It only provides an interface to control Ensight/Paraview. To run WLEP scripts, you need to have a WLEP-compatible version of Ensight/Paraview installed. After an agreement, we can test whether your recent minority Ensight/Paraview version is compatible.
W.SIM – simulation workflow by Enginn Effect