Peano
Loading...
Searching...
No Matches
scenarios.navier_stokes_bubbles.NavierStokesBubbles Class Reference

Scenarios described in doi.org/10.1007/978-3-030-43229-4_27. More...

Inheritance diagram for scenarios.navier_stokes_bubbles.NavierStokesBubbles:
Collaboration diagram for scenarios.navier_stokes_bubbles.NavierStokesBubbles:

Public Member Functions

 __init__ (self)
 
 evaluate_perturbation (self)
 
 evaluate_hydrostatic_pressure (self)
 
 initial_conditions (self)
 
 boundary_conditions (self)
 
 mapQuantities (self)
 
- Public Member Functions inherited from scenarios.scenario.Scenario
 refinement_criterion (self)
 
 analytical_solution (self)
 
 set_global_simulation_parameters (self, project)
 

Static Public Attributes

int cv = 1 / (1.4 - 1) * 287.058
 

Protected Attributes

 _reference_pressure
 
 _background_potential_temperature
 

Static Protected Attributes

int _dimensions = 2
 
float _offset = 0.0
 
float _domain_size = 1000.0
 
bool _periodic_bc = False
 
float _plot_dt = 50.0
 
int _end_time = 100
 
 _equation
 
float _reference_pressure = 100000.0
 
float _background_potential_temperature = 300.0
 
- Static Protected Attributes inherited from scenarios.scenario.Scenario
 _equation = None
 
int _dimensions = 2
 
float _end_time = 1.0
 
float _plot_dt = 0.1
 
float _offset = 0.0
 
float _domain_size = 1.0
 
bool _periodic_bc = False
 

Detailed Description

Scenarios described in doi.org/10.1007/978-3-030-43229-4_27.

Simulation of cloud formations via the compressible Navier-Stokes equations. See the function 'mapQuantities' below for a note on the visualisation.

Definition at line 12 of file navier_stokes_bubbles.py.

Constructor & Destructor Documentation

◆ __init__()

scenarios.navier_stokes_bubbles.NavierStokesBubbles.__init__ ( self)

Definition at line 46 of file navier_stokes_bubbles.py.

Member Function Documentation

◆ boundary_conditions()

◆ evaluate_hydrostatic_pressure()

scenarios.navier_stokes_bubbles.NavierStokesBubbles.evaluate_hydrostatic_pressure ( self)

Definition at line 52 of file navier_stokes_bubbles.py.

Referenced by scenarios.navier_stokes_bubbles.NavierStokesBubbles.boundary_conditions().

Here is the caller graph for this function:

◆ evaluate_perturbation()

scenarios.navier_stokes_bubbles.NavierStokesBubbles.evaluate_perturbation ( self)

◆ initial_conditions()

scenarios.navier_stokes_bubbles.NavierStokesBubbles.initial_conditions ( self)

Reimplemented from scenarios.scenario.Scenario.

Definition at line 66 of file navier_stokes_bubbles.py.

◆ mapQuantities()

Field Documentation

◆ _background_potential_temperature [1/2]

float scenarios.navier_stokes_bubbles.NavierStokesBubbles._background_potential_temperature = 300.0
staticprotected

◆ _background_potential_temperature [2/2]

scenarios.navier_stokes_bubbles.NavierStokesBubbles._background_potential_temperature
protected

◆ _dimensions

◆ _domain_size

float scenarios.navier_stokes_bubbles.NavierStokesBubbles._domain_size = 1000.0
staticprotected

◆ _end_time

int scenarios.navier_stokes_bubbles.NavierStokesBubbles._end_time = 100
staticprotected

◆ _equation

scenarios.navier_stokes_bubbles.NavierStokesBubbles._equation
staticprotected
Initial value:
= NavierStokes(
dimensions=2,
use_advection=False,
use_background_state=True,
use_gravity=True,
use_viscosity=True,
gamma=1.4,
cv=cv,
gas_constant=287.058,
reference_viscosity=0.01,
Pr=0.71,
)

Definition at line 30 of file navier_stokes_bubbles.py.

Referenced by scenarios.navier_stokes_bubbles.NavierStokesBubbles.boundary_conditions(), and scenarios.navier_stokes_bubbles.NavierStokesBubbles.mapQuantities().

◆ _offset

float scenarios.navier_stokes_bubbles.NavierStokesBubbles._offset = 0.0
staticprotected

◆ _periodic_bc

bool scenarios.navier_stokes_bubbles.NavierStokesBubbles._periodic_bc = False
staticprotected

◆ _plot_dt

float scenarios.navier_stokes_bubbles.NavierStokesBubbles._plot_dt = 50.0
staticprotected

◆ _reference_pressure [1/2]

float scenarios.navier_stokes_bubbles.NavierStokesBubbles._reference_pressure = 100000.0
staticprotected

◆ _reference_pressure [2/2]

scenarios.navier_stokes_bubbles.NavierStokesBubbles._reference_pressure
protected

◆ cv

int scenarios.navier_stokes_bubbles.NavierStokesBubbles.cv = 1 / (1.4 - 1) * 287.058
static

Definition at line 29 of file navier_stokes_bubbles.py.


The documentation for this class was generated from the following file: