Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
cylinder Namespace Reference

Functions

 initial (name, len)
 
 inflow (msk, msk_size, t, tstep)
 

Variables

 cylinder_json = json.load(open('cylinder.case'))
 
 cb_cylinder_ic = pyneko.initial_condition(initial)
 
 cb_cylinder_if = pyneko.dirichlet_condition(inflow)
 
 cylinder_case
 

Function Documentation

◆ inflow()

cylinder.inflow (   msk,
  msk_size,
  t,
  tstep 
)

Definition at line 27 of file cylinder.py.

◆ initial()

cylinder.initial (   name,
  len 
)

Definition at line 13 of file cylinder.py.

Variable Documentation

◆ cb_cylinder_ic

cylinder.cb_cylinder_ic = pyneko.initial_condition(initial)

Definition at line 45 of file cylinder.py.

◆ cb_cylinder_if

cylinder.cb_cylinder_if = pyneko.dirichlet_condition(inflow)

Definition at line 46 of file cylinder.py.

◆ cylinder_case

cylinder.cylinder_case
Initial value:
1= pyneko.case_init(cylinder_json,
2 cb_initial_condition = cb_cylinder_ic,
3 cb_dirichlet_condition = cb_cylinder_if)
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)

Definition at line 49 of file cylinder.py.

◆ cylinder_json

cylinder.cylinder_json = json.load(open('cylinder.case'))

Definition at line 10 of file cylinder.py.