rhoEqn: Do not constrain; would violate conservation

This commit is contained in:
Henry
2015-02-22 16:50:48 +00:00
parent 51abd7e807
commit 64ec856d60
5 changed files with 5 additions and 15 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,8 +40,6 @@ Description
+ fvOptions(rho) + fvOptions(rho)
); );
fvOptions.constrain(rhoEqn);
rhoEqn.solve(); rhoEqn.solve();
fvOptions.correct(rho); fvOptions.correct(rho);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,8 +39,6 @@ Description
+ fvOptions(rho) + fvOptions(rho)
); );
fvOptions.constrain(rhoEqn);
rhoEqn.solve(); rhoEqn.solve();
fvOptions.correct(rho); fvOptions.correct(rho);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -40,8 +40,6 @@ Description
+ fvOptions(rho) + fvOptions(rho)
); );
fvOptions.constrain(rhoEqn);
rhoEqn.solve(); rhoEqn.solve();
fvOptions.correct(rho); fvOptions.correct(rho);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,8 +39,6 @@ Description
+ fvOptions(rho) + fvOptions(rho)
); );
fvOptions.constrain(rhoEqn);
rhoEqn.solve(); rhoEqn.solve();
fvOptions.correct(rho); fvOptions.correct(rho);

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,8 +39,6 @@ Description
+ fvOptions(rho) + fvOptions(rho)
); );
fvOptions.constrain(rhoEqn);
rhoEqn.solve(); rhoEqn.solve();
fvOptions.correct(rho); fvOptions.correct(rho);