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

Functions

 sphere_c (sub=4)
 
 translating (cls, bfp=None)
 
 rayleigh_taylor_vof (cls, N=48, NZ=96, g=0.005, mu=0.002, steps=240, cfl=0.2, dt0=1.0)
 
 main ()
 

Variables

 N
 
 R
 
 RATIO
 
 SIGMA
 
 MU
 
 U0
 

Detailed Description

WO-V3 (doc/collocated_varrho_forces.md ยง8, Q4/Q5) -- an INSTRUMENT that decides the motion
rating of the collocated variable-density path; report only, not a gate.

1. Translating drop, ratio 1000: a heavy drop (R = 6) in a periodic 32^3 box, seeded with the
   uniform velocity U = 0.05 along x, no gravity, sigma = 0.01, mu = 0.01. The exact solution
   translates rigidly with U forever. After the drop has crossed one box length: max|u - U|
   (spurious currents), the colour volume drift, and the L1 shape error against the initial colour
   (the box is periodic, so after one length the exact colour IS the initial one). Staggered
   (enable_vof_momentum, the ratio-1000 reference), collocated V8 with the balanced-force
   projection ON (the default) and OFF.
2. Rayleigh-Taylor, ratio 3 (Atwood 0.5): tests/study/rayleigh_taylor.py's sharp-VoF case on both
   grids, the interface amplitude at t = 40, 80, ..., 240.

Run: OMP_NUM_THREADS=8 OMP_PROC_BIND=false PYTHONPATH=<build> python tests/study/colocated_varrho_motion.py

Function Documentation

◆ sphere_c()

colocated_varrho_motion.sphere_c (   sub = 4)

Definition at line 24 of file colocated_varrho_motion.py.

Referenced by translating().

◆ translating()

colocated_varrho_motion.translating (   cls,
  bfp = None 
)

Definition at line 37 of file colocated_varrho_motion.py.

References sphere_c().

Referenced by main().

◆ rayleigh_taylor_vof()

colocated_varrho_motion.rayleigh_taylor_vof (   cls,
  N = 48,
  NZ = 96,
  g = 0.005,
  mu = 0.002,
  steps = 240,
  cfl = 0.2,
  dt0 = 1.0 
)

Definition at line 70 of file colocated_varrho_motion.py.

Referenced by main().

◆ main()

colocated_varrho_motion.main ( )

Definition at line 107 of file colocated_varrho_motion.py.

References main(), rayleigh_taylor_vof(), and translating().

Referenced by main().

Variable Documentation

◆ N

colocated_varrho_motion.N

Definition at line 21 of file colocated_varrho_motion.py.

◆ R

colocated_varrho_motion.R

Definition at line 21 of file colocated_varrho_motion.py.

◆ RATIO

colocated_varrho_motion.RATIO

Definition at line 21 of file colocated_varrho_motion.py.

◆ SIGMA

colocated_varrho_motion.SIGMA

Definition at line 21 of file colocated_varrho_motion.py.

◆ MU

colocated_varrho_motion.MU

Definition at line 21 of file colocated_varrho_motion.py.

◆ U0

colocated_varrho_motion.U0

Definition at line 21 of file colocated_varrho_motion.py.