.. _capabilities: Capabilities ============ This section documents a non-exhaustive list of current Kynema-SGF capabilities. .. tip:: If your project relies on a capability that is not yet present in Kynema-SGF, please create an issue on the code project page. Please acknowledge as a publication co-author any developer that has significantly contributed to implementing or improving specific capability that was used for that publication. .. tip:: The capabilities are linked to the relevant input file references (keyword `inp`) and documentation (keyword `doc`). Searching for those keywords in the `test/test_files` directory will give concrete examples of the feature usage. Methods and models ------------------ * Numerical methods * Advection: second order, piecewise parabolic, piecewise linear, WENO, Bell-Dawson-Shubin [:ref:`doc `, :ref:`inp `] * Diffusion: second order, explicit, Crank-Nicolson, and implicit [:ref:`doc `, :ref:`inp `] * Mesh refinement: static refinement for specified regions [:ref:`inp `], adaptive mesh refinement [:ref:`inp `] (e.g., field based, curvature, q-criterion, vorticity [:ref:`inp `]) * Mesh mapping for non-uniform cartesian grids [:ref:`doc `, :ref:`inp `] * Equations systems * Incompressible and low Mach formulations of Navier-Stokes :ref:`[doc] ` * Temperature * Level set * Subgrid scale kinetic energy :ref:`[doc] ` * Specific dissipation rate :ref:`[doc] ` * Passive scalar * Source terms for these PDEs [:ref:`doc `, :ref:`inp `] * Turbulence modeling * Large Eddy Simulation: constant Smagorinsky, AMD, one equation :math:`k_{sgs}`, Kosovic [:ref:`doc `, :ref:`inp `] * Wall models: log-law, constant stress, Schumann [:ref:`doc `, :ref:`inp `], dynamic (wave model) [:ref:`doc `, :ref:`inp ` * Reynolds-Average Navier-Stokes: :math:`k`-:math:`\omega` SST (and IDDES variant) and One-equation TKE model of Axell and Liungman [:ref:`doc `, :ref:`inp `] * Transport models * Constant transport coefficients [:ref:`inp `] * Two phase transport (separate coefficients for each material) [:ref:`inp `] Flow physics ------------ * Wind energy physics * Atmospheric boundary layer (ABL): various stability states (stable, unstable, neutral), precursor simulations with inflow boundary planes for wind farm simulations, anelastic formulation, mesoscale forcing, geostrophic forcing, Coriolis forcing, Monin-Obukhov similarity theory, gravity forcing, gravity wave damping [:ref:`inp `] * Actuator turbine representations: Joukowsky disks, uniform disks, actuator line [:ref:`doc `, :ref:`inp `] * Coupling with OpenFAST * Coupling with Nalu-Wind for blade resolved simulations * Multiphase flows [:ref:`doc `] * Prescribed flow cases for verification of volume-of-fluid transport: Zalesak disk, vortex patch * Prescribed flow cases for verification of momentum equation coupled to volume-of-fluid transport: Zalesak disk scalar vel, vortex patch scalar vel * Validation and demonstration cases: sloshing tank, dam break, breaking waves, falling or inertial droplet * Methods to initialize volume-of-fluid field from an initial levelset field * Monitors conservation of mass and momentum * Ocean wave forcing (for multiphase flows) [:ref:`inp `] * Wave types: linear (monochromatic), Stokes (second to fifth order), irregular (input by modes files from HOS-Ocean or HOS-NWT) * Relaxation zones force wave profile to generate waves at lower x boundary or force toward quiescent flat interface at upper x boundary. Wave profile can also be enforced (instead of numerical beach) at upper x boundary for periodic simulations. * Boundary conditions * Periodic, outflow, inflow, walls, user-defined inflows [:ref:`inp `] * Wall models (e.g., wall functions, stress) [:ref:`doc `, :ref:`inp `] * Inflow planes from precursor simulations [:ref:`doc `, :ref:`inp `] * Mesoscale forcing [:ref:`doc `, :ref:`inp `] * Synthetic turbulence [:ref:`inp `] * Arbitrarily spatially and time varying boundary conditions using Python tools [:ref:`inp `] * Sponge layer driven ABL simulations * Geometry * Immersed boundary forcing method with stair-case type terrain and wall function [:ref:`doc `] * Coupling with Nalu-Wind for body-conforming meshes with overset methodology * Miscellaneous cases * Verification and validation cases: method of manufactured solutions, convecting Taylor-Vortex, Rayleigh-Taylor, passive scalar, Burggraf flow, channel flow, Ekman spiral, vortex dipole, vortex ring * Postprocessing * Visualization with VisIt, Paraview, yt * Sampling of fields with planes, point probes, lines, volumes, lidar, and radar [:ref:`doc `, :ref:`inp `] * Sampling of fields at probes that follow free surface of liquid-gas flows [:ref:`inp `] * Scalar outputs such as kinetic energy, enstrophy, total wave energy, and norms [:ref:`doc `, :ref:`inp `] * Turbulence averaging quantities such as Reynolds stresses [:ref:`inp `] * Field plane averaging and second and third order moments * Derived fields and field operators such as vorticity, q-criterion, strain-rates, gradients, divergence, Laplacian [:ref:`inp `] * In-situ post-processing with Ascent * Compression for field files [:ref:`doc `, :ref:`inp `] High performance computing -------------------------- * Highly parallelized and performance portable * Shared memory parallelism with OpenMP threading * Distributed memory parallelism with MPI * Supports all major compilers (e.g., GCC, Intel, LLVM) * Runs on all major GPU vendors (NVIDIA, AMD, Intel) * Supported build systems: cmake, spack * Supported linear solvers * native AMReX solvers such as MLMG [:ref:`inp `] * hypre