Debian Codegraph @

Aircraft/c172p/Systems/c172p-hydrodynamics.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4
5 c172p on floats hydrodynamics model for JSBSim.
6
7 Copyright (C) 2015 Anders Gidenstam (anders(at)gidenstam.org)
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
23 Modifications: April 2018
24 Dany93 (Daniel Dubreuil), wlbragg (Wayne Bragg)
25 -->
26
27 <system name="c172p hydrodynamics">
28
29 <!-- Model parameters -->
30 <!-- HRP location -->
31 <!-- NOTE: The HRP has been moved forward by 10 in to improve the
32 static/idling attitude.
33 -->
34 <property value="-30">metrics/hydro-rp-x-in</property>
35 <property value="0.0">metrics/hydro-rp-y-in</property>
36 <property value="34">metrics/hydro-rp-z-in</property>
37
38 <property value="9.8">metrics/hydro-beam-ft</property>
39 <property value="18.3">metrics/hydro-length-ft</property>
40
41 <documentation>
42 The extreme float beam is used as the reference length and to define both
43 reference area and volume.
44 </documentation>
45
46 <property value="2.71">hydro/float-beam-ft</property>
47 <property value="7.34">hydro/float-beam-ft2</property>
48 <property value="19.90">hydro/float-beam-ft3</property>
49 <property value="53.94">hydro/float-beam-ft4</property>
50
51
52 <property value="18.3">hydro/hull-length-ft</property>
53
54 <!-- Tweak factors. :) -->
55 <property value="1.0">hydro/drag-tweak-factor</property>
56 <property value="1.0">hydro/side-tweak-factor</property>
57 <property value="1.0">hydro/lift-tweak-factor</property>
58 <property value="1.0">hydro/pitch-tweak-factor</property>
59 <property value="1.0">hydro/yaw-tweak-factor</property>
60 <property value="1.0">hydro/yaw-stability-tweak-factor</property>
61
62 <!-- The bx and by channels of the body frame are not used. -->
63 <property value="0.0">hydro/fbx-lbs</property>
64 <property value="0.0">hydro/fby-lbs</property>
65
66 <channel name="Enable/disable">
67
68 <fcs_function name="hydro/active-norm">
69 <description>
70 A property that is 0 when no part of the hull is in the water.
71 The maximum value is 1.
72 </description>
73 <function>
74 <product>
75 <property>floats-enabled-norm</property>
76 <value>0.001</value>
77 <lt>
78 <value>-100.0</value>
79 <property>hydro/float/roll-deg</property>
80 </lt>
81 <lt>
82 <property>hydro/float/roll-deg</property>
83 <value>100.0</value>
84 </lt>
85 <!--sum-->
86 <property>hydro/buoyancy-lbs</property>
87 <!--property>hydro/planing-lift-lbs</property>
88 </sum-->
89 </product>
90 </function>
91 <clipto>
92 <min>0.0</min>
93 <max>1.0</max>
94 </clipto>
95 </fcs_function>
96
97 <fcs_function name="hydro/spray-wake-speed-kt">
98 <function>
99 <product>
100 <not>
101 <property>/fdm/jsbsim/ground/solid</property>
102 </not>
103 <gt>
104 <property>hydro/active-norm</property>
105 <value>0.0</value>
106 </gt>
107 <property>/velocities/groundspeed-kt</property>
108 </product>
109 </function>
110 </fcs_function>
111
112 <fcs_function name="hydro/left-ground-effect-speed-kt">
113 <function>
114 <product>
115 <or>
116 <property>/fdm/jsbsim/contact/unit[13]/WOW</property>
117 <property>/fdm/jsbsim/contact/unit[15]/WOW</property>
118 <property>/fdm/jsbsim/contact/unit[17]/WOW</property>
119 </or>
120 <property>/velocities/groundspeed-kt</property>
121 </product>
122 </function>
123 </fcs_function>
124
125 <fcs_function name="hydro/right-ground-effect-speed-kt">
126 <function>
127 <product>
128 <or>
129 <property>/fdm/jsbsim/contact/unit[14]/WOW</property>
130 <property>/fdm/jsbsim/contact/unit[16]/WOW</property>
131 <property>/fdm/jsbsim/contact/unit[18]/WOW</property>
132 </or>
133 <property>/velocities/groundspeed-kt</property>
134 </product>
135 </function>
136 </fcs_function>
137
138 <switch name="power-regime">
139 <default value="0"/>
140 <test logic="AND" value="1">
141 /engines/active-engine/rpm LT 1300
142 </test>
143 <output>/fdm/jsbsim/hydro/power-regime</output>
144 </switch>
145
146 </channel>
147
148 <channel name="Common coefficients">
149
150 <fcs_function name="hydro/speed-length-ratio">
151 <function>
152 <quotient>
153 <product>
154 <!-- Speed in knots. -->
155 <value>0.5924838</value>
156 <property>hydro/vbx-fps</property>
157 </product>
158 <pow>
159 <property>hydro/hull-length-ft</property>
160 <value>0.5</value>
161 </pow>
162 </quotient>
163 </function>
164 </fcs_function>
165
166 <fcs_function name="hydro/Frode-number">
167 <function>
168 <quotient>
169 <property>hydro/vbx-fps</property>
170 <pow>
171 <product>
172 <property>hydro/environment/gravity-ft_sec2</property>
173 <property>hydro/hull-length-ft</property>
174 </product>
175 <value>0.5</value>
176 </pow>
177 </quotient>
178 </function>
179 </fcs_function>
180
181 </channel>
182
183 <channel name="Displacement wave making">
184
185 <fcs_function name="hydro/transverse-wave/wave-length-ft">
186 <description>The wave length of the transverse wave</description>
187 <function>
188 <product>
189 <quotient>
190 <value>6.2831853</value>
191 <property>hydro/environment/gravity-ft_sec2</property>
192 </quotient>
193 <property>hydro/vbx-fps</property>
194 <property>hydro/vbx-fps</property>
195 </product>
196 </function>
197 </fcs_function>
198
199 <fcs_function name="hydro/transverse-wave/wave-amplitude-ft">
200 <description>The amplitude of the transverse wave. Guessed.</description>
201 <function>
202 <product>
203 <value>1.0</value>
204 <table>
205 <independentVar lookup="row">hydro/speed-length-ratio</independentVar>
206 <tableData>
207 0.0 1.0
208 1.3 1.0
209 2.0 0.6
210 2.5 0.0
211 </tableData>
212 </table>
213 <pow>
214 <quotient>
215 <product>
216 <value>2.0</value>
217 <property>hydro/displacement-drag-lbs</property>
218 <property>hydro/transverse-wave/wave-length-ft</property>
219 </product>
220 <product>
221 <value>3.1415927</value>
222 <property>hydro/environment/rho-slug_ft3</property>
223 <property>hydro/environment/gravity-ft_sec2</property>
224 <max>
225 <value>0.0001</value>
226 <property>hydro/vbx-fps</property>
227 </max>
228 </product>
229 </quotient>
230 <value>0.5</value>
231 </pow>
232 </product>
233 </function>
234 </fcs_function>
235
236 <fcs_function name="hydro/transverse-wave/squat-ft">
237 <description>
238 The average water level change by the transverse wave
239 </description>
240 <function>
241 <!-- The integral of the sine wave evaluated at the stern. -->
242 <quotient>
243 <product>
244 <value>0.15915494</value>
245 <property>hydro/transverse-wave/wave-amplitude-ft</property>
246 <property>hydro/transverse-wave/wave-length-ft</property>
247 <sin>
248 <quotient>
249 <product>
250 <value>6.2831853</value>
251 <property>hydro/hull-length-ft</property>
252 </product>
253 <property>hydro/transverse-wave/wave-length-ft</property>
254 </quotient>
255 </sin>
256 </product>
257 <property>hydro/hull-length-ft</property>
258 </quotient>
259 </function>
260 </fcs_function>
261
262 <fcs_function name="hydro/transverse-wave/pitch-trim-change-deg">
263 <description>
264 The pitch trim change due to the transverse wave. Guessed.
265 </description>
266 <!-- deltaTrim = atan2(water line at bow - water line at stern, LWL) -->
267 <function>
268 <product>
269 <value>57.29578</value>
270 <table>
271 <independentVar lookup="row">hydro/speed-length-ratio</independentVar>
272 <tableData>
273 0.0 0.0
274 1.2 0.0
275 1.3 1.0
276 </tableData>
277 </table>
278 <atan2>
279 <difference>
280 <property>hydro/transverse-wave/wave-amplitude-ft</property>
281 <product>
282 <property>hydro/transverse-wave/wave-amplitude-ft</property>
283 <sin>
284 <quotient>
285 <product>
286 <value>6.2831853</value>
287 <property>hydro/hull-length-ft</property>
288 </product>
289 <property>hydro/transverse-wave/wave-length-ft</property>
290 </quotient>
291 </sin>
292 </product>
293 </difference>
294 <property>hydro/hull-length-ft</property>
295 </atan2>
296 </product>
297 </function>
298 </fcs_function>
299
300 </channel>
301
302 <channel name="Effective floats position and orientation">
303
304 <fcs_function name="hydro/float/height-agl-ft">
305 <description>
306 The float height with waves and squat due to the transverse wave applied.
307 </description>
308 <function>
309 <sum>
310 <property>hydro/height-agl-ft</property>
311 <!-- Account for the 6.5cm vertical offset of the float model. -->
312 <value>-0.2133</value>
313 <product>
314 <value>-1.0</value>
315 <table>
316 <independentVar lookup="row">hydro/environment/wave-length-ft</independentVar>
317 <tableData>
318 0.0 0.0
319 100.0 1.0
320 </tableData>
321 </table>
322 <max>
323 <value>-100.0</value>
324 <min>
325 <property>hydro/environment/wave/level-at-hrp-ft</property>
326 <!-- property>hydro/environment/wave/level-change-ft</property -->
327 <value>100.0</value>
328 </min>
329 </max>
330 </product>
331 <!-- Squat is disabled as it currently misbehaves in
332 near at rest conditions leading to strange bobbing
333 on the water.
334 -->
335 <max>
336 <value>-0.0</value>
337 <min>
338 <property>hydro/transverse-wave/squat-ft</property>
339 <value>0.0</value>
340 </min>
341 </max>
342 </sum>
343 </function>
344 </fcs_function>
345
346 <fcs_function name="hydro/float/pitch-deg">
347 <description>
348 The float pitch with the trim change due to waves and
349 the displacement wave applied.
350 </description>
351 <function>
352 <sum>
353 <value>-3.0</value> <!-- The float model is 3 deg offset in pitch. -->
354 <product>
355 <property>hydro/power-regime</property>
356 <table>
357 <independentVar>hydro/v-kt</independentVar>
358 <tableData>
359 5 -0
360 25 -5
361 35 -0
362 </tableData>
363 </table>
364 </product>
365 <property>hydro/pitch-deg</property>
366 <product>
367 <value>1.0</value>
368 <max>
369 <value>-30.0</value>
370 <min>
371 <property>hydro/orientation/wave-pitch-trim-change-deg</property>
372 <value>30.0</value>
373 </min>
374 </max>
375 </product>
376 <product>
377 <value>-1.0</value>
378 <max>
379 <value>-30.0</value>
380 <min>
381 <property>hydro/transverse-wave/pitch-trim-change-deg</property>
382 <value>30.0</value>
383 </min>
384 </max>
385 </product>
386 </sum>
387 </function>
388 </fcs_function>
389
390 <fcs_function name="hydro/float/pitch-rad">
391 <description>
392 The float pitch with the trim change due to waves and
393 the displacement wave applied.
394 </description>
395 <function>
396 <product>
397 <value>0.017453293</value>
398 <property>hydro/float/pitch-deg</property>
399 </product>
400 </function>
401 </fcs_function>
402
403 <fcs_function name="hydro/float/roll-deg">
404 <description>
405 The float roll with the trim change due to waves applied.
406 </description>
407 <function>
408 <sum>
409 <property>hydro/roll-deg</property>
410 <product>
411 <value>1.0</value>
412 <max>
413 <value>-50.0</value>
414 <min>
415 <property>hydro/orientation/wave-roll-trim-change-deg</property>
416 <value>50.0</value>
417 </min>
418 </max>
419 </product>
420 </sum>
421 </function>
422 </fcs_function>
423
424 </channel>
425
426 <channel name="Drag">
427
428 <fcs_function name="hydro/displacement-drag-lbs">
429 <function>
430 <description>Drag due to displacement of float</description>
431 <product>
432 <value>0.0150</value> <!-- Base Cd -->
433 <property>hydro/qbar-psf</property>
434 <property>hydro/float-beam-ft2</property>
435 <property>hydro/drag-tweak-factor</property>
436 <max>
437 <value>1.0</value>
438 <product>
439 <property>hydro/power-regime</property>
440 <table>
441 <independentVar>hydro/v-kt</independentVar>
442 <tableData>
443 10 1
444 15 8
445 20 4
446 30 3
447 36 1
448 </tableData>
449 </table>
450 </product>
451 </max>
452 <min>
453 <quotient>
454 <!-- Reduce when planing. Needs refinement. -->
455 <property>hydro/buoyancy-lbs</property>
456 <property>inertia/weight-lbs</property>
457 </quotient>
458 <value>1.0</value>
459 </min>
460 <sum>
461 <value>1.0</value>
462 <product>
463 <!-- Increase drag with beta -->
464 <value>10.0</value>
465 <abs>
466 <sin>
467 <property>hydro/beta-rad</property>
468 </sin>
469 </abs>
470 </product>
471 </sum>
472 </product>
473 </function>
474 </fcs_function>
475
476 <fcs_function name="hydro/rudder-drag-lbs">
477 <function>
478 <description>Drag due to rudders (not reduced by planing)</description>
479 <product>
480 <value>0.00025</value>
481 <property>hydro/qbar-psf</property>
482 <property>hydro/float-beam-ft2</property>
483 <table>
484 <independentVar>fcs/rudder-pos-norm</independentVar>
485 <tableData>
486 -0.512 5
487 -0.225 1
488 0 1
489 0.225 1
490 0.486 5
491 </tableData>
492 </table>
493 <property>/controls/gear/water-rudder-down</property>
494 </product>
495 </function>
496 </fcs_function>
497
498 <fcs_function name="hydro/planing-drag-lbs">
499 <function>
500 <description>Drag due to planing</description>
501 <!-- Guess -->
502 <product>
503 <value>1.0</value>
504 <!-- Assumption: Lift ~ sin(2*pitch) and Drag ~ 1+sin(2*pitch-pi/2) = 1-cos(2*pitch). -->
505 <quotient>
506 <sum>
507 <value>1.0</value>
508 <sin>
509 <sum>
510 <product>
511 <value>2.0</value>
512 <abs>
513 <property>hydro/float/pitch-rad</property>
514 </abs>
515 </product>
516 <value>-1.5707963</value>
517 </sum>
518 </sin>
519 </sum>
520 <sin>
521 <product>
522 <value>2.0</value>
523 <abs>
524 <property>hydro/float/pitch-rad</property>
525 </abs>
526 </product>
527 </sin>
528 </quotient>
529 <property>hydro/planing-lift-lbs</property>
530 <sum>
531 <value>1.0</value>
532 <product>
533 <!-- Increase drag with beta -->
534 <value>10.0</value>
535 <abs>
536 <sin>
537 <property>hydro/beta-rad</property>
538 </sin>
539 </abs>
540 </product>
541 </sum>
542 </product>
543 </function>
544 </fcs_function>
545
546 <fcs_function name="hydro/fdrag-lbs">
547 <function>
548 <product>
549 <value>1.0</value>
550 <property>hydro/active-norm</property>
551 <sum>
552 <property>hydro/displacement-drag-lbs</property>
553 <property>hydro/planing-drag-lbs</property>
554 <property>hydro/rudder-drag-lbs</property>
555 </sum>
556 </product>
557 </function>
558 </fcs_function>
559
560 </channel>
561
562 <channel name="Side">
563
564 <fcs_function name="hydro/floats-side-lbs">
565 <function>
566 <description>Side force due to floats. Guessed.</description>
567 <product>
568 <value>-1.0</value>
569 <property>hydro/qbar-u-psf</property>
570 <property>hydro/float-beam-ft2</property>
571 <property>hydro/side-tweak-factor</property>
572 <sin>
573 <property>hydro/beta-rad</property>
574 </sin>
575 <value>1</value>
576 </product>
577 </function>
578 </fcs_function>
579
580 <fcs_function name="hydro/fside-lbs">
581 <function>
582 <product>
583 <property>hydro/active-norm</property>
584 <property>hydro/floats-side-lbs</property>
585 </product>
586 </function>
587 </fcs_function>
588
589 </channel>
590
591 <channel name="Lift / Body-Z (up)">
592 <fcs_function name="hydro/buoyancy-lbs">
593 <documentation>
594 Lift due to buoyancy.
595 This data was computed in Gerris using the 3d model.
596 </documentation>
597 <function>
598 <product>
599 <value>1.0</value>
600 <property>hydro/environment/rho-slug_ft3</property>
601 <property>hydro/environment/gravity-ft_sec2</property>
602 <table>
603 <independentVar lookup="row">hydro/float/pitch-deg</independentVar>
604 <independentVar lookup="column">hydro/float/roll-deg</independentVar>
605 <independentVar lookup="table">hydro/float/height-agl-ft</independentVar>
606 <tableData breakPoint="4.0">
607 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
608 -8 70.4697 71.9988 72.6889 73.8903 72.6889 71.9985 70.4697
609 -4 77.7445 82.0522 78.1528 78.5465 78.1528 82.0522 77.7445
610 -2 79.8715 80.4772 79.3203 77.6527 79.3203 80.4772 79.8715
611 0 80.7664 75.3661 74.6665 74.2406 74.6665 75.3661 80.7664
612 2 75.1609 75.7221 73.7974 73.713 73.7974 75.7221 75.1609
613 4 75.5398 74.7205 74.4984 73.9648 74.4984 74.7205 75.5398
614 8 77.0679 76.9104 75.6214 75.2767 75.6214 76.91 77.0679
615 12 75.4109 77.2332 77.7152 77.314 77.7152 77.2332 75.4109
616 </tableData>
617 <tableData breakPoint="5.0">
618 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
619 -8 52.3 53.9739 54.1208 54.0187 54.1208 53.9739 52.3
620 -4 60.7186 60.7677 61.0089 59.8358 61.0089 60.7677 60.7186
621 -2 61.0142 65.455 64.8822 63.3651 64.8822 65.455 61.0142
622 0 64.4655 69.4184 69.2535 70.1272 69.2535 69.4184 64.4655
623 2 66.1084 70.8649 73.2868 74.539 73.2868 70.8649 66.1084
624 4 67.2642 71.9501 71.5609 70.7939 71.5609 71.9501 67.2642
625 8 67.3543 70.094 69.5642 69.6335 69.5642 70.094 67.3543
626 12 63.2775 64.2165 64.9451 63.9354 64.9451 64.2165 63.2775
627 </tableData>
628 <tableData breakPoint="6.0">
629 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
630 -8 25.4825 26.9554 25.9179 24.5584 25.9179 26.9554 25.4825
631 -4 24.0267 23.3142 24.1937 22.4124 24.1937 23.3142 24.0267
632 -2 24.21 24.1405 22.0957 20.8603 22.0957 24.1405 24.21
633 0 24.4535 22.0509 20.8428 20.7541 20.8428 22.0509 24.4536
634 2 28.0905 22.5761 21.5485 21.271 21.5485 22.5761 28.0906
635 4 27.3417 26.1271 23.9223 25.0481 23.9223 26.127 27.3432
636 8 32.7235 33.5893 33.8572 33.1867 33.8572 33.5893 32.7234
637 12 37.0016 38.9945 39.4426 38.374 39.4426 38.9945 37.0016
638 </tableData>
639 <tableData breakPoint="7.0">
640 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
641 -8 6.25045 2.68815 1.66639 1.27294 1.66639 2.68652 6.25045
642 -4 3.56943 1.02463 0.446949 0.269098 0.446957 1.02463 3.56947
643 -2 2.81221 0.626676 0.26499 0.183048 0.264992 0.62668 2.81222
644 0 2.13289 0.420421 0.183404 0.166645 0.183405 0.420425 2.13288
645 2 1.98427 0.350449 0.155825 0.171879 0.155826 0.350451 1.98427
646 4 2.17672 0.384672 0.199169 0.16473 0.199169 0.384676 2.17672
647 8 5.4849 1.17043 0.390792 0.226396 0.390796 1.17044 5.48479
648 12 11.1033 7.5258 6.05007 5.45615 6.05007 7.5258 11.1033
649 </tableData>
650 <tableData breakPoint="8.0">
651 -8 -4 -2 0 2 4 8
652 -8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
653 -4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
654 -2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
655 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
656 2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
657 4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
658 8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
659 12 0.0 0.0 0.0 0.0 0.0 0.0 0.0
660 </tableData>
661 </table>
662 </product>
663 </function>
664 </fcs_function>
665
666 <fcs_function name="hydro/planing-lift-lbs">
667 <documentation>
668 Lift due to planing. Guessed.
669 </documentation>
670 <function>
671 <!-- Guess -->
672 <max>
673 <value>0.0</value>
674 <product>
675 <value>0.0100</value>
676 <property>hydro/qbar-u-psf</property>
677 <property>hydro/buoyancy-lbs</property>
678 <sin>
679 <product>
680 <value>2.0</value>
681 <property>hydro/float/pitch-rad</property>
682 </product>
683 </sin>
684 </product>
685 </max>
686 </function>
687 </fcs_function>
688
689 <fcs_function name="hydro/damping-lift-lbs">
690 <function>
691 <product>
692 <value>1.0</value>
693 <value>125.0</value> <!-- Guess -->
694 <property>velocities/v-down-fps</property>
695 </product>
696 </function>
697 </fcs_function>
698
699 <fcs_function name="hydro/fbz-lbs">
700 <function>
701 <product>
702 <value>1.0</value>
703 <property>hydro/active-norm</property>
704 <sum>
705 <property>hydro/buoyancy-lbs</property>
706 <property>hydro/planing-lift-lbs</property>
707 <property>hydro/damping-lift-lbs</property>
708 </sum>
709 </product>
710 </function>
711 </fcs_function>
712
713 </channel>
714
715 <channel name="Yaw">
716
717 <fcs_function name="hydro/float-yaw-moment-lbsft">
718 <documentation>
719 Guessestimated course restoring moment.
720 </documentation>
721 <function>
722 <description>Yaw moment due to float (per radian beta)</description>
723 <product>
724 <value>1.0</value>
725 <property>hydro/yaw-stability-tweak-factor</property>
726 <property>hydro/qbar-u-psf</property>
727 <property>hydro/float-beam-ft3</property>
728 <sin>
729 <property>hydro/beta-rad</property>
730 </sin>
731 <value>0.125</value> <!-- FIXME? Does beta have the right sign? -->
732 </product>
733 </function>
734 </fcs_function>
735
736 <fcs_function name="hydro/rudder-yaw-moment-lbsft">
737 <documentation>
738 Guessestimated yaw moment due to water rudder.
739 </documentation>
740 <function>
741 <description>Hydrodynamic yaw moment due to rudder</description>
742 <product>
743 <property>/controls/gear/water-rudder-down</property>
744 <property>hydro/qbar-u-psf</property>
745 <property>hydro/float-beam-ft3</property>
746 <property>fcs/rudder-pos-norm</property>
747 <value>-0.085</value>
748 </product>
749 </function>
750 </fcs_function>
751
752 <fcs_function name="hydro/damping-yaw-moment-lbsft">
753 <documentation>
754 Dampen yaw movements while in the water. Guessed.
755 </documentation>
756 <function>
757 <product>
758 <value>1.0</value>
759 <value>-2000.0</value> <!-- Guess -->
760 <property>hydro/yaw-tweak-factor</property>
761 <property>velocities/psidot-rad_sec</property>
762 </product>
763 </function>
764 </fcs_function>
765
766 <fcs_function name="hydro/yaw-moment-lbsft">
767 <function>
768 <product>
769 <value>1.0</value>
770 <property>hydro/active-norm</property>
771 <sum>
772 <property>hydro/float-yaw-moment-lbsft</property>
773 <property>hydro/rudder-yaw-moment-lbsft</property>
774 <property>hydro/damping-yaw-moment-lbsft</property>
775 </sum>
776 </product>
777 </function>
778 </fcs_function>
779
780 </channel>
781
782 <channel name="Pitch">
783
784 <fcs_function name="hydro/buoyancy-pitch-moment-lbsft">
785 <documentation>
786 Pitch moment due to buoyancy.
787 This data was computed in Gerris using the 3d model.
788 </documentation>
789 <function>
790 <product>
791 <value>1.0</value>
792 <property>hydro/environment/rho-slug_ft3</property>
793 <property>hydro/environment/gravity-ft_sec2</property>
794 <table>
795 <independentVar lookup="row">hydro/float/pitch-deg</independentVar>
796 <independentVar lookup="column">hydro/float/roll-deg</independentVar>
797 <independentVar lookup="table">hydro/float/height-agl-ft</independentVar>
798 <tableData breakPoint="4.0">
799 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
800 -8 -49.8934 -52.6368 -53.7658 -56.1033 -53.766 -52.6365 -49.8936
801 -4 -80.7443 -102.053 -99.3077 -102.284 -99.3077 -102.052 -80.7444
802 -2 -92.4784 -105.592 -107.941 -105.992 -107.941 -105.592 -92.4782
803 0 -102.174 -94.6973 -91.698 -91.5532 -91.698 -94.6973 -102.174
804 2 -85.781 -86.6013 -83.744 -84.3092 -83.744 -86.6013 -85.781
805 4 -76.4024 -75.1258 -76.4317 -79.8259 -76.4318 -75.1257 -76.4025
806 8 -76.0785 -66.8813 -62.4486 -61.0493 -62.4486 -66.8812 -76.0788
807 12 -70.4194 -64.056 -62.4022 -61.8628 -62.4022 -64.0561 -70.4196
808 </tableData>
809 <tableData breakPoint="5.0">
810 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
811 -8 33.4887 42.7619 44.8523 45.2644 44.8523 42.7618 33.4887
812 -4 2.43921 17.0136 20.9835 22.6711 20.9835 17.0137 2.43937
813 -2 -22.1875 -9.67182 -3.89045 -0.853817 -3.89048 -9.67178 -22.1875
814 0 -48.2256 -44.745 -42.5473 -43.7305 -42.5471 -44.7452 -48.2257
815 2 -68.4349 -80.8253 -85.0642 -87.2098 -85.0641 -80.8253 -68.435
816 4 -89.499 -105.483 -109.071 -109.978 -109.071 -105.483 -89.499
817 8 -121.571 -127.118 -126.238 -126.398 -126.238 -127.118 -121.571
818 12 -128.174 -131.081 -132.757 -130.413 -132.757 -131.081 -128.174
819 </tableData>
820 <tableData breakPoint="6.0">
821 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
822 -8 48.9994 60.7321 61.0332 59.1263 61.0332 60.732 48.9993
823 -4 30.9213 38.3046 41.7565 39.5816 41.7565 38.3046 30.9214
824 -2 19.2704 28.0892 28.0822 27.1484 28.0822 28.0892 19.2704
825 0 3.57206 12.2632 14.1529 14.8735 14.1529 12.2632 3.57202
826 2 -21.2887 -6.2624 -2.26959 -0.916582 -2.26962 -6.26242 -21.2887
827 4 -44.7696 -37.2403 -30.0576 -29.7852 -30.0576 -37.2399 -44.7787
828 8 -95.0674 -116.215 -121.7 -120.712 -121.7 -116.215 -95.0672
829 12 -140.104 -161.546 -166.883 -163.78 -166.883 -161.546 -140.104
830 </tableData>
831 <tableData breakPoint="7.0">
832 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
833 -8 19.4398 8.78683 5.33896 3.89086 5.33897 8.7802 19.4398
834 -4 8.0711 2.34596 0.687956 0.19446 0.68797 2.34597 8.07113
835 -2 4.75018 0.970148 0.0744521 -0.143791 0.0744605 0.970156 4.75019
836 0 1.96616 0.183646 -0.142763 -0.182171 -0.14276 0.183652 1.96635
837 2 0.162832 -0.150639 -0.188178 -0.218317 -0.188178 -0.150631 0.162831
838 4 -1.86948 -0.45569 -0.283048 -0.234038 -0.283047 -0.455692 -1.86949
839 8 -23.9856 -4.26476 -1.01733 -0.45322 -1.01735 -4.2648 -23.9848
840 12 -64.3624 -51.9159 -45.7478 -42.8309 -45.7478 -51.9159 -64.3625
841 </tableData>
842 <tableData breakPoint="8.0">
843 -8 -4 -2 0 2 4 8
844 -8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
845 -4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
846 -2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
847 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
848 2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
849 4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
850 8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
851 12 0.0 0.0 0.0 0.0 0.0 0.0 0.0
852 </tableData>
853 </table>
854 </product>
855 </function>
856 </fcs_function>
857
858 <fcs_function name="hydro/planing-pitch-moment-lbsft">
859 <documentation>
860 Pitch moment due to planing. Guessed.
861 </documentation>
862 <function>
863 <product>
864 <value>0.004</value>
865 <property>hydro/qbar-u-psf</property>
866 <property>hydro/buoyancy-pitch-moment-lbsft</property>
867 <table>
868 <independentVar lookup="row">hydro/float/pitch-deg</independentVar>
869 <tableData>
870 -90 0
871 -45 0.7
872 -8 1
873 0.0 1
874 12 0.1
875 45 0.07
876 90 0
877 </tableData>
878 </table>
879 </product>
880 </function>
881 </fcs_function>
882
883 <fcs_function name="hydro/damping-pitch-moment-lbsft">
884 <function>
885 <product>
886 <value>1.0</value>
887 <value>-12000.0</value> <!-- Guess -->
888 <property>velocities/thetadot-rad_sec</property>
889 </product>
890 </function>
891 </fcs_function>
892
893 <fcs_function name="hydro/pitch-moment-lbsft">
894 <function>
895 <product>
896 <value>1.0</value>
897 <property>hydro/active-norm</property>
898 <sum>
899 <property>hydro/buoyancy-pitch-moment-lbsft</property>
900 <property>hydro/planing-pitch-moment-lbsft</property>
901 <!-- Numerical failure on startup? Try reducing pitch damping first. -->
902 <property>hydro/damping-pitch-moment-lbsft</property>
903 </sum>
904 </product>
905 </function>
906 </fcs_function>
907
908 </channel>
909
910 <channel name="Roll">
911
912 <fcs_function name="hydro/buoyancy-roll-moment-lbsft">
913 <documentation>
914 Roll moment due to buoyancy.
915 This data was computed in Gerris using the 3d model.
916 </documentation>
917 <function>
918 <product>
919 <value>1.0</value>
920 <property>hydro/environment/rho-slug_ft3</property>
921 <property>hydro/environment/gravity-ft_sec2</property>
922 <table>
923 <independentVar lookup="row">hydro/float/pitch-deg</independentVar>
924 <independentVar lookup="column">hydro/float/roll-deg</independentVar>
925 <independentVar lookup="table">hydro/float/height-agl-ft</independentVar>
926 <tableData breakPoint="4.0">
927 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
928 -8 8.72367 3.4119 1.51942 -3.96596e-05 -1.51953 -3.41223 -8.72358
929 -4 -5.83223 -3.93577 -2.91107 -0.000262513 2.91107 3.9358 5.83257
930 -2 -17.6198 -11.69 -6.55986 -0.000206154 6.55992 11.6901 17.6198
931 0 -28.7458 -14.424 -6.41822 -0.000296678 6.4183 14.4241 28.7458
932 2 -34.7317 -13.1807 -2.43002 -0.000283589 2.4301 13.1808 34.7317
933 4 -29.6613 -13.7711 -7.79658 -0.000262128 7.79648 13.7712 29.6618
934 8 -22.0225 -12.6664 -6.95697 -1.43722e-05 6.95702 12.6664 22.0223
935 12 -11.6461 -7.07278 -3.19646 -3.8768e-05 3.19645 7.07265 11.6463
936 </tableData>
937 <tableData breakPoint="5.0">
938 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
939 -8 41.7095 21.3349 10.7468 -1.23669e-05 -10.7468 -21.3349 -41.7097
940 -4 58.1077 29.4764 15.0887 -0.000207035 -15.0888 -29.4765 -58.1078
941 -2 65.6045 35.3532 17.9802 -3.10252e-06 -17.9804 -35.3534 -65.6045
942 0 69.6288 39.5229 20.3001 5.04923e-05 -20.3004 -39.5261 -69.6288
943 2 65.0925 37.8059 19.1963 1.20412e-05 -19.1964 -37.806 -65.0925
944 4 56.2429 31.1272 16.1416 -6.82378e-06 -16.1415 -31.1273 -56.243
945 8 41.3347 20.6953 10.6429 -7.48679e-05 -10.6429 -20.6955 -41.3348
946 12 32.9876 16.7757 8.8982 -5.18437e-05 -8.89822 -16.7759 -32.9877
947 </tableData>
948 <tableData breakPoint="6.0">
949 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
950 -8 59.9977 32.4897 16.1373 -9.38677e-05 -16.1375 -32.4898 -59.9979
951 -4 70.4555 37.779 19.3986 -0.000217243 -19.3987 -37.7792 -70.4555
952 -2 75.9963 42.6932 20.4349 -9.6388e-05 -20.435 -42.6933 -75.9964
953 0 80.5515 43.7846 21.2748 -0.000103545 -21.2749 -43.7847 -80.5516
954 2 94.1445 47.7392 23.8101 -0.000197113 -23.8102 -47.7393 -94.1445
955 4 92.4242 55.9008 27.5434 -0.000446517 -27.5435 -55.9005 -92.428
956 8 92.8873 49.2672 24.9231 -0.000181934 -24.9233 -49.2673 -92.8874
957 12 65.3364 33.9039 16.95 -0.000132855 -16.9501 -33.9039 -65.3364
958 </tableData>
959 <tableData breakPoint="7.0">
960 -8.0 -4.0 -2.0 0.0 2.0 4.0 8.0
961 -8 23.9861 9.62826 4.2526 -5.26029e-06 -4.25267 -9.62115 -23.9861
962 -4 13.5796 3.49076 1.09329 -0.000141604 -1.09332 -3.49078 -13.5797
963 -2 10.6018 1.96309 0.405623 3.72998e-06 -0.405629 -1.9631 -10.6018
964 0 7.80344 1.08544 0.117885 2.28405e-05 -0.117891 -1.08545 -7.80341
965 2 7.23067 0.884924 0.0521751 1.8926e-05 -0.0521773 -0.884932 -7.23069
966 4 8.03733 0.901537 0.13761 2.1666e-05 -0.137612 -0.901544 -8.03735
967 8 21.0973 4.02066 0.933718 -1.0396e-06 -0.933731 -4.02069 -21.097
968 12 41.9683 23.6979 11.763 -2.3787e-05 -11.7631 -23.6979 -41.9684
969 </tableData>
970 <tableData breakPoint="8.0">
971 -8 -4 -2 0 2 4 8
972 -8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
973 -4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
974 -2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
975 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
976 2 0.0 0.0 0.0 0.0 0.0 0.0 0.0
977 4 0.0 0.0 0.0 0.0 0.0 0.0 0.0
978 8 0.0 0.0 0.0 0.0 0.0 0.0 0.0
979 12 0.0 0.0 0.0 0.0 0.0 0.0 0.0
980 </tableData>
981 </table>
982 </product>
983 </function>
984 </fcs_function>
985
986 <fcs_function name="hydro/planing-roll-moment-lbsft">
987 <documentation>
988 Roll moment due to planing. Guessed.
989 </documentation>
990 <function>
991 <product>
992 <value>0.001</value>
993 <property>hydro/qbar-u-psf</property>
994 <property>hydro/buoyancy-roll-moment-lbsft</property>
995 <table>
996 <independentVar lookup="row">hydro/float/roll-deg</independentVar>
997 <tableData>
998 -90 0
999 -45 0.7
1000 -8 1
1001 0.0 1
1002 8 1
1003 45 0.7
1004 90 0
1005 </tableData>
1006 </table>
1007 </product>
1008 </function>
1009 </fcs_function>
1010
1011 <fcs_function name="hydro/damping-roll-moment-lbsft">
1012 <function>
1013 <product>
1014 <value>1.0</value>
1015 <value>-8000.0</value> <!-- Guess -->
1016 <property>velocities/phidot-rad_sec</property>
1017 </product>
1018 </function>
1019 </fcs_function>
1020
1021 <fcs_function name="hydro/roll-moment-lbsft">
1022 <function>
1023 <product>
1024 <value>1.0</value>
1025 <property>hydro/active-norm</property>
1026 <sum>
1027 <property>hydro/buoyancy-roll-moment-lbsft</property>
1028 <property>hydro/planing-roll-moment-lbsft</property>
1029 <property>hydro/damping-roll-moment-lbsft</property>
1030 </sum>
1031 </product>
1032 </function>
1033 </fcs_function>
1034
1035 </channel>
1036
1037 </system>