NeoN
A framework for CFD software
Loading...
Searching...
No Matches
coNum.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024 - 2025 NeoN authors
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
8
10{
11
12/* @brief Calculates courant number from the face fluxes.
13 * @param faceFlux Scalar surface field with the flux values of all faces.
14 * @param dt Size of the time step.
15 * @return Maximum courant number.
16 */
18
19} // namespace NeoN
Represents a surface field in a finite volume method.
scalar computeCoNum(const SurfaceField< scalar > &faceFlux, const scalar dt)
float scalar
Definition scalar.hpp:16