-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme
More file actions
33 lines (21 loc) · 951 Bytes
/
readme
File metadata and controls
33 lines (21 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Introduction
============
The new Offwind Solver based on CFD within OpenFoam architecture is created.
There are two main folder which need to added in Open foam directory
Preparation
===========
Copy:
* "OffwindModels" folder to "OpenFOAM/OpenFOAM-2.1.1/src"
* "OffWindSolver" folder to "OpenFOAM/OpenFOAM-2.1.1/applications/solvers"
Compile OffwindModels
=====================
Goto "OpenFOAM/OpenFOAM-2.1.1/src" folder.
Run command:
wmake libso
You might have permissions issue:
/usr/bin/ld: cannot open output file /opt/openfoam210/platforms/linuxGccDPOpt/lib/libOffwindModels.so: Permission denied
To resolve that you need to take ownership of the target folder (replace "vlad" with your name):
sudo chown vlad /opt/openfoam210/platforms/linuxGccDPOpt/lib
Compile OffWindSolver
=====================
"OffWindSolver" folder in OpenFOAM/OpenFOAM-2.1.1/applications/solvers and issue the command "wmake", then you have OffWindSolver.