Loading [MathJax]/extensions/tex2jax.js
MAIA
bb96820c
Multiphysics at AIA
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
Variables
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
c
e
m
p
s
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
t
u
v
w
Related Functions
a
c
d
f
g
i
l
m
o
p
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
f
g
i
l
m
n
o
p
r
s
t
w
Variables
c
g
h
i
l
m
n
s
Typedefs
a
b
e
g
m
p
r
s
z
Enumerations
a
b
c
d
e
f
g
i
l
m
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
Loading...
Searching...
No Matches
fvcartesianapesolver2d.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 FVAPESOLVER2D_H_
8
#define FVAPESOLVER2D_H_
9
10
#include "
fvcartesiansolverxd.h
"
11
#include "
fvcartesiansyseqnns.h
"
12
13
14
class
FvApeSolver2D
:
public
FvCartesianSolverXD
<2, FvSysEqnNS<2>> {
15
public
:
16
FvApeSolver2D
(
MInt
,
MInt
,
MBool
*,
maia::grid::Proxy<2>
& gridProxy_,
Geometry<2>
& geometry_,
const
MPI_Comm comm);
17
void
Ausm
();
18
MBool
maxResidual
(
MInt
/*mode*/
);
19
MFloat
m_advectionVelocity
[
nDim
];
20
21
private
:
22
static
constexpr
const
MInt
nDim
= 2;
23
};
24
25
// TODO labels:FV
26
// 1) Add the following methods (copy from original FV code and modify for APE):
27
// - Ausm
28
// - computePrimitiveVariables
29
// - computeConservativeVariables
30
// - viscousFlux
31
// - maxResidual (?)
32
// - lhsBnd (?)
33
//
34
// 2) Define new boundary conditions
35
//
36
// 3) Define new initial condition for first test
37
//
38
// Overall strategy:
39
// - Use FV solver "as-is", i.e., only modify as little as absolutely necessary
40
// - Continue to use variable names and nDim+2 variables: u, v, w, p are to be their perturbed
41
// counterparts; set rho to be constant everywhere and just ignore it wherever possible
42
// - Primitive/conservative variables: use same variables everywhere
43
44
#endif
// ifndef FVAPESOLVER2D_H_
FvApeSolver2D
Definition:
fvcartesianapesolver2d.h:14
FvApeSolver2D::maxResidual
MBool maxResidual(MInt)
Computes the global root-mean-square residual. The residual is defined as time derivative of conserva...
Definition:
fvcartesianapesolver2d.cpp:120
FvApeSolver2D::Ausm
void Ausm()
Dispatches the AUSM flux computation for different number of species.
Definition:
fvcartesianapesolver2d.cpp:25
FvApeSolver2D::m_advectionVelocity
MFloat m_advectionVelocity[nDim]
Definition:
fvcartesianapesolver2d.h:19
FvApeSolver2D::nDim
static constexpr const MInt nDim
Definition:
fvcartesianapesolver2d.h:22
FvCartesianSolverXD
Definition:
fvcartesiansolverxd.h:197
Geometry
Definition:
geometry.h:36
maia::grid::Proxy
Definition:
cartesiangridproxy.h:36
fvcartesiansolverxd.h
fvcartesiansyseqnns.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
MFloat
double MFloat
Definition:
maiatypes.h:52
MBool
bool MBool
Definition:
maiatypes.h:58
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
FV
fvcartesianapesolver2d.h
Generated on Sun Jun 16 2024 23:44:06 for MAIA by
1.9.5