-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathreadme.txt
More file actions
22 lines (16 loc) · 763 Bytes
/
readme.txt
File metadata and controls
22 lines (16 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# rotor
This utilizes the OpenFOAM rotorDisk model, which is a simple BEM on cells arranged in a disk.
To get proper power and thrust output, the source requires a little bit of modification.
This change is now part of OpenFOAM-dev: https://github.com/OpenFOAM/OpenFOAM-dev/commit/dfe7b86e703823a941e32eaf8033d41b148d702b
Until the next OpenFOAM release, you can modify your installation and compile via:
sudo cp src/new.C $FOAM_SRC/fvOptions/sources/derived/rotorDiskSource/rotorDiskSourceTemplates.C
sudo -s
cd $FOAM_SRC/fvOptions
wmake
exit
You can see the difference between the new and old source via:
diff src/new.C src/original.C
Mesh and run the simulation via:
./run.sh
You can start over the simulation by deleting generated files via:
./clean.py