Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
1c1a9836
Commit
1c1a9836
authored
Sep 08, 2011
by
andy
Browse files
ENH: Simplified solvers - removed storePrevIter code
parent
bc952e63
Changes
26
Hide whitespace changes
Inline
Side-by-side
applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C
View file @
1c1a9836
...
...
@@ -68,12 +68,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
rho
.
storePrevIter
();
}
#include
"UEqn.H"
#include
"hEqn.H"
...
...
applications/solvers/compressible/rhoPimpleFoam/rhoPorousMRFLTSPimpleFoam/rhoPorousMRFLTSPimpleFoam.C
View file @
1c1a9836
...
...
@@ -79,12 +79,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
rho
.
storePrevIter
();
}
turbulence
->
correct
();
#include
"UEqn.H"
...
...
applications/solvers/compressible/rhoPimpleFoam/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C
View file @
1c1a9836
...
...
@@ -73,12 +73,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
rho
.
storePrevIter
();
}
#include
"UEqn.H"
#include
"hEqn.H"
...
...
applications/solvers/compressible/rhoSimpleFoam/rhoPorousMRFSimpleFoam/rhoPorousMRFSimpleFoam.C
View file @
1c1a9836
...
...
@@ -59,9 +59,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
rho
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/compressible/rhoSimpleFoam/rhoSimpleFoam.C
View file @
1c1a9836
...
...
@@ -55,9 +55,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
rho
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/compressible/rhoSimplecFoam/rhoSimplecFoam.C
View file @
1c1a9836
...
...
@@ -57,14 +57,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
rho
.
storePrevIter
();
if
(
!
simple
.
transonic
())
{
rho
.
storePrevIter
();
}
// Velocity-pressure-enthalpy SIMPLEC corrector
{
#include
"UEqn.H"
...
...
applications/solvers/heatTransfer/buoyantBaffleSimpleFoam/buoyantBaffleSimpleFoam.C
View file @
1c1a9836
...
...
@@ -58,9 +58,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p_rgh
.
storePrevIter
();
rho
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoam/buoyantBoussinesqPimpleFoam.C
View file @
1c1a9836
...
...
@@ -81,11 +81,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p_rgh
.
storePrevIter
();
}
#include
"UEqn.H"
#include
"TEqn.H"
...
...
applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/buoyantBoussinesqSimpleFoam.C
View file @
1c1a9836
...
...
@@ -71,8 +71,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p_rgh
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/heatTransfer/buoyantPimpleFoam/buoyantPimpleFoam.C
View file @
1c1a9836
...
...
@@ -74,11 +74,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p_rgh
.
storePrevIter
();
}
#include
"UEqn.H"
#include
"hEqn.H"
...
...
applications/solvers/heatTransfer/buoyantSimpleFoam/buoyantSimpleFoam.C
View file @
1c1a9836
...
...
@@ -56,9 +56,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p_rgh
.
storePrevIter
();
rho
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/buoyantSimpleRadiationFoam.C
View file @
1c1a9836
...
...
@@ -59,9 +59,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p_rgh
.
storePrevIter
();
rho
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/incompressible/adjointShapeOptimizationFoam/adjointShapeOptimizationFoam.C
View file @
1c1a9836
...
...
@@ -85,8 +85,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
laminarTransport
.
lookup
(
"lambda"
)
>>
lambda
;
//alpha +=
...
...
@@ -148,8 +146,6 @@ int main(int argc, char *argv[])
U
.
correctBoundaryConditions
();
}
pa
.
storePrevIter
();
// Adjoint Pressure-velocity SIMPLE corrector
{
// Adjoint Momentum predictor
...
...
applications/solvers/incompressible/pimpleFoam/SRFPimpleFoam/SRFPimpleFoam.C
View file @
1c1a9836
...
...
@@ -67,11 +67,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
}
#include
"UrelEqn.H"
// --- PISO loop
...
...
applications/solvers/incompressible/pimpleFoam/pimpleDyMFoam/pimpleDyMFoam.C
View file @
1c1a9836
...
...
@@ -88,11 +88,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
}
#include
"UEqn.H"
// --- PISO loop
...
...
applications/solvers/incompressible/pimpleFoam/pimpleFoam.C
View file @
1c1a9836
...
...
@@ -66,11 +66,6 @@ int main(int argc, char *argv[])
// --- Pressure-velocity PIMPLE corrector loop
for
(
pimple
.
start
();
pimple
.
loop
();
pimple
++
)
{
if
(
pimple
.
nOuterCorr
()
!=
1
)
{
p
.
storePrevIter
();
}
#include
"UEqn.H"
// --- PISO loop
...
...
applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C
View file @
1c1a9836
...
...
@@ -60,8 +60,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
// --- Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C
View file @
1c1a9836
...
...
@@ -56,8 +56,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
// --- Pressure-velocity SIMPLE corrector
{
#include
"UrelEqn.H"
...
...
applications/solvers/incompressible/simpleFoam/porousSimpleFoam/porousSimpleFoam.C
View file @
1c1a9836
...
...
@@ -58,8 +58,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
// Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
applications/solvers/incompressible/simpleFoam/simpleFoam.C
View file @
1c1a9836
...
...
@@ -54,8 +54,6 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
p
.
storePrevIter
();
// --- Pressure-velocity SIMPLE corrector
{
#include
"UEqn.H"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment