NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
pressureVelocityCoupling.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// SPDX-FileCopyrightText: 2023 NeoFOAM authors
3
4#pragma once
5
6
10
11
13{
14
15std::tuple<VolumeField<scalar>, VolumeField<Vector>>
17
20 const SurfaceField<scalar> predictedPhi,
21 const Expression<scalar>& expr
22);
23
26 const VolumeField<Vector>& HbyA,
29);
30
31}
Represents a surface field in a finite volume method.
Represents a volume field in a finite volume method.
void updateFaceVelocity(SurfaceField< scalar > phi, const SurfaceField< scalar > predictedPhi, const Expression< scalar > &expr)
std::tuple< VolumeField< scalar >, VolumeField< Vector > > discreteMomentumFields(const Expression< Vector > &expr)
void updateVelocity(VolumeField< Vector > &U, const VolumeField< Vector > &HbyA, VolumeField< scalar > &rAU, VolumeField< scalar > &p)