zoomy_jax.symsolver.coupling

zoomy_jax.symsolver.coupling#

A reduced arm of a coupling to a resolved free-surface solver (VOF), as one preCICE participant on the JAX symbolic solver: the column exchange (ColumnPreciceAdapter), the Riemann problem towards the characteristic ghost (CoupledFace.characteristic) and the depth row held over each window at the value the peer charges (frozen_mass_row).

The data contract is zoomy_foam.vof’s: the fields [b, h, u, v, w, p] written as <field>_S and read as <field>_V, nz cell-centre heights per coupled face.

Module Contents#

Functions#

column_participant

March nsm on mesh as participant participant of the preCICE configuration config, coupled on the boundary tag tag (preCICE mesh mesh_name) through the column on nz heights; adaptive steps inside each window (cfl, cfl_wave_speed); snapshots every dt_write into the HDF5 store store. Returns store.

Data#

API#

zoomy_jax.symsolver.coupling.FIELDS#

(‘b’, ‘h’, ‘u’, ‘v’, ‘w’, ‘p’)

zoomy_jax.symsolver.coupling.column_participant(nsm, mesh, *, participant, config, mesh_name, tag, nz, store, dt_write, cfl=0.9, cfl_wave_speed=CflWaveSpeed.faces, frozen_mass_row=True)#

March nsm on mesh as participant participant of the preCICE configuration config, coupled on the boundary tag tag (preCICE mesh mesh_name) through the column on nz heights; adaptive steps inside each window (cfl, cfl_wave_speed); snapshots every dt_write into the HDF5 store store. Returns store.