0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Compilation of OpenFOAM v1912 with runTimePostProcessing

Last updated at Posted at 2020-07-17

runTimePostProcessing functionality is not available in precompiled packages of v1912.

I will note how to compile OFv1912 with runTimePostProcessing.

Refs:

cd $WM_THIRD_PARTY_DIR
makeParaView

check the VTK version with the following command.

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.

ln -s ParaView-v5.6.3/VTK/ VTK-8.2.0

Now, compile the VTK.

makeVTK

Then, prepare for the OF compilation.

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.

foam
./Allwmake -j -s -l

You can check the functionality with tutorials/incompressible/simpleFoam/windAroundBuildings.

You can build ParaView 5.6.3, including with the ability to use Python and MPI. Options are same as explained here at OpenFOAM WiKi.

It may be easy if you use a script like this example provided in a ThirdParty directory.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?