mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- Allows generation of images (currently PNG files) during the run - ... or afterwards by invoking the execFlowFunctionObjects utility - Wrapper around VTK functionality - Support for objects: - text - points (glyphs: sphere, arrow) - lines (tubes) - surfaces (wireframe, shaded, combination) - Colour using: - user-defined - field values (several colour maps availale) - For image sequences: - dynamic views (camera movement) - objects can appear/disappear using opacity - Building - VTK dependency v6+ - satisfied using ParaView from ThirdParty directory - or separate VTK installation
24 lines
638 B
CMake
24 lines
638 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(runTimePostProcessing)
|
|
|
|
if (EXISTS $ENV{VTK_DIR})
|
|
message("Building with VTK from $ENV{VTK_DIR}")
|
|
find_package(VTK REQUIRED HINTS $ENV{VTK_DIR})
|
|
include(${VTK_USE_FILE})
|
|
|
|
else (EXISTS $ENV{ParaView_DIR})
|
|
message("Building with Paraview from $ENV{ParaView_DIR}")
|
|
find_package(ParaView REQUIRED)
|
|
include(${VTK_USE_FILE})
|
|
|
|
set(
|
|
VTK_VERSION
|
|
"${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}.${VTK_BUILD_VERSION}"
|
|
)
|
|
endif (EXISTS $ENV{VTK_DIR})
|
|
|
|
include(CMakeLists-Common.txt)
|
|
|
|
#-----------------------------------------------------------------------------
|