wiki:HydroStaticStar

Version 2 (modified by idilernia, 12 years ago) ( diff )

HydroStatic Star

Purpose

This module aims to reproduce a situation of hydrostatic equilibrium (HSE), a condition where a volume of a fluid is at rest or at constant velocity. This occurs when compression due to gravity is balanced by a pressure gradient force.

we can translate the image above into the condition:

Implementation

Two fundamental objects are used by this module:

For this module, the first step to recreate the solution is to determine a 1D profile in hydrostatic equilibrium, this profile can then be applied to a spherically symmetric 3D model using interpolation.

With a little bit of imagination we can think of a 1D column of gas as an array of values:

COLUMN TOP
h5ρ5P5
h4ρ4P4
h3ρ3P3
h2ρ2P2
h1ρ1P1
h0ρ0P0
COLUMN BASE

We can relate each level of the column to an position in an array which contains height (h), density(ρ) and pressure(P).

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.