Skip to content

Commit 1832fc9

Browse files
committed
wavetank: remove scaling option (not complete)
Left notes about what is missing in that
1 parent 6daccea commit 1832fc9

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

glue-codes/labview/src/README.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2025.11.10
2+
3+
This is a work in progress. Some things are not complete or functional yet:
4+
5+
6+
Froude scaling is not complete, nor is it tested!!!!
7+
8+
At present, only some inputs are scaled, but equations
9+
have not been verified yet. This has been disabled by
10+
removing the reading of the `*Fact` input lines in the
11+
input file parsing and input file.
12+
13+
TODO:
14+
- verify equations in FroudeScaling* functions
15+
- scale resulting forces / moments
16+
- add scaled time, pos, vel, acc, frc, mom to output
17+
channels and add subscripting to differentiate

glue-codes/labview/src/WaveTank_IO.f90

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ subroutine ParseInputFile(FileInfo_In, SimSettings, ErrStat, ErrMsg)
102102
call ParseVar( FileInfo_In, CurLine, 'TMax', SimSettings%Sim%TMax, ErrStat2, ErrMsg2); if(Failed()) return; ! Max sim time (unused)
103103
call ParseVar( FileInfo_In, CurLine, 'MHK', SimSettings%Sim%MHK, ErrStat2, ErrMsg2); if(Failed()) return; ! MHK turbine type (switch) {0=Not an MHK turbine; 1=Fixed MHK turbine; 2=Floating MHK turbine}
104104
call ParseVar( FileInfo_In, CurLine, 'InterpOrd', SimSettings%Sim%InterpOrd, ErrStat2, ErrMsg2); if(Failed()) return; ! Interpolation order [unused]
105-
call ParseVar( FileInfo_In, CurLine, 'ScaleFact', SimSettings%Sim%ScaleFact, ErrStat2, ErrMsg2); if(Failed()) return; ! scaling factor for scaling full size model to wavetank scale results (Froude scaling: lambda = full_dimension / scale_dimension) [>1 expected] (-)
106-
call ParseVar( FileInfo_In, CurLine, 'DensFact', SimSettings%Sim%DensFact, ErrStat2, ErrMsg2); if(Failed()) return; ! ratio of density - Density_full/Density_model (rho_F/rho_M). Used with Froude scaling of forces/moments" (-)
105+
!TODO: These are placeholders for later use. Some of the logic is incomplete which is why this has been commented out.
106+
! call ParseVar( FileInfo_In, CurLine, 'ScaleFact', SimSettings%Sim%ScaleFact, ErrStat2, ErrMsg2); if(Failed()) return; ! scaling factor for scaling full size model to wavetank scale results (Froude scaling: lambda = full_dimension / scale_dimension) [>1 expected] (-)
107+
! call ParseVar( FileInfo_In, CurLine, 'DensFact', SimSettings%Sim%DensFact, ErrStat2, ErrMsg2); if(Failed()) return; ! ratio of density - Density_full/Density_model (rho_F/rho_M). Used with Froude scaling of forces/moments" (-)
107108
call ParseVar( FileInfo_In, CurLine, 'DebugLevel', SimSettings%Sim%DebugLevel, ErrStat2, ErrMsg2); if(Failed()) return; ! 0: none, 1: I/O summary, 2: +positions/orientations passed, 3:, 4: +all meshes
108109
call ParseVar( FileInfo_In, CurLine, 'OutRootName', SimSettings%Sim%OutRootName, ErrStat2, ErrMsg2); if(Failed()) return; ! Root name for any summary or other files
109110
! -------- Environment ----------------

glue-codes/python/examples/wavetankconfig.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
600 TMax - Max sim time (unused)
77
2 MHK - MHK turbine type (switch) {0=Not an MHK turbine; 1=Fixed MHK turbine; 2=Floating MHK turbine} -- only works for MHK floating at present
88
1 InterpOrd - Interpolation order (unused)
9-
1 ScaleFact - scaling factor for scaling full size model to wavetank scale results (Froude scaling: lambda = full_size_dimension / model_size_dimension) [>1 expected] (-)
10-
1 DensFact - ratio of density - Density_full/Density_model (rho_F/rho_M). Used with Froude scaling of forces/moments (-)
9+
!TODO: Froude scaling is not complete. This can be enabled after finishing that part of the code. For now remove these lines, or leave commented out
10+
! 1 ScaleFact - scaling factor for scaling full size model to wavetank scale results (Froude scaling: lambda = full_size_dimension / model_size_dimension) [>1 expected] (-)
11+
! 1 DensFact - ratio of density - Density_full/Density_model (rho_F/rho_M). Used with Froude scaling of forces/moments (-)
1112
1 DebugLevel - 0: none, 1: I/O summary, 2: +positions/orientations passed, 3:+input file, 4: +all meshes
1213
"RM1_tank_test" OutRootName - Root name for any summary or other files
1314
! -------- Environment ----------------

0 commit comments

Comments
 (0)