/home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/interface_input.hpp Source File

Kynema API: /home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/interface_input.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
interface_input.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <string>
5
7
9
15 std::array<double, 3> gravity{0., 0., 0.};
16
18 double time_step{0.01};
19
21 double rho_inf{0.};
22
24 size_t max_iter{5U};
25
28
30 std::string output_file;
31};
32
33} // namespace kynema::interfaces::cfd
Definition floating_platform.hpp:9
An object describing the configuration of the interface.
Definition interface_input.hpp:13
std::string output_file
Output file path for NetCDF results (empty = no outputs will be written)
Definition interface_input.hpp:30
size_t max_iter
Maximum number of convergence iterations.
Definition interface_input.hpp:24
std::array< double, 3 > gravity
Array of gravity components (XYZ)
Definition interface_input.hpp:15
double time_step
Solver time step.
Definition interface_input.hpp:18
double rho_inf
Solver numerical damping factor (0 = maximum damping)
Definition interface_input.hpp:21
TurbineInput turbine
Turbine input data.
Definition interface_input.hpp:27
A collection of the input objects defining the CFD problem's configuration.
Definition turbine_input.hpp:10