NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
coNum.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// SPDX-FileCopyrightText: 2024 NeoN authors
3
4#pragma once
5
7
9{
10
11/* @brief Calculates courant number from the face fluxes.
12 * @param faceFlux Scalar surface field with the flux values of all faces.
13 * @param dt Size of the time step.
14 * @return Maximum courant number.
15 */
17
18} // 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:14