WOS Solution

From logy
Jump to navigation Jump to search

goals[edit | edit source]

  • to be as simple as possible to allow simulation in browser (javascript)
  • water masses should be simulated but not relief, in future other substances: rocks, electrofields will be simulated similarly

Societies simulation[edit | edit source]

server should give[edit | edit source]

we may say that wikipedia:Geoid is simulated

grids variants[edit | edit source]

let's start with with k=7(Npix=196608) or 8(Npix=786432 and is heavy for GPU) that corresponds to 1 or 2 of aw:zoom levels and later with

k=8 (Npix=786432) that corresponds to 2, 1024x1024 pixels
k=9 (Npix=3145728) that corresponds to 3 and to Earth2014#5 arc-min
k=11 (Npix=50milion) that corresponds to 5 and to Earth2014#1 arc-min

cells are fixed[edit | edit source]

water is moved not coordinates, however after Earch axis shift coordinates may be shifted too + the whole world ocean is covered easily

cells may be moved[edit | edit source]

like in aw:SPH techniques

  • spheres

- complex calculations of depths, not needed during coastlines calculations

  • cylinders or cones with top in the Earth center

+ swirls may be modeled

physics[edit | edit source]

requirements:[edit | edit source]

1 version[edit | edit source]

  • Earth is the single solid and the single crystal
  • gravitational interaction is simulated but not electromagnetic
  • water velocity (friction and viscosity) is ignored

algorithm[edit | edit source]

plan[edit | edit source]

wos:Polygons forming[edit | edit source]

  • for-cycle all cells
polygon is split on pairs of basins; first one in pair is a key of the SortedList
  • from simple cell to more complex:
concepts: cell, border (between 2 cells), area (with center)
  1. 1 cell - 1 area
  2. a border grows from the cell
    border connects with the cell - 2 areas
  3. second border grows from the cell
  4. second border connects with the cell - 3 areas

two levels of detail[edit | edit source]

two detail levels of grid: for contour and for forces

Let's consider every basin(an atomic non-deviding part) in the wikipedia:Non-inertial reference frame. Centrifugal and coriolis forces form geoid surface.

Waves inside of basin are never calculated. Basin has mass, mass center, square (and mean height); height in mass center.

big real data[edit | edit source]

simple for-cycle is too slow, trees are needed

done[edit | edit source]

  • start
  1. loop through all relief, form basins
  2. check forces at basins borders - must be 0
mean relief data
  • axis change influences
  1. on geoidNormal
  2. calculate how water should be reassigned between basins
  3. reassign water
  4. not done: calculate some contour and go to 2.
  • export-import
  1. initial conditions: geiod, relief accuracy
  2. algorithms run
  3. resulted basins grouped by K

obsolete[edit | edit source]

may work without contouring #cells may be moved

  1. loop through relief to find all closed water volumes (world ocean and inner seas)
    • Caspian sea is 500km from the nearest sea, Azov sea is the 70km radius polygon.
    • calculate all water volume
  2. divide water volumes on polygons with goal to occupy as much water as possible with minimal polygons quantity
    • let polygon will be in deepest places and not to much close to each other