DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DASolver
DARhoSimpleFoam
createRefsRhoSimple.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
surfaceScalarField&
phi
= phiPtr_();
11
scalar&
cumulativeContErr
= cumulativeContErr_;
12
pressureControl
&
pressureControl
= pressureControlPtr_();
13
initialMass_
= fvc::domainIntegrate(
rho
);
14
const
volScalarField&
psi
=
thermo
.psi();
15
const
dictionary&
allOptions
= daOptionPtr_->getAllOptions();
16
volVectorField&
fvSource
= fvSourcePtr_();
17
volScalarField&
fvSourceEnergy
= fvSourceEnergyPtr_();
18
IOMRFZoneListDF&
MRF
= MRFPtr_();
allOptions
const dictionary & allOptions
Definition:
createRefsRhoSimple.H:15
cumulativeContErr
scalar & cumulativeContErr
Definition:
createRefsRhoSimple.H:11
rho
volScalarField & rho
Definition:
createRefsRhoSimple.H:8
thermo
fluidThermo & thermo
Definition:
createRefsRhoSimple.H:6
MRF
IOMRFZoneListDF & MRF
Definition:
createRefsRhoSimple.H:18
pressureControl
pressureControl & pressureControl
Definition:
createRefsRhoSimple.H:12
simple
simpleControl & simple
Definition:
createRefsRhoSimple.H:5
psi
const volScalarField & psi
Definition:
createRefsRhoSimple.H:14
mesh
fvMesh & mesh
Definition:
createRefsRhoSimple.H:4
phi
surfaceScalarField & phi
Definition:
createRefsRhoSimple.H:10
initialMass_
initialMass_
Definition:
createRefsRhoSimple.H:13
fvSourceEnergy
volScalarField & fvSourceEnergy
Definition:
createRefsRhoSimple.H:17
p
volScalarField & p
Definition:
createRefsRhoSimple.H:7
U
volVectorField & U
Definition:
createRefsRhoSimple.H:9
runTime
Time & runTime
Definition:
createRefsRhoSimple.H:1
fvSource
volVectorField & fvSource
Definition:
createRefsRhoSimple.H:16
Generated by
1.8.17