59#ifndef PECLET_FLOW_VOF_SURFACE_TENSION_HPP
60#define PECLET_FLOW_VOF_SURFACE_TENSION_HPP
62#include <Kokkos_Core.hpp>
63#include <Kokkos_MathematicalConstants.hpp>
64#include <Kokkos_NumericTraits.hpp>
77 const int b =
static_cast<int>(branch + 0.5);
130 return sigma * kf *
dC /
hGrad;
144 return Kokkos::Experimental::infinity_v<double>;
145 return Kokkos::sqrt(
rhoSum * h * h * h / (4.0 * Kokkos::numbers::pi_v<double> * sigma));
flow — thin shim: the container-free VoF height-function / paraboloid curvature kernels (rung V3) now...
double capillaryDt(double rhoSum, double h, double sigma)
Brackbill capillary time-step limit sqrt((ρ₁+ρ₂) h³ / (4πσ)).
bool csfKappaDefined(double branch)
Is the curvature of a cell carrying branch code branch usable?
double csfFaceForce(double sigma, double kf, double dC, double hGrad)
The balanced-force CSF contribution to the momentum RHS at one staggered velocity unknown,...
bool csfFaceCurvature(double k0, double b0, double k1, double b1, double &kf)
Face curvature for the balanced-force CSF, from the two cells sharing the face.