5#include <marenv/wake/WakeConstants.h>
6#include <marenv/wake/WakeTypes.h>
LumpedLineSourceResult MakeLumpedLineSource(const LumpedLineSourceInput &input)
LumpedSourceResult MakeLumpedSource(const LumpedSourceInput &input)
KernelParams LumpedKernel(const KernelParams &user)
void SetRelativeFlowFromSamples(const std::vector< FlowSample > &samples, LumpedSourceInput &input)
LumpedSourceResult RelaxLumpedSource(const LumpedSourceInput &input, const LumpedSourceResult &fresh, double previousMomentum, double alpha)
double ReferenceSpeedSquared(const LumpedSourceInput &input)
Definition WakeTypes.h:33
Definition LumpedSource.h:30
double weight
Weight of the sample, such as its panel area; >= 0.
Definition LumpedSource.h:32
double relativeFlow[3]
Relative flow U_p = free stream - point velocity at the sample, m/s, NED.
Definition LumpedSource.h:31
double ambientRelativeFlow[3]
Ambient relative flow U_amb - point velocity at the sample, U_amb the current without any wake (R87),...
Definition LumpedSource.h:33
Definition WakeTypes.h:98
Definition WakeTypes.h:51
Definition LumpedSource.h:156
LineSource source
The line source {rearCentre, e_U, axis, length, width, M}; value-initialised unless casts and not poi...
Definition LumpedSource.h:157
bool casts
False when the object casts no wake (|U_ref| < 1e-3 m/s, M = 0, a zero or non-finite axis,...
Definition LumpedSource.h:158
bool pointFallback
True when the body is nearly along the flow: the caller publishes point instead of source (MENV-0048)...
Definition LumpedSource.h:160
ElementarySource point
The point source of MakeLumpedSource() with the same M, flow direction and centre and the frontal are...
Definition LumpedSource.h:161
bool widened
True when the frontal area was widened to keep the momentum (the width to M / (0.96 L),...
Definition LumpedSource.h:159
Definition LumpedSource.h:66
bool casts
False when the object casts no wake (|U_ref| < 1e-3 m/s, M = 0, or a non-finite input or M).
Definition LumpedSource.h:68
bool widened
True when the area was widened to M / 0.96 to keep the momentum; the caller logs it.
Definition LumpedSource.h:69
ElementarySource source
The source {rearCentre, e_U, A_f, M}, solidity 0; value-initialised when casts is false.
Definition LumpedSource.h:67