Author: user
TWESMP Trial Version
sgw 20
How to build VTK C++ Source C
Official building guide (a little bit out-dated)
Prerequisites
- CMake 3.15.0
- Qt5.12.3 → msvc2015_64
- Visual Studio 2017 Professional
Download VTK Source code
git clone https://github.com/Kitware/VTK.git
Use CMake configure and generate Visual Studio Project
-
Start CMake-GUI
-
Select the appropriate source (git repository) and the build directory (a separated empty folder)
-
Then click the “Configure” button. CMake will ask you to select the generator the first time you press Configure instead of having a drop-down menu in the main dialog.
- Select generator:”Visual Studio 2017″ and platform: “x64” then click “Finish”
-
Wait til configure finish (5 to 10 minutes)
Editing Entries
Enable Qt
-
Change value of “VTK_GROUP_ENABLE_Qt” from “DEFAULT” to “YES”
-
Add a new entry QT_QMAKE_EXECUTABLE:FILEPATH=<YourQtPath>qmake.exe
Enable OpenGL related modules (optional)
- Change value of OpenGL related moubles
-
Change value of “VTK_ENABLE_VTK_opengl” from “DEFAULT” to “YES”
-
Change value of “VTK_ENABLE_VTK_RenderingContextOpenGL2” from “DEFAULT” to “YES”
-
Generate Visual Studio Project
-
Click “Configure” again and make sure all red-background entries disappeared.
-
Then click “Generate” and wait til generating done.
-
Click “Open Project” via Visual Studio 2017 and select “Build → Build Solution”
-
Wait till building done (about 20 minutes)
-
Check .dll you need in <YourBuildPath>\bin\Debug
TWESMP
System Requirements
- Supported Operating Systems:
- Windows: 10 or newer
- Processor:
- Intel Core i5 3.0 GHz 、ARM AMD Ryzen 5 3.0 GHz CPU or above
- Hard Drive:
- Minimum 32 GB; Recommended 64 GB or more
- Memory (RAM):
- Minimum 1 GB; Recommended 4 GB or above
Check Result

Visualization GUI is a tool that converts binary results from an HGC simulation into a variety of VTK-formatted animations, graphs, and charts.
Parameter GUI can assist HGCP users to quickly set up all parameters in data sets required by the HGC model.
The UI is comprised of :
- Parameter Tool Bar
- Module Tab
- Dataset Browse Panel
- Parameter Constraint Panel
- Parameter Input Panel

Set Geometry / Mesh / Group

Geometry/Mesh GUI is a CAD-like GUI that allows users to Import geometry files, generate mesh from geometry, and set up spatial boundaries and initial conditions for an HGC simulation.
Geometry GUI: File->New or Open Solution

Free trial verison support Triangle and quadrilateral mesh generation

On material tree view, you can right click mouse to select all mesh elements in this material in ‘One Click’.

Visualize to ‘Create Group’ for boundary /initial conditions setting
