You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
### What is this? ###
4
4
5
-
This section contains OpenFOAM code and tutorials that show how to use Python interpreters to interact with OpenFOAM via pythonPal. pythonPal offers Python support and interoperability between the C++/Python data based on the pybind11 library [1]. The code in this repository is based on OpenFOAM-9, however, as noted below, the procedures are expected to compile with similar versions and forks of OpenFOAM.
5
+
This repository contains OpenFOAM code and tutorials that show how to use Python interpreters to interact with OpenFOAM via pythonPal. pythonPal offers Python support and interoperability between the C++/Python data based on the pybind11 library [1]. The code in this repository is based on OpenFOAM-9, however, as noted below, the procedures are expected to compile with similar versions and forks of OpenFOAM.
6
6
7
-
### [Manual approach]How do I get set up? ###
7
+
### How do I get set up? ###
8
8
9
9
In addition to an installation of OpenFOAM-9, a Python installation is required. The following libraries are required to run the tutorials:
10
10
@@ -33,13 +33,13 @@ Once those environment variables have been defined, the OpenFOAM code included i
33
33
34
34
./Allwmake
35
35
36
-
If the Allwmake script gives the error “libpython or lpython not found” then please manually update the LD_LIBRARY_PATH environment variable with "export LD_LIBRARY_PATH=$PYBIND11_LIB_DIR:$LD_LIBRARY_PATH” and run the “./Allwmake” command again.
36
+
If the Allwmake script gives the error “libpython or lpython not found”, then please manually update the LD_LIBRARY_PATH environment variable with "export LD_LIBRARY_PATH=$PYBIND11_LIB_DIR:$LD_LIBRARY_PATH” and run the “./Allwmake” command again.
37
37
38
38
This will install:
39
39
40
40
**./applications/solvers/**:
41
41
42
-
* pythonPalIcoFoam: This is a version of icoFoam that, once the simulation has converged, passes the velocity field to Python where the specific kinetic energy (k) is calculated. Then, OpenFOAM prints the k field.
42
+
* pythonPalIcoFoam: This is a version of icoFoam that, once the simulation has converged, passes the velocity field to Python, where the specific kinetic energy (k) is calculated. Then, OpenFOAM prints the k field.
43
43
44
44
### How do I run the cases? ###
45
45
@@ -66,7 +66,7 @@ If desired, the user can make the small changes required to get the cases to wor
0 commit comments