-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
57 lines (42 loc) · 1.66 KB
/
readme.txt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
KIOSTFOAM Installation manual
1. OpenFOAM installation
Please refer to OpenFOAM installation link below
os : ubuntu 14.04
https://openfoam.org/download/2-4-0-ubuntu/
os : ubuntu 16.04
https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.4.0/Ubuntu#Ubuntu_16.04
2. Waves2FOAM
Waves2FOAM manual (manualWaves2Foam_v090.pdf) Installation of Wave2FOAM (p10)
※ gfortran installation (installation : sudo apt-get install gfortran)
2.1 Waves2FOAM required library installation
sudo apt-get install git
sudo apt-get install libgsl0-dev
2.2 Wave2FOAM installation
mkdir -p $FOAM_RUN/../applications/utilities
cd $FOAM_RUN/../applications/utilities
svn co http://svn.code.sf.net/p/openfoam-extend/svn/trunk/\
Breeder_1.6/other/waves2Foam
cd waves2Foam
./Allwmake
2.3 Check installation and execution status using the command below (<Figure 1>)
waveFoam -help
<Figure 1> waveFoam -help
3. KIOSTFOAM installation
3.1 Copy files below to /OpenFOAM/delft3d-2.4.0/applications/utilities/waves2Foam waves2FoamKIOST_V1.4.1.tar
- waves2FoamKIOST_V1.4.1_patch.tar
- waves2FoamKIOST_V1.4.1_cnoidal.tar
3.2 Unzip the file
tar xvf waves2FoamKIOST_V1.4.1.tar
tar xvf waves2FoamKIOST_V1.4.1_patch.tar
tar xvf waves2FoamKIOST_V1.4.1_cnoidal.tar
3.3 Copy files below to /OpenFOAM/delft3d-2.4.0/applications/utilities/waves2Foam/bin
- bashrc
- bashrc.org
3.4 KIOSTFOAM installation
Go to /home/delft3d/OpenFOAM/delft3d-2.4.0/applications/utilities/waves2Foam and type command below
./Allwclean
./bin/install.add
./Allwmake
3.5 confirm execution using the command below (<Figure 2>)
waveIWMDyMFoam -help
< Figure 2> waveIWMDyMFoam -help