fluid timestep
AcousticTimeStep
Real AcousticTimeStep::reduce(size_t index_i, Real dt)
{
return fluid_.getSoundSpeed(p_[index_i], rho_[index_i]) + vel_[index_i].norm();
}Real AcousticTimeStep::outputResult(Real reduced_value)
{
// since the particle does not change its configuration in pressure relaxation step
// I chose a time-step size according to Eulerian method
return acousticCFL_ * h_min_ / (reduced_value + TinyReal);
}SurfaceTensionTimeStep
AdvectionTimeStep
AdvectionViscousTimeStep
Last updated