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

Go to the source code of this file.

Classes

class  anderson_oracle.AndersonOracle
class  anderson_oracle.MarchResult

Namespaces

namespace  anderson_oracle

Functions

 anderson_oracle.run_map (solver)
 anderson_oracle.jacobi_eigh (A, tol=1e-15, max_sweeps=50)
 anderson_oracle.scaled_eig (RR)
 anderson_oracle.cond_scaled (lam)
 anderson_oracle.solve_truncated (D, lam, V, b)
 anderson_oracle.pinv_truncated (XX)
 anderson_oracle.gelfand_radius (T)
 anderson_oracle.march_to_steady (solver, monitor, *, rtol=1e-4, max_steps=5000, accelerate=True, window=5, check_every=5, num_passes=3, slow_rate=0.997, roundoff=1e-11, callback=None, oracle_kw=None, holder=None, budget=None, rev=1)
 anderson_oracle.settings_of (name)
 anderson_oracle.build_solver (flow, scheme, N, sdf_fn, L, *, rho, mu, F, dt, advection, settings, vel_sweeps=200)
 anderson_oracle.main ()

Variables

int anderson_oracle.K_MAX_WINDOW = 8
int anderson_oracle.K_ENGAGE_DECREASES = 2
float anderson_oracle.K_RESTART_GROWTH = 4.0
int anderson_oracle.K_MAX_RESTARTS = 5
int anderson_oracle.K_NOISE_FLOOR = 1e-10
int anderson_oracle.K_COND_MIN = 1e-12
int anderson_oracle.K_RITZ_DELTA = 1e-3
int anderson_oracle.K_RITZ_HI = 1e-2
int anderson_oracle.K_RITZ_CONSECUTIVE = 3
int anderson_oracle.K_GELFAND_SQUARINGS = 20
float anderson_oracle.K_RITZ_FLOOR_FACTOR = 1000.0
 anderson_oracle.VELOCITY
 anderson_oracle.PRESSURE
 anderson_oracle.CARRIED
dict anderson_oracle.MAP_STATS = {"calls": 0, "seconds": 0.0, "pressure_iterations": 0}
float anderson_oracle.L1 = 1.0
list anderson_oracle.ZH_PHI = [0.000125, 0.001, 0.008, 0.027, 0.064, 0.125, 0.216, 0.343, 0.45, 0.5236]
list anderson_oracle.ZH_K = [1.096, 1.212, 1.525, 2.008, 2.810, 4.292, 7.442, 15.4, 28.1, 42.1]