DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DASolver
DATurboFoam
createRefsTurbo.H
Go to the documentation of this file.
1
Time&
runTime
= runTimePtr_();
2
// reset time to 0
3
runTime
.setTime(0.0, 0);
4
fvMesh&
mesh
= meshPtr_();
5
simpleControl&
simple
= simplePtr_();
6
fluidThermo&
thermo
= pThermoPtr_();
7
volScalarField&
p
=
thermo
.p();
8
volScalarField&
rho
= rhoPtr_();
9
volVectorField&
U
= UPtr_();
10
volVectorField&
URel
= URelPtr_();
11
surfaceScalarField&
phi
= phiPtr_();
12
scalar&
cumulativeContErr
= cumulativeContErr_;
13
pressureControl
&
pressureControl
= pressureControlPtr_();
14
initialMass_
= fvc::domainIntegrate(
rho
);
15
const
volScalarField&
psi
=
thermo
.psi();
16
const
dictionary&
allOptions
= daOptionPtr_->getAllOptions();
17
IOMRFZoneListDF&
MRF
= MRFPtr_();
simple
simpleControl & simple
Definition:
createRefsTurbo.H:5
allOptions
const dictionary & allOptions
Definition:
createRefsTurbo.H:16
cumulativeContErr
scalar & cumulativeContErr
Definition:
createRefsTurbo.H:12
URel
volVectorField & URel
Definition:
createRefsTurbo.H:10
p
volScalarField & p
Definition:
createRefsTurbo.H:7
runTime
Time & runTime
Definition:
createRefsTurbo.H:1
MRF
IOMRFZoneListDF & MRF
Definition:
createRefsTurbo.H:17
thermo
fluidThermo & thermo
Definition:
createRefsTurbo.H:6
phi
surfaceScalarField & phi
Definition:
createRefsTurbo.H:11
psi
const volScalarField & psi
Definition:
createRefsTurbo.H:15
mesh
fvMesh & mesh
Definition:
createRefsTurbo.H:4
initialMass_
initialMass_
Definition:
createRefsTurbo.H:14
rho
volScalarField & rho
Definition:
createRefsTurbo.H:8
U
volVectorField & U
Definition:
createRefsTurbo.H:9
pressureControl
pressureControl & pressureControl
Definition:
createRefsTurbo.H:13
Generated by
1.8.17