FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::wake::WakeComposition Struct Reference

#include <WakeTypes.h>

Public Member Functions

void Apply (double vel[3]) const
 Applies the wake in place to a water velocity: vel += d_tot (u_s - vel), then vel += sum Δu_j if any jet contributed (so without jets the bits are those of the deficit step alone); marenv::SumWaterVelocity() of the current, the wakes and the jets.
 

Public Attributes

double deficit
 d_tot = 1 - (1 - D) (1 - d_own), D the momentum-flux composition of the registered d_i (R95), in [0, 1].
 
double sourceVelocity [3]
 Deficit-weighted mean of the source velocities u_s,i, m/s, NED; zero when d_tot = 0.
 
int numSources
 Number of wake fields with a non-zero deficit.
 
double jetVelocity [3] = {}
 Sum of the jet fields' excess velocities Δu_j, m/s, NED (ADR 0003).
 
int numJets = 0
 Number of jet fields with a finite, non-zero excess velocity.
 

Detailed Description

The combined wake of several fields at one point: the composed deficit and the summed jets (ADR 0003).

The jet members have default initializers, so an aggregate initializer of the first three members ({d, {u_s}, n}) still compiles and composes no jet.


The documentation for this struct was generated from the following file: