tud_lbm.operators.macroscopic.eos
Equation-of-state operators for multiphase macroscopic computation.
Public API: build_eos_fn()
Functions
|
Build an EOS callable with bound parameters. |
Package Contents
- tud_lbm.operators.macroscopic.eos.build_eos_fn(eos: str, mp: tud_lbm.operators.macroscopic.MultiphaseParams) tud_lbm.operators.protocols.EOSFunction[source]
Build an EOS callable with bound parameters.
- Parameters:
eos – EOS scheme name from config (e.g.
"double-well").mp –
MultiphaseParamscarrying all EOS-specific scalars.
- Returns:
A bound
EOSFunctioneos_fn(rho) -> mu_0.- Raises:
ValueError – If eos is not registered in the EOS registry.