MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
fvstructuredsolver3drans.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#ifndef FVSTRUCTUREDSOLVER_3DRANS
8#define FVSTRUCTUREDSOLVER_3DRANS
9
10#include "INCLUDE/maiatypes.h"
11#include "MEMORY/scratch.h"
13#include "fvstructuredsolver.h"
15
17
19 public:
22
23 void initFluxMethod();
24
25 template <MInt noVars>
26 void Muscl_AusmDV();
27 template <MInt noVars>
30 void Muscl(MInt timerId = -1);
31
32 void viscousFluxRANS();
33 void viscousFlux_SA(); // SPALART-ALLMARAS
34 void viscousFlux_FS(); // FARES-SCHROEDER
40
41 protected:
42 class StructuredBndryCnd3DRans* m_structuredBndryCndRans;
43
44 private:
47
54 std::unique_ptr<MConservativeVariables<3>>& CV;
55 std::unique_ptr<MPrimitiveVariables<3>>& PV;
56 std::unique_ptr<StructuredFQVariables>& FQ;
60 static constexpr const MInt nDim = 3;
64
65 const MInt xsd = 0;
66 const MInt ysd = 1;
67 const MInt zsd = 2;
68
69 inline MInt cellIndex(MInt i, MInt j, MInt k);
70 inline MInt getCellIdfromCell(MInt origin, MInt incI, MInt incJ, MInt incK);
71 inline MFloat getPSI(MInt, MInt);
72};
73
74#endif
3D structured solver class
FvStructuredSolver3D * m_solver
void(FvStructuredSolver3DRans::* reconstructSurfaceData)()
std::unique_ptr< StructuredFQVariables > & FQ
MInt getCellIdfromCell(MInt origin, MInt incI, MInt incJ, MInt incK)
MInt cellIndex(MInt i, MInt j, MInt k)
static constexpr const MInt nDim
void(FvStructuredSolver3DRans::* viscFluxMethod)()
void(FvStructuredSolver3DRans::* compTurbVisc)()
std::unique_ptr< MConservativeVariables< 3 > > & CV
std::unique_ptr< MPrimitiveVariables< 3 > > & PV
class StructuredBndryCnd3DRans * m_structuredBndryCndRans
RansMethod
Definition: enums.h:51
int32_t MInt
Definition: maiatypes.h:62
double MFloat
Definition: maiatypes.h:52
bool MBool
Definition: maiatypes.h:58