DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DASolver
DARhoSimpleCFoam
createRefsRhoSimpleC.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();
allOptions
const dictionary & allOptions
Definition:
createRefsRhoSimpleC.H:15
pressureControl
pressureControl & pressureControl
Definition:
createRefsRhoSimpleC.H:12
runTime
Time & runTime
Definition:
createRefsRhoSimpleC.H:1
simple
simpleControl & simple
Definition:
createRefsRhoSimpleC.H:5
p
volScalarField & p
Definition:
createRefsRhoSimpleC.H:7
initialMass_
initialMass_
Definition:
createRefsRhoSimpleC.H:13
cumulativeContErr
scalar & cumulativeContErr
Definition:
createRefsRhoSimpleC.H:11
mesh
fvMesh & mesh
Definition:
createRefsRhoSimpleC.H:4
thermo
fluidThermo & thermo
Definition:
createRefsRhoSimpleC.H:6
phi
surfaceScalarField & phi
Definition:
createRefsRhoSimpleC.H:10
U
volVectorField & U
Definition:
createRefsRhoSimpleC.H:9
psi
const volScalarField & psi
Definition:
createRefsRhoSimpleC.H:14
rho
volScalarField & rho
Definition:
createRefsRhoSimpleC.H:8
Generated by
1.8.17