flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
steady_acceleration_gates.Case Class Reference

Public Member Functions

 __init__ (self, a)
 dt (self, beta=None)
 sdf_global (self, cx, cy, cz)
 K (self, u)
 configure (self, s, settings, beta=None)
 build (self, flow, scheme, settings, beta=None)

Public Attributes

 a = a
float rho = 1.0
 mu = a.mu
float L = 1.0
tuple R = (3.0 * a.phi / (4.0 * math.pi)) ** (1.0 / 3.0) * self.L
float F = 1.0 if a.force is None else a.force
 cen = np.asarray(z["centres"], float)
 rad = np.asarray(z["radii"], float)
float Dm = 2.0 * float(self.rad.mean())
 npart = len(self.rad)
 N = a.N
float h = self.L / self.N

Detailed Description

Geometry + physics of one case; build() returns a configured solver (global, single rank).

Definition at line 66 of file steady_acceleration_gates.py.

Constructor & Destructor Documentation

◆ __init__()

steady_acceleration_gates.Case.__init__ ( self,
a )

Definition at line 69 of file steady_acceleration_gates.py.

Member Function Documentation

◆ dt()

◆ sdf_global()

◆ K()

◆ configure()

◆ build()

Member Data Documentation

◆ a

steady_acceleration_gates.Case.a = a

Definition at line 70 of file steady_acceleration_gates.py.

Referenced by configure(), dt(), K(), and sdf_global().

◆ rho

steady_acceleration_gates.Case.rho = 1.0

Definition at line 71 of file steady_acceleration_gates.py.

Referenced by configure(), and dt().

◆ mu

steady_acceleration_gates.Case.mu = a.mu

Definition at line 72 of file steady_acceleration_gates.py.

Referenced by configure(), dt(), and K().

◆ L

float steady_acceleration_gates.Case.L = 1.0

Definition at line 74 of file steady_acceleration_gates.py.

Referenced by build(), K(), and sdf_global().

◆ R

tuple steady_acceleration_gates.Case.R = (3.0 * a.phi / (4.0 * math.pi)) ** (1.0 / 3.0) * self.L

Definition at line 75 of file steady_acceleration_gates.py.

Referenced by K(), and sdf_global().

◆ F

steady_acceleration_gates.Case.F = 1.0 if a.force is None else a.force

Definition at line 76 of file steady_acceleration_gates.py.

Referenced by configure(), and K().

◆ cen

steady_acceleration_gates.Case.cen = np.asarray(z["centres"], float)

Definition at line 79 of file steady_acceleration_gates.py.

Referenced by sdf_global().

◆ rad

steady_acceleration_gates.Case.rad = np.asarray(z["radii"], float)

Definition at line 80 of file steady_acceleration_gates.py.

Referenced by sdf_global().

◆ Dm

float steady_acceleration_gates.Case.Dm = 2.0 * float(self.rad.mean())

Definition at line 82 of file steady_acceleration_gates.py.

Referenced by K().

◆ npart

steady_acceleration_gates.Case.npart = len(self.rad)

Definition at line 83 of file steady_acceleration_gates.py.

Referenced by K().

◆ N

steady_acceleration_gates.Case.N = a.N

Definition at line 85 of file steady_acceleration_gates.py.

Referenced by build(), configure(), and packing2d.System.solve().

◆ h

float steady_acceleration_gates.Case.h = self.L / self.N

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