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

Here we simulate a homogeneous domain containing a single spherical bubble of higher temperature. More...

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

Public Member Functions

 evaluate_perturbation (self)
 
- Public Member Functions inherited from scenarios.navier_stokes_bubbles.NavierStokesBubbles
 __init__ (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)
 

Additional Inherited Members

- Static Public Attributes inherited from scenarios.navier_stokes_bubbles.NavierStokesBubbles
int cv = 1 / (1.4 - 1) * 287.058
 
- Protected Attributes inherited from scenarios.navier_stokes_bubbles.NavierStokesBubbles
 _reference_pressure
 
 _background_potential_temperature
 
- Static Protected Attributes inherited from scenarios.navier_stokes_bubbles.NavierStokesBubbles
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

Here we simulate a homogeneous domain containing a single spherical bubble of higher temperature.

Due to the higher temperature the bubble will rise and diffuse outward.

The bubble is best visualised in the potential temperature

Definition at line 211 of file navier_stokes_bubbles.py.

Member Function Documentation

◆ evaluate_perturbation()

scenarios.navier_stokes_bubbles.NavierStokesCosineBubble.evaluate_perturbation ( self)

Reimplemented from scenarios.navier_stokes_bubbles.NavierStokesBubbles.

Definition at line 220 of file navier_stokes_bubbles.py.


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