flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
centre_of_rotation_gate.py File Reference

Go to the source code of this file.

Namespaces

namespace  centre_of_rotation_gate
 

Functions

 centre_of_rotation_gate.solver (ni, nr, ii, ir)
 
 centre_of_rotation_gate.builder_scene (**kw)
 
 centre_of_rotation_gate.raw_scene ()
 
 centre_of_rotation_gate.net_force (s, steps=300)
 
 centre_of_rotation_gate.check (cond, msg)
 

Variables

 centre_of_rotation_gate.N
 
 centre_of_rotation_gate.R
 
 centre_of_rotation_gate.MU
 
 centre_of_rotation_gate.DT
 
int centre_of_rotation_gate.OMEGA = 1e-3
 
 centre_of_rotation_gate.KI_I
 
 centre_of_rotation_gate.KI_R
 
float centre_of_rotation_gate.x0 = 0.5 * N + 0.3
 
tuple centre_of_rotation_gate.CEN = (x0, x0, x0)
 
bool centre_of_rotation_gate.ok = True
 
 centre_of_rotation_gate.s = solver(*builder_scene(ang_vel=[0, 0, OMEGA]))
 
 centre_of_rotation_gate.c = np.asarray(s.instance_center(0))
 
 centre_of_rotation_gate.ang_vel
 
 centre_of_rotation_gate.center
 
float centre_of_rotation_gate.RP = 8.0
 
 centre_of_rotation_gate.F0 = net_force(s)
 
 centre_of_rotation_gate.Fp = net_force(s)
 
int centre_of_rotation_gate.U = OMEGA * RP
 
 centre_of_rotation_gate.Ft = net_force(s)
 
 centre_of_rotation_gate.rel = np.linalg.norm(F0) / np.linalg.norm(Fp)