Help us understand the problem. What is going on with this article?

Compilation of OpenFOAM v1912 with runTimePostProcessing

runTimePostProcessing functionality is not available in precompiled packages of v1912.

I will note how to compile OFv1912 with runTimePostProcessing.

Refs:
- OpenFOAM® Quick Build Guide v1912
- OpenFOAM® ThirdParty Build

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.

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした