|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstring>#include <Kokkos_Core.hpp>#include <stdexcept>#include <string>#include <vector>#include "flow_ibm.hpp"#include "peclet/core/common/types.hpp"#include "peclet/core/decomp/block_decomposer.hpp"Go to the source code of this file.
Typedefs | |
| using | IbmSolver |
Functions | |
| static std::vector< double > | blobs () |
| static std::vector< double > | slice (const std::vector< double > &g, int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static void | build (IbmSolver &s, std::size_t cells) |
| static void | configure (IbmSolver &s, const std::vector< double > &forceLocal) |
| static std::vector< double > | gatherGlobal (const std::vector< double > &local, int ox, int oy, int oz, int lnx, int lny, int lnz, int rank, int size) |
| static double | maxAbsDiff (const std::vector< double > &a, const std::vector< double > &b) |
| static double | maxAbs (const std::vector< double > &a) |
| static double | mean (const std::vector< double > &a) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 3 |
| static constexpr std::size_t | GCELLS = (std::size_t)N * N * N |
| static constexpr double | U_SUP = 0.02 |
| using peclet::flow::IbmSolver |
Definition at line 5663 of file flow_ibm.hpp.
|
static |
Definition at line 46 of file test_superficial_velocity_mpi.cpp.
Referenced by main().
|
static |
Definition at line 61 of file test_superficial_velocity_mpi.cpp.
References N.
Referenced by main().
|
static |
Definition at line 73 of file test_superficial_velocity_mpi.cpp.
Referenced by vof_blocks_ns::gate_contact(), vof_blocks_ns::gate_pair(), main(), and solver::run().
|
static |
Definition at line 79 of file test_superficial_velocity_mpi.cpp.
Referenced by main().
|
static |
Definition at line 89 of file test_superficial_velocity_mpi.cpp.
Referenced by main().
|
static |
Definition at line 126 of file test_superficial_velocity_mpi.cpp.
Referenced by main().
|
static |
Definition at line 136 of file test_superficial_velocity_mpi.cpp.
Referenced by main().
|
static |
Definition at line 142 of file test_superficial_velocity_mpi.cpp.
Referenced by vof_scriven::_mdot_scene(), study_avg_velocity_spheres::amr_worker(), mg_coarse_wall::bicgstab_its(), mg_coarse_wall::build_hierarchy(), vof_scriven::carry_probe(), precision_ab::case_contrast(), precision_ab::case_perm(), precision_ab::case_porous(), precision_ab::case_zh(), dvd_cavity::cavity(), test_scalar_inflow::check_plug(), anderson_rev1_probes::cmd_certify(), anderson_rev1_probes::cmd_phase_a(), gsv9_split::cmd_prod(), pocket_mask_probe::cmd_run(), anderson_rev1_probes::cmd_slowmode(), gsv2::colour(), mg_advection::contraction(), mg_coarse_wall::contraction(), vof_scriven::cylinder_colour_chunked(), vof_profile::cylinder_fractions(), vof_surface_tension::cylinder_fractions(), collocated_neutral_probe::diag(), collocated_zh_ab::drag(), collocated_zh_embed::drag(), collocated_zh_embed6::drag(), collocated_zh_ghostproj::drag(), collocated_zh_hybrid::drag(), collocated_zh_schemes::drag(), staggered_zh_ghostproj::drag(), staggered_zh_ghostproj_modes::drag(), zh_collocated_gap::drag(), tracers::est_fpt(), staggered_zh_exact_norms::exact_openness(), fv_operator_truncation::face_open(), fv_wallflux_apriori::face_openness(), micromodel_2d::front_stats(), vof_cutcell::g5(), wall_transform_gate::gate_b(), vof_surface_tension::gate_lamb(), gsv1.StepMap::gauge(), peclet::flow::CutcellMG::globalMean(), mg_advection::hierarchy(), vof_scriven::initial_temperature(), mg_advection::krylov_its(), anderson_oracle::main(), imbibition_packing::main(), main(), micromodel_2d::main(), pocket_pressure_probe::main(), vof_channel_18::main(), collocated_neutral_probe::march(), collocated_s1_reconciliation::march(), flatwall_displacement::march(), moving_step_bench::march(), peclet::flow::meanSubtractCell(), peclet::flow::CutcellMG::meanSubtractHostCounted(), peclet::flow::CutcellMG::meanSubtractMaxTo(), anderson_synthetic_maps.LinearMapSolver::monitor(), anderson_synthetic_maps.LinearMapSolver::monitor_exact(), staggered_zh_exact_norms::norms(), pocket_pressure_probe::outputs(), verify_velocity_mg_staircase_packing_sdflow::packing_sdf(), peclet::flow::CutcellMG::pcgUpdateMeanMaxDist(), rcp_permeability_ab::permeability(), vof_scriven::plane_colour(), vof_scriven::plane_colour_periodic(), gsv56::plane_fractions(), gsv9::plane_fractions(), micromodel_2d::posts(), mg_advection::precond(), DistMG::removeMean(), peclet::flow::CutcellMG::removeMean(), peclet::flow::FlowReference::removeMean(), peclet::flow::MgPoisson::removeMean(), peclet::flow::ScalarMG::removeMean(), Reduce::removeMean(), peclet::flow::CutcellMG::removeMeanDotDist(), peclet::flow::CutcellMG::removeMeanDotTo(), peclet::flow::ScalarMG::removeMeanTwo(), full_stress_gates::rotcore(), collocated_checkerboard_tail::run(), disc_bc::run(), duct_re_gate::run(), flatwall_displacement::run(), force_gate::run(), fresh_cell_gate::run(), galilean_gate::run(), galilean_re_gate::run(), micromodel_2d::run(), staggered_zh_exact_norms::run(), three_solver_study::run(), verify_anisotropic_spheres::run(), verify_chebyshev_sdflow::run(), verify_colocated_spheres::run(), verify_velocity_mg_staircase_packing_sdflow::run(), verify_velocity_mg_staircase_zh_sdflow::run(), sdflow_regression::run_case(), ghost_collocated_apriori::run_chain(), study_avg_velocity_spheres::run_flow(), staggered_vs_colocated::run_one(), validate_zick_homsy_sdflow::run_sdflow(), run_channel_18::sample(), vof_momentum_consistency::scene_droplet(), settling_gate::settle(), setupAndSolve(), zh_wallband_diff::solve(), vof_scriven::sphere_colour_chunked(), run_channel_18::sphere_frac(), vof_channel_18::sphere_frac(), gsv56::sphere_fractions(), run_case_a::sphere_fractions(), vof_profile::sphere_fractions(), vof_surface_tension::sphere_fractions(), collocated_s1_reconciliation::stats(), collocated_checkerboard_tail::structure(), vof_orb_weights::swarm_colour(), ghost_projection_apriori::test_solve(), cutwall_newton_audit::tow(), cutwall_tow_drag::tow(), steady_acceleration_gates::umean(), test_march_to_steady::umean(), mg_advection::vcycle(), mg_coarse_wall::vcycle(), and worstPlane().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 149 of file test_superficial_velocity_mpi.cpp.
References blobs(), build(), configure(), gatherGlobal(), GCELLS, peclet::flow::Solver< Grid >::getVelocity(), peclet::flow::Solver< Grid >::lastSuperficialVelocityShift(), maxAbs(), maxAbsDiff(), mean(), N, peclet::flow::Solver< Grid >::setSuperficialVelocity(), slice(), peclet::flow::Solver< Grid >::step(), STEPS, and U_SUP.
|
staticconstexpr |
Definition at line 41 of file test_superficial_velocity_mpi.cpp.
|
static |
Definition at line 41 of file test_superficial_velocity_mpi.cpp.
Definition at line 42 of file test_superficial_velocity_mpi.cpp.
|
staticconstexpr |
Definition at line 43 of file test_superficial_velocity_mpi.cpp.
Referenced by main().