MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
fvstructuredcell.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 STRUCTUREDCELL
8#define STRUCTUREDCELL
9
10// contains the structs to store cell information and surface information
12 public:
13 StructuredCell() = default;
14 ~StructuredCell() = default;
15 MFloat** coordinates = nullptr;
17 MFloat** variables = nullptr;
18 MFloat** pvariables = nullptr;
19 MFloat** oldVariables = nullptr;
20 MFloat* temperature = nullptr;
21
22 MFloat** rightHandSide = nullptr;
23
24 MFloat** eFlux = nullptr;
25 MFloat** fFlux = nullptr;
26 MFloat** gFlux = nullptr;
27 MFloat** viscousFlux = nullptr;
28 MFloat** flux = nullptr; // contains the convective flux over the surface
29 MFloat** dxt = nullptr; // volume fluxes for the three cell surfaces
30
31 MFloat** dT = nullptr;
32
33 MFloat** dss = nullptr;
34 MFloat** ql = nullptr;
35 MFloat** qr = nullptr;
36
37 MFloat* cellJac = nullptr;
38 MFloat* oldCellJac = nullptr;
39 MFloat* cornerJac = nullptr;
40 MFloat* surfJac = nullptr;
41
42 MFloat** cellMetrics = nullptr;
43 MFloat** cornerMetrics = nullptr;
46 MFloat** surfaceDist = nullptr;
47 MFloat** cellLength = nullptr;
48
50
51 // fq field
52 MFloat** fq = nullptr;
53 MFloat** stg_fq = nullptr;
54
55 // spongeLayer
56 MFloat* spongeFactor = nullptr;
57
58 // auxillary data
59 MFloat* cf = nullptr;
60 MFloat* cp = nullptr;
61 MFloat* powerVisc = nullptr;
62 MFloat* powerPres = nullptr;
63 MInt* cfOffsets = nullptr;
64 MInt* cpOffsets = nullptr;
65 MInt* powerOffsets = nullptr;
66
67 // least squares
69 MInt* nghbr = nullptr;
70 MInt* numOfNghbr = nullptr;
71
72 // RANS
73 MFloat** saFlux1 = nullptr;
74 MFloat** saFlux2 = nullptr;
75 MFloat* prodDest = nullptr;
76 MFloat* P_keps = nullptr;
78 MBool* isAnomCell = nullptr;
79
80 private:
81 // no private data yet
82};
83
84
85#endif
MFloat ** mgOldCoordinates
MFloat ** cornerMetrics
MFloat ** variables
StructuredCell()=default
~StructuredCell()=default
MFloat ** surfaceMetrics
MFloat ** rightHandSide
MFloat ** coordinates
MFloat * temperature
MFloat ** pvariables
MFloat * localTimeStep
MFloat ** reconstructionConstants
MFloat ** surfaceMetricsSingularity
MFloat ** cellLength
MFloat ** viscousFlux
MFloat ** oldVariables
MFloat ** surfaceDist
MFloat * turbTimeScale
MFloat * spongeFactor
MFloat ** cellMetrics
int32_t MInt
Definition: maiatypes.h:62
double MFloat
Definition: maiatypes.h:52
bool MBool
Definition: maiatypes.h:58