Boundary conditions

class freshkiss3d.FluvialFlowRate
Parameters
  • time_dependent_flowrate (freshkiss3d.TimeDependentFlowrate) – time dependent flowrate to apply on boundary region

  • flowrate (float) – flowrate to apply on boundary region

  • ref (int) – Indice of boundary on which to apply FluvialFlowRate

  • tracers_inlet (dict (str (tracer.label), float (tracer_value))) – tracers inlet values (default: {})

compute_fluxes()

Computes the fluxes at the boundaries type fluvial flow, fixed flowrate.

Examples using freshkiss3d.FluvialFlowRate

Bump

Bump

Bump
Thacker

Thacker

Thacker
Tracer source

Tracer source

Tracer source
River

River

River
Bump mesh convergence

Bump mesh convergence

Bump mesh convergence
Batch

Batch

Batch
Post-processing with Matplotlib

Post-processing with Matplotlib

Post-processing with Matplotlib
class freshkiss3d.FluvialHeight
Parameters
  • time_dependent_height (freshkiss3d.TimeDependentHeight) – time dependent height to apply on boundary region

  • height (float) – height to apply on boundary region

  • ref (int) – Indice of boundary on which to apply FluvialHeight

  • tracers_inlet (dict (str (tracer.label), float (tracer_value))) – tracers inlet values (default: {})

compute_fictive_boundary_states()

Fluvial flow, water height imposed

compute_fluxes()

Computes the fluxes at the boundaries type fluvial flow, fixed water height.

Examples using freshkiss3d.FluvialHeight

Dam break

Dam break

Dam break
Thacker 2d

Thacker 2d

Thacker 2d
Bump

Bump

Bump
Tracer source

Tracer source

Tracer source
River

River

River
Bump mesh convergence

Bump mesh convergence

Bump mesh convergence
Thacker2d mesh convergence

Thacker2d mesh convergence

Thacker2d mesh convergence
Thacker3d mesh convergence

Thacker3d mesh convergence

Thacker3d mesh convergence
Batch

Batch

Batch
Post-processing with Matplotlib

Post-processing with Matplotlib

Post-processing with Matplotlib
class freshkiss3d.TorrentialOut
Parameters

ref (int) – Indice of boundary on which to apply TorrentialOut

compute_fluxes()

Computes the fluxes at the boundaries type torrential flow, free outlet.

Examples using freshkiss3d.TorrentialOut

Bump

Bump

Bump
Thacker

Thacker

Thacker
Bump mesh convergence

Bump mesh convergence

Bump mesh convergence
class freshkiss3d.Slide
Parameters
  • ref (int) – Indice of boundary on which to apply Slide

  • horizontal_viscosity (double) – (default: 0.)

  • wall_friction_coeff (double) – Wall friction coefficient (default: 0.)

compute_fluxes()

Computes the fluxes at the boundaries type, slide.

Examples using freshkiss3d.Slide

Riemann problem 2d

Riemann problem 2d

Riemann problem 2d
Water drop

Water drop

Water drop
Dam break

Dam break

Dam break
Canal

Canal

Canal
Height source

Height source

Height source
Bump

Bump

Bump
Thacker

Thacker

Thacker
Tracer source

Tracer source

Tracer source
Vertical flowrate

Vertical flowrate

Vertical flowrate
River

River

River
Wind effect

Wind effect

Wind effect
Stationnary vortex

Stationnary vortex

Stationnary vortex
Topography source

Topography source

Topography source
Bump mesh convergence

Bump mesh convergence

Bump mesh convergence
Restart

Restart

Restart
Batch

Batch

Batch
Post-processing with Matplotlib

Post-processing with Matplotlib

Post-processing with Matplotlib
class freshkiss3d.VerticalFlowRate
Parameters
  • times (float[]) – Times for which flowrate and tracer are given

  • flowrates (float[size(times)]) – Global flowrate value to apply

  • cells (int[]) – Cells on which to apply boundary condition

  • tracers_inlet (dict (str (tracer.label), float (tracer_value))) – tracers inlet values (default: {})

compute_W()

Computes the vertcial velocity for each cell of the boundary

static from_file()

Initialize VerticalFlowRate from file

indice()

Returns velocity indice corresponding to cell C

Examples using freshkiss3d.VerticalFlowRate

Vertical flowrate

Vertical flowrate

Vertical flowrate