CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Compilation of OpenFOAM v1912 with runTimePostProcessing

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

Compilation of OpenFOAM v1912 with runTimePostProcessing

Posted July 17, 2020 at 08:08 by snak

runTimePostProcessing functionality is not available in precompiled packages of v1912.

I will note how to compile OFv1912 with runTimePostProcessing.

Code:
cd $WM_THIRD_PARTY_DIR
makeParaView
check the VTK version with the following command.

Code:
cat ParaView-v5.6.3/VTK/CMake/vtkVersion.cmake
If the version is 8.2.0, create a link with the name of VTK-8.2.0.

Code:
ln -s ParaView-v5.6.3/VTK/ VTK-8.2.0
Now, compile the VTK.

Code:
makeVTK
Then, prepare for the OF compilation.

Code:
wmRefresh
cd $WM_PROJECT_DIR
export ParaView_DIR=$WM_THIRD_PARTY_DIR/ParaView-v5.6.3
export VTK_DIR=$WM_THIRD_PARTY_DIR/build/linux64Gcc/VTK-8.2.0/
Finally, compile OpenFOAM-v1912.

Code:
foam
./Allwmake -j -s -l
You can check the functionality with tutorials/incompressible/simpleFoam/windAroundBuildings.
Views 768 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 08:04.