This file is indexed.

/usr/share/doc/crrcsim-doc/windfield.txt is in crrcsim-doc 0.9.12-5build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Windfield simulation includes thermals. Please take a look into the
subdirectory "./thermals/" if you are interested.

Currently this file serves as a reminder and notebook on how to handle
windfield simulation in the future.


-------------------------------------------------------------

Changelog:
  2005-10-14: first version


-------------------------------------------------------------




Current state (2005-10-14)
--------------------------
Windfield is hardcoded, which means that (apart from thermals) it is not
worth describing it. Please take a look at windfield.cpp.

What needs to be done
---------------------
 - random variations in direction and strength
 - turbulences (the FDM needs work in this case, too)
 - terrain dependend windfield


How does "Slope Soaring Sim" do it?
-----------------------------------
enviroment.*
wind_field_generator.*
There are some methods "*wind_from_terrain", called from enviroment.cpp.
filtered_separated_wind_from_terrain
How does "runtime" work? Is it Velocity Environment::get_background_wind_from_terrain(const Position & pos,
                                                       bool thermal) const?


How does "JSBSim" do it?
------------------------
src/models/FGAtmosphere.cpp includes different models for turbulence. No
windfield simulation based on terrain. Maybe this is done somewhere else?
There must be a call to void SetWindNED(double wN, double wE, double wD)
somewhere. But I guess that this is in FlightGear, as JSBSim doesn't know
anything about the terrain?