NeoN
A framework for CFD software
Loading...
Searching...
No Matches
include
NeoN
finiteVolume
cellCentred
auxiliary
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
7
#include "
NeoN/finiteVolume/cellCentred/fields/surfaceField.hpp
"
8
9
namespace
NeoN::finiteVolume::cellCentred
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
*/
17
scalar
computeCoNum
(
const
SurfaceField<scalar>
& faceFlux,
const
scalar
dt);
18
19
}
// namespace NeoN
NeoN::finiteVolume::cellCentred::SurfaceField
Represents a surface field in a finite volume method.
Definition
surfaceField.hpp:27
NeoN::finiteVolume::cellCentred
Definition
fieldCollection.hpp:20
NeoN::finiteVolume::cellCentred::computeCoNum
scalar computeCoNum(const SurfaceField< scalar > &faceFlux, const scalar dt)
NeoN::scalar
float scalar
Definition
scalar.hpp:16
surfaceField.hpp
Generated by
1.9.8