Bugfix: correct rhok across processor boundaries
This commit is contained in:
parent
b5e0c156c2
commit
0ca922c6c6
2 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Update density according to Boussinesq approximation
|
// Update density according to Boussinesq approximation
|
||||||
rhok = 1.0 - beta*(T - TRef);
|
rhok = 1.0 - beta*(T - TRef);
|
||||||
|
rhok.correctBoundaryConditions();
|
||||||
|
|
||||||
runTime.write();
|
runTime.write();
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Update density according to Boussinesq approximation
|
// Update density according to Boussinesq approximation
|
||||||
rhok = 1.0 - beta*(T - TRef);
|
rhok = 1.0 - beta*(T - TRef);
|
||||||
|
rhok.correctBoundaryConditions();
|
||||||
|
|
||||||
runTime.write();
|
runTime.write();
|
||||||
|
|
||||||
|
|
Reference in a new issue