<?xml version="1.0" encoding="UTF-8" ?>
<case app="GenCase4 v4.0.077 (14-08-2018)" date="21-09-2018 11:12:50">
    <casedef>
        <constantsdef>            
            <gravity x="0" y="0" z="0" comment="Gravitational acceleration" units_comment="m/s^2" />
            <rhop0 value="1.29" comment="Reference density of the fluid" units_comment="kg/m^3" />
            <hswl value="0" auto="true" comment="Maximum still water level to calculate speedofsound using coefsound" units_comment="metres (m)" />
            <gamma value="7" comment="Politropic constant for water used in the state equation" />
            <speedsystem value="0" auto="true" comment="Maximum system speed (by default the dam-break propagation is used)" />
            <coefsound value="0" comment="Coefficient to multiply speedsystem" />
            <speedsound value="15" auto="false" comment="Speed of sound to use in the simulation (by default speedofsound=coefsound*speedsystem)" />
            <hdp value="2" comment="Alternative option to calculate the smoothing length (h=hdp*dp)" />
            <cflnumber value="0.2" comment="Coefficient to multiply dt" />
        </constantsdef>
        <mkconfig boundcount="240" fluidcount="9" />
        <geometry>
            <definition dp="0.004">
                <pointmin x="-0.1" y="-0.5" z="-0.2" />
                <pointmax x="0.7" y="0.5" z="0.2" />
            </definition>
            <commands>
                <mainlist>
                    <setshapemode> actual | dp | bound</setshapemode>
                    <setdrawmode mode="full" />
                    <!-- FLUID DOMAIN -->
                    <setmkfluid mk="0" />
                    <drawbox>
                        <boxfill>solid</boxfill>
                        <point x="-0.010" y="-0.2" z="-0.150" />
                        <size x="0.520" y="0.4" z="0.3" />
                    </drawbox>
					<shapeout file="0" reset="true" />
                    <!-- OPEN BOUNDARIES -->
                    <setmkfluid mk="1" />
                    <drawbox>
                        <boxfill>left</boxfill>
                        <point x="-0.010" y="-0.2" z="-0.1500" />
                        <size x="0.520" y="0.4" z="0.3" />
                    </drawbox>
                    <setmkfluid mk="2" />
                    <drawbox>
                        <boxfill>right</boxfill>
                        <point x="-0.010" y="-0.2" z="-0.1500" />
                        <size x="0.520" y="0.4" z="0.3" />
                    </drawbox>

                    <!-- CYLINDER -->
                   	<setmkbound mk="4" />
                  
                     <drawfilestl file="external_wing111.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />				
                    </drawfilestl>
                     <shapeout file="4" reset="true" />               
                    <matrixreset />	
					 
                  <setmkbound mk="5" />
                  
                     <drawfilestl file="external_wing222.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />						
                    </drawfilestl>
					<shapeout file="5" reset="true" />  
					   <matrixreset />	
                     <setmkbound mk="6" />
                  
                     <drawfilestl file="external_wing333.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />						
                    </drawfilestl>
					   <matrixreset />
					   <shapeout file="6" reset="true" />  
					 <setmkbound mk="7" />
                  
                     <drawfilestl file="external_wing444.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />				
                    </drawfilestl>
                 <shapeout file="7" reset="true" />  
                   
                    <matrixreset />		
                  <setmkbound mk="8" />
                  
                     <drawfilestl file="external_wing555.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />						
                    </drawfilestl>
					<shapeout file="8" reset="true" />  
					   <matrixreset />	
                     <setmkbound mk="9" />
                  
                     <drawfilestl file="external_wing666.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.01" />						
                    </drawfilestl>
					<shapeout file="9" reset="true" />  
					   <matrixreset />	
					
                   
                  <setmkbound mk="13" />
                  
                     <drawfilestl file="external_rod111.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="-0.008" z="0.008" />						
                    </drawfilestl>
					<shapeout file="13" reset="true" />  
					   <matrixreset />	
                    
					 <setmkbound mk="14" />
                  
                     <drawfilestl file="external_rod222.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.242" y="0" z="0.008" />						
                    </drawfilestl>
					<shapeout file="14" reset="true" />  
					   <matrixreset />	
                   
					<!-- Wingdown -->
				   	<setmkbound mk="24" />
                  
                     <drawfilestl file="external_wing111.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />				
                    </drawfilestl>
                 <shapeout file="24" reset="true" />  
                   
                    <matrixreset />		
                  <setmkbound mk="25" />
                  
                     <drawfilestl file="external_wing222.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />						
                    </drawfilestl>
					<shapeout file="25" reset="true" />  
					   <matrixreset />	
                     <setmkbound mk="26" />
                  
                     <drawfilestl file="external_wing333.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />						
                    </drawfilestl>
					<shapeout file="26" reset="true" />  
					   <matrixreset />	
					 <setmkbound mk="27" />
                  
                     <drawfilestl file="external_wing444.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />				
                    </drawfilestl>
                 <shapeout file="27" reset="true" />  
                   
                    <matrixreset />		
                  <setmkbound mk="28" />
                  
                     <drawfilestl file="external_wing555.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />						
                    </drawfilestl>
					<shapeout file="28" reset="true" />  
					   <matrixreset />	
                     <setmkbound mk="29" />
                  
                     <drawfilestl file="external_wing666.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="0" z="0.00" />						
                    </drawfilestl>
					<shapeout file="29" reset="true" />  
					                   
                   <matrixreset />	
                  <setmkbound mk="33" />
                  
                     <drawfilestl file="external_rod111.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.25" y="-0.008" z="-0.002" />						
                    </drawfilestl>
					<shapeout file="33" reset="true" />  
					   <matrixreset />	
                   
					 <setmkbound mk="34" />
                  
                     <drawfilestl file="external_rod222.stl">
                        <drawscale x="0.001" y="0.001" z="0.001" />
						<drawmove x="0.242" y="0" z="-0.002" />						
                    </drawfilestl>
					<shapeout file="34" reset="true" />  
					   <matrixreset />	
                   
                    <!-- SOLID BOUNDARY -->
                    <setmkbound mk="1" />
                    <drawbox>
                        <boxfill>solid</boxfill>
                        <point x="-0.100" y="-0.2" z="-0.180" />
                        <size x="0.700" y="0.4" z="0.030" />
                    </drawbox>
                    <setmkbound mk="2" />
                    <drawbox>
                        <boxfill>solid</boxfill>
                        <point x="-0.100" y="-0.2" z="0.150" />
                        <size x="0.700" y="0.4" z="0.030" />
                    </drawbox>
					   
                    <setmkbound mk="3" />
                    <drawbox>
                        <boxfill>solid</boxfill>
                        <point x="-0.100" y="-0.230" z="-0.180" />
                        <size x="0.700" y="0.030" z="0.360" />
                    </drawbox>
					<setmkbound mk="15" />
                    <drawbox>
                        <boxfill>solid</boxfill>
                        <point x="-0.100" y="0.2" z="-0.18000" />
                        <size x="0.700" y="0.030" z="0.360" />
                    </drawbox>
                    <!-- END -->
                  
                </mainlist>
            </commands>
       </geometry>
	   
		<floatings>
            <floating mkbound="4-9"  property="pe-film" >
			<massbody value="0.00007"/>
			  </floating>
			 <floating mkbound="13"  property="pvc" >
			 <translationDOF x="0" y="0" z="0" />
					<rotationDOF x="0" y="0" z="0" />
			 <massbody value="0.00014"/>
			  </floating>
			
			 <floating mkbound="14"  property="pvc" >
			   <translationDOF x="0" y="0" z="0" />
					<rotationDOF x="1" y="0" z="1" />
					<center x="0.246" y="0.00" z="0.012"/>
					<massbody value="0.00014"/>
			 <angularvel>
					<vel time="0"x="13" y="0" z="-7.5"/>
					<vel time="0.01"x="13" y="0" z="-7.5"/>
					<vel time="0.02"x="13" y="0" z="-7.5"/>
					<vel time="0.03"x="13" y="0" z="-7.5"/>
					<vel time="0.04"x="13" y="0" z="-7.5"/>
					<vel time="0.05"x="13" y="0" z="-7.5"/>
					<vel time="0.06"x="-13" y="0" z="7.5"/>
					<vel time="0.07"x="-13" y="0" z="7.5"/>
					<vel time="0.08"x="-13" y="0" z="7.5"/>
					<vel time="0.09"x="-13" y="0" z="7.5"/>
					<vel time="0.10"x="-13" y="0" z="7.5"/>
					<vel time="0.11"x="13" y="0" z="-7.5"/>
					<vel time="0.12"x="13" y="0" z="-7.5"/>
					<vel time="0.13"x="13" y="0" z="-7.5"/>
					<vel time="0.14"x="13" y="0" z="-7.5"/>
					<vel time="0.15"x="13" y="0" z="-7.5"/>
					<vel time="0.16"x="-13" y="0" z="7.5"/>
					<vel time="0.17"x="-13" y="0" z="7.5"/>
					<vel time="0.18"x="-13" y="0" z="7.5"/>
					<vel time="0.19"x="-13" y="0" z="7.5"/>
					<vel time="0.2"x="-13" y="0" z="7.5"/>
					<vel time="0.21"x="13" y="0" z="-7.5"/>
					<vel time="0.22"x="13" y="0" z="-7.5"/>
					<vel time="0.23"x="13" y="0" z="-7.5"/>
					<vel time="0.24"x="13" y="0" z="-7.5"/>
					<vel time="0.25"x="13" y="0" z="-7.5"/>
					<vel time="0.26"x="-13" y="0" z="7.5"/>
					<vel time="0.27"x="-13" y="0" z="7.5"/>
					<vel time="0.28"x="-13" y="0" z="7.5"/>
					<vel time="0.29"x="-13" y="0" z="7.5"/>
					<vel time="0.3"x="-13" y="0" z="7.5"/>
					
				</angularvel>
			     </floating>
				  <floating mkbound="24-29"  property="pe-film2" >
			<massbody value="0.00007"/>
			  </floating>
			 <floating mkbound="33"  property="pvc" >
			 <translationDOF x="0" y="0" z="0" />
					<rotationDOF x="0" y="0" z="0" />
			 <massbody value="0.00014"/>
			  </floating>
			
			 <floating mkbound="34"  property="pvc" >
			   <translationDOF x="0" y="0" z="0" />
					<rotationDOF x="1" y="0" z="1" />
					<center x="0.246" y="0.00" z="0.002"/>
					<massbody value="0.00014"/>
					<angularvel>
						<vel time="0"x="-13" y="0" z="7.5"/>
					<vel time="0.01"x="-13" y="0" z="7.5"/>
					<vel time="0.02"x="-13" y="0" z="7.5"/>
					<vel time="0.03"x="-13" y="0" z="7.5"/>
					<vel time="0.04"x="-13" y="0" z="7.5"/>
					<vel time="0.05"x="-13" y="0" z="7.5"/>
					<vel time="0.06"x="13" y="0" z="-7.5"/>
					<vel time="0.07"x="13" y="0" z="-7.5"/>
					<vel time="0.08"x="13" y="0" z="-7.5"/>
					<vel time="0.09"x="13" y="0" z="-7.5"/>
					<vel time="0.10"x="13" y="0" z="-7.5"/>
					<vel time="0.11"x="-13" y="0" z="7.5"/>
					<vel time="0.12"x="-13" y="0" z="7.5"/>
					<vel time="0.13"x="-13" y="0" z="7.5"/>
					<vel time="0.14"x="-13" y="0" z="7.5"/>
					<vel time="0.15"x="-13" y="0" z="7.5"/>
					<vel time="0.16"x="13" y="0" z="-7.5"/>
					<vel time="0.17"x="13" y="0" z="-7.5"/>
					<vel time="0.18"x="13" y="0" z="-7.5"/>
					<vel time="0.19"x="13" y="0" z="-7.5"/>
					<vel time="0.2"x="13" y="0" z="-7.5"/>
					<vel time="0.21"x="-13" y="0" z="7.5"/>
					<vel time="0.22"x="-13" y="0" z="7.5"/>
					<vel time="0.23"x="-13" y="0" z="7.5"/>
					<vel time="0.24"x="-13" y="0" z="7.5"/>
					<vel time="0.25"x="-13" y="0" z="7.5"/>
					<vel time="0.26"x="13" y="0" z="-7.5"/>
					<vel time="0.27"x="13" y="0" z="-7.5"/>
					<vel time="0.28"x="13" y="0" z="-7.5"/>
					<vel time="0.29"x="13" y="0" z="-7.5"/>
					<vel time="0.3"x="13" y="0" z="-7.5"/>
					
					</angularvel>
			     </floating>
				  </floatings>
		  <properties>
            <propertyfile file="Floating_Materials2.xml" path="materials" />
                    </properties>
        <initials>
            <velocity mkfluid="0" x="2.9" y="0" z="0" />
			 <rotateaxis mkbound="4" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="5" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="6" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="7" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="8" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="9" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="13" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="14" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.012"/>
			    <axisp2 x="0.25" y="1" z="0.012"/>
			  </rotateaxis>
			  <rotateaxis mkbound="24" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
				 </rotateaxis>
			  <rotateaxis mkbound="25" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="26" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="27" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="28" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="29" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="33" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			  <rotateaxis mkbound="34" angle="-30" anglesunits="degrees">
			    <axisp1 x="0.25" y="0" z="0.002"/>
			    <axisp2 x="0.25" y="1" z="0.002"/>
			  </rotateaxis>
			 
        </initials>
        <motion>
            <objreal ref="1">
                <begin mov="1" start="0" finish="200" />
                <mvrect id="1" duration="200">
                    <vel x="2.9" y="0" z="0" units_comment="m/s" />
                </mvrect>
			</objreal>
            <objreal ref="2">
                <begin mov="1" start="0" finish="200" />
                <mvrect id="1" duration="200">
                    <vel x="2.9" y="0" z="0" units_comment="m/s" />
                </mvrect>
			</objreal>
		
			<objreal ref="3">
                <begin mov="1" start="0" finish="200" />
                <mvrect id="1" duration="200">
                    <vel x="2.9" y="0" z="0" units_comment="m/s" />
                </mvrect>
			</objreal>
			<objreal ref="15">
                <begin mov="1" start="0" finish="200" />
                <mvrect id="1" duration="200">
                    <vel x="2.9" y="0" z="0" units_comment="m/s" />
                </mvrect>
			</objreal>
        </motion>
    </casedef>
    <execution>
        <special>
            <chrono>
                 <_savedata value="0.001" comment="Saves CSV with data exchange for each time interval (0=all steps)" />
                <schemescale value="1" comment="Scale used to create the initial scheme of Chrono objects (default=1)" />  	
				<!--<collision activate="true">
				<distancedp value="0.5" />
				<ompthreads value="1" />
				<contactmethod value="0" />
				</collision>-->
				
                 <bodyfloating id="wing1" mkbound="4" modelfile="AutoActual"/>
              <bodyfloating id="wing2" mkbound="5" modelfile="AutoActual"/>
			  <bodyfloating id="wing3" mkbound="6" modelfile="AutoActual"/>
			   <bodyfloating id="wing4" mkbound="7" modelfile="AutoActual"/>
              <bodyfloating id="wing5" mkbound="8" modelfile="AutoActual"/>
			  <bodyfloating id="wing6" mkbound="9" modelfile="AutoActual"/>
			  
			  <bodyfloating id="rod1" mkbound="13" modelfile="AutoActual"/>
			   <bodyfloating id="rod2" mkbound="14" modelfile="AutoActual"/>
			   		
					<bodyfloating id="wing11" mkbound="24" modelfile="AutoActual"/>
              <bodyfloating id="wing22" mkbound="25" modelfile="AutoActual"/>
			  <bodyfloating id="wing33" mkbound="26" modelfile="AutoActual"/>
			   <bodyfloating id="wing44" mkbound="27" modelfile="AutoActual"/>
              <bodyfloating id="wing55" mkbound="28" modelfile="AutoActual"/>
			  <bodyfloating id="wing66" mkbound="29" modelfile="AutoActual"/>
			
			  <bodyfloating id="rod11" mkbound="33" modelfile="AutoActual"/>
			   <bodyfloating id="rod22" mkbound="34" modelfile="AutoActual"/>  
			   <!-- Wingup -->
                <link_hinge  idbody1="rod1">
                    <rotpoint x="0.25" y="-0.004" z="0.012" comment="Point for rotation" /> 
                    <rotvector x="1" y="0" z="0" comment="Vector direction for rotation" />
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_hinge>
				
				 <link_spheric  idbody1="wing6" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
			
				
				   <link_spheric  idbody1="rod2" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 
				 <link_spheric  idbody1="wing2" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="wing3" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				
				 <link_spheric  idbody1="wing4" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="wing5" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="wing1" idbody="rod1">
                    <rotpoint x="0.25" y="0.0" z="0.012" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				
				
				
				  
					 <link_linearspring idbody1="wing1" idbody2="rod1">
                    <point_fb1 x="0.289" y="0" z="-0.0105" comment="Point in body 1" />
                    <point_fb2 x="0.289" y="0" z="-0.0105" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
			
				<link_linearspring idbody1="wing1" idbody2="wing2">
                    <point_fb1 x="0.328" y="0.035" z="-0.033" comment="Point in body 1" />
                    <point_fb2 x="0.328" y="0.035" z="-0.033" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
                
				
                
				<link_linearspring idbody1="wing2" idbody2="wing3">
                    <point_fb1 x="0.328" y="0.065" z="-0.033" comment="Point in body 1" />
                    <point_fb2 x="0.328" y="0.065" z="-0.033" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				
				<link_linearspring idbody1="wing3" idbody2="wing4">
                    <point_fb1 x="0.315" y="0.1025" z="-0.0255" comment="Point in body 1" />
                    <point_fb2 x="0.315" y="0.1025" z="-0.0255" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				    
				<link_linearspring idbody1="wing4" idbody2="wing5">
                    <point_fb1 x="0.302" y="0.14" z="-0.018" comment="Point in body 1" />
                    <point_fb2 x="0.302" y="0.14" z="-0.018" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				    <link_linearspring idbody1="wing5" idbody2="wing6">
                    <point_fb1 x="0.276" y="0.14" z="-0.003" comment="Point in body 1" />
                    <point_fb2 x="0.276" y="0.14" z="-0.003" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				   
				   
				
				
				  			
					  <link_hinge  idbody1="rod2" idbody2="wing6">
                    <rotpoint x="0.25" y="0.07" z="0.012" comment="Point for rotation" />
                    <rotvector x="0" y="1" z="0" comment="Vector direction for rotation" />
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
                </link_hinge>
				  
				  <!-- Wingdown -->
					 <link_hinge  idbody1="rod11">
                    <rotpoint x="0.25" y="-0.004" z="0.002" comment="Point for rotation" /> 
                    <rotvector x="1" y="0" z="0" comment="Vector direction for rotation" />
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_hinge>
				
				
				 <link_spheric  idbody1="wing66" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="rod22" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 
				 <link_spheric  idbody1="wing22" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="wing33" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				
				 <link_spheric  idbody1="wing44" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
				 <link_spheric  idbody1="wing55" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
					<link_spheric  idbody1="wing11" idbody="rod11">
                    <rotpoint x="0.25" y="0.0" z="0.002" comment="Point for rotation" /> 
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
				</link_spheric>
					
				
					 <link_linearspring idbody1="wing11" idbody2="rod11">
                    <point_fb1 x="0.289" y="0" z="-0.0205" comment="Point in body 1" />
                    <point_fb2 x="0.289" y="0" z="-0.0205" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				
				<link_linearspring idbody1="wing11" idbody2="wing22">
                    <point_fb1 x="0.328" y="0.035" z="-0.043" comment="Point in body 1" />
                    <point_fb2 x="0.328" y="0.035" z="-0.043" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
                
				
                
				<link_linearspring idbody1="wing22" idbody2="wing33">
                    <point_fb1 x="0.328" y="0.065" z="-0.043" comment="Point in body 1" />
                    <point_fb2 x="0.328" y="0.065" z="-0.043" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				
				<link_linearspring idbody1="wing33" idbody2="wing44">
                    <point_fb1 x="0.315" y="0.1025" z="-0.0355" comment="Point in body 1" />
                    <point_fb2 x="0.315" y="0.1025" z="-0.0355" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				    
				<link_linearspring idbody1="wing44" idbody2="wing55">
                    <point_fb1 x="0.302" y="0.14" z="-0.028" comment="Point in body 1" />
                    <point_fb2 x="0.302" y="0.14" z="-0.028" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				    <link_linearspring idbody1="wing55" idbody2="wing66">
                    <point_fb1 x="0.276" y="0.14" z="-0.013" comment="Point in body 1" />
                    <point_fb2 x="0.276" y="0.14" z="-0.013" comment="Point in body 2" />
                  <stiffness value="300" comment="Stiffnes [N/m]" />
                    <damping value="0.1" comment="Damping [Ns/m]" />
                    <rest_length value="0.00" comment="Spring equilibrium length [m]" />
                    <savevtk>
						<_nside value="32"comment="number of sections for each revolution. 0=not saved, 1=line (default=16)" />
						<radius value="15" comment="spring radius (default=3)" />
						<length value="1" comment="length for each revolution (default=1)" />
				    </savevtk>
                </link_linearspring>
				   
				    
				
				
				  			
					  <link_hinge  idbody1="rod22" idbody2="wing66">
                    <rotpoint x="0.25" y="0.07" z="0.002" comment="Point for rotation" />
                    <rotvector x="0" y="1" z="0" comment="Vector direction for rotation" />
                    <stiffness value="0" comment="Torsional stiffness [Nm/rad]" />
                    <damping value="0" comment="Torsional damping [Nms/rad]" />
                </link_hinge>
			</chrono>	  
				  
			<inout>
				<memoryresize size0="2" size="4" comment="Initial memory resize (size0) and the following memory resizes according to initial inlet/outlet particles (default=2 and 4)"/>
                <determlimit value="1e+3" comment="Use 1e-3 for first_order or 1e+3 for zeroth_order (default=1e+3)" />
                <!-- INFLOW BUFFER -->
                <inoutzone>
                    <refilling value="0" comment="Refilling mode. 0:Simple full, 1:Simple below zsurf, 2:Advanced for reverse flows (very slow) (default=1)" />
                    <inputtreatment value="2" comment="Treatment of fluid entering the zone. 0:No changes, 1:Convert fluid (necessary for outlet), 2:Remove fluid (recommended for inlet)" />
                    <layers value="4" comment="Number of inlet/outlet particle layers" />
                    <zone3d comment="Input zone for 2D simulations">
                        <particles mkfluid="1" direction="right" />
                    </zone3d>
                    <imposevelocity mode="0" comment="Imposed velocity 0:fixed value, 1:variable value, 2:Extrapolated value (default=0)">
                        <velocity v="2.9" comment="Uniform velocity" units_comment="m/s" />
                    </imposevelocity>
                    <imposerhop mode="2" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)" />
                </inoutzone>
                <!-- OUTFLOW BUFFER -->
                <inoutzone>
                    <refilling value="0" comment="Refilling mode. 0:Simple full, 1:Simple below zsurf, 2:Advanced for reverse flows (very slow) (default=1)" />
                    <inputtreatment value="1" comment="Treatment of fluid entering the zone. 0:No changes, 1:Convert fluid (necessary for outlet), 2:Remove fluid (recommended for inlet)" />
                    <layers value="4" comment="Number of inlet/outlet particle layers" />
                    <zone3d comment="Input zone for 2-D simulations">
                        <particles mkfluid="2" direction="left" />
                    </zone3d>
                    <imposevelocity mode="2" comment="Imposed velocity 0:fixed value, 1:variable value, 2:Extrapolated value (default=0)"/>
                    <imposerhop mode="2" comment="Outlet rhop 0:Imposed fixed value, 1:Hydrostatic, 2:Extrapolated from ghost nodes (default=0)"/>
                </inoutzone>
                <!-- END BUFFERS -->
            </inout>
            <!-- EXTRAPOLATION FOR SOLID BOUNDARY -->
            <boundcorr>
                <determlimit value="1e+3" comment="Use 1e-3 for first_order or 1e+3 for zeroth_order" />
                <mkzone mkbound="1">
					<autoconfig direction="top" comment="Direction (top/bottom/left/right/front/back) to fluid using automatic configuration (only for parallel boxes)" />
                </mkzone>
            </boundcorr>
			
            <boundcorr>
                <determlimit value="1e+3" comment="Use 1e-3 for first_order or 1e+3 for zeroth_order" />
                <mkzone mkbound="2">
					<autoconfig direction="bottom" comment="Direction (top/bottom/left/right/front/back) to fluid using automatic configuration (only for parallel boxes)" />
                </mkzone>
            </boundcorr>
			
			<boundcorr>
                <determlimit value="1e+3" comment="Use 1e-3 for first_order or 1e+3 for zeroth_order" />
                <mkzone mkbound="3">
					<autoconfig direction="front" comment="Direction (top/bottom/left/right/front/back) to fluid using automatic configuration (only for parallel boxes)" />
                </mkzone>
            </boundcorr>
			
			<boundcorr>
                <determlimit value="1e+3" comment="Use 1e-3 for first_order or 1e+3 for zeroth_order" />
                <mkzone mkbound="15">
					<autoconfig direction="back" comment="Direction (top/bottom/left/right/front/back) to fluid using automatic configuration (only for parallel boxes)" />
                </mkzone>
            </boundcorr>
        </special>
        <parameters>
            <parameter key="SavePosDouble" value="0" comment="Saves particle position using double precision (default=0)" />
            <parameter key="StepAlgorithm" value="2" comment="Step Algorithm 1:Verlet, 2:Symplectic (default=1)" />
            <parameter key="VerletSteps" value="0" comment="Verlet only: Number of steps to apply Euler timestepping (default=40)" />
            <parameter key="Kernel" value="2" comment="Interaction Kernel 1:Cubic Spline, 2:Wendland (default=2)" />
            <parameter key="ViscoTreatment" value="2" comment="Viscosity formulation 1:Artificial, 2:Laminar+SPS (default=1)" />
            <parameter key="Visco" value="0.0000148" comment="Viscosity value" />
            <parameter key="ViscoBoundFactor" value="1" comment="Multiply viscosity value with boundary (default=1)" />
            <parameter key="DensityDT" value="2" comment="Density Diffusion Term 0:None, 1:Molteni, 2:Fourtakas, 3:Fourtakas(full) (default=0)" />
            <parameter key="DensityDTvalue" value="0.1" comment="DDT value (default=0.1)" />
            <parameter key="Shifting" value="3" comment="Shifting mode 0:None, 1:Ignore bound, 2:Ignore fixed, 3:Full (default=0)" />
            <parameter key="ShiftCoef" value="-20" comment="Coefficient for shifting computation (default=-2)" />
            <parameter key="ShiftTFS" value="0" comment="Threshold to detect free surface. Typically 1.5 for 2D and 2.75 for 3D (default=0)" />
            <parameter key="RigidAlgorithm" value="3" comment="Rigid Algorithm 0:collision-free, 1:SPH, 2:DEM, 3:Chrono (default=1)" />
            <parameter key="FtPause" value="0.0" comment="Time to freeze the floatings at simulation start (warmup) (default=0)" units_comment="seconds" />
            <parameter key="CoefDtMin" value="0.001" comment="Coefficient to calculate minimum time step dtmin=coefdtmin*h/speedsound (default=0.05)" />
            <parameter key="DtIni" value="0" comment="Initial time step. Use 0 to defult use (default=h/speedsound)" units_comment="seconds" />
            <parameter key="DtMin" value="0" comment="Minimum time step. Use 0 to defult use (default=coefdtmin*h/speedsound)" units_comment="seconds" />
            <parameter key="DtFixed" value="0" comment="Fixed Dt value. Use 0 to disable (default=disabled)" units_comment="seconds" />
            <parameter key="DtFixedFile" value="NONE" comment="Dt values are loaded from file. Use NONE to disable (default=disabled)" units_comment="milliseconds (ms)" />
            <parameter key="DtAllParticles" value="0" comment="Velocity of particles used to calculate DT. 1:All, 0:Only fluid/floating (default=0)" />
            <parameter key="TimeMax" value="0.3" comment="Time of simulation" units_comment="seconds" />
            <parameter key="TimeOut" value="0.001" comment="Time out data" units_comment="seconds" />
            <parameter key="PartsOutMax" value="1" comment="%/100 of fluid particles allowed to be excluded from domain (default=1)" units_comment="decimal" />
            <parameter key="RhopOutMin" value="0.001" comment="Minimum rhop valid (default=700)" units_comment="kg/m^3" />
            <parameter key="RhopOutMax" value="1300" comment="Maximum rhop valid (default=1300)" units_comment="kg/m^3" />
            <parameter key="XPeriodicIncZ" value="0" comment="Increase of Z with periodic BC" />
            <simulationdomain comment="Defines domain of simulation (default=Uses minimun and maximum position of the generated particles)">
                <posmin x="default" y="default" z="default" comment="e.g.: x=0.5, y=default-1, z=default-10%" />
                <posmax x="default" y="default" z="default" />
            </simulationdomain>
        </parameters>
    </execution>
</case>
