chtMultiRegionFoam: Updated temperature diagnostics
Patch provided by Daniel Jasinski Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1843
This commit is contained in:
parent
8685344a0b
commit
2f8531de49
2 changed files with 6 additions and 4 deletions
|
|
@ -5,8 +5,8 @@
|
|||
(
|
||||
(
|
||||
thermo.isotropic()
|
||||
? -fvm::laplacian(betav*thermo.alpha(), h, "laplacian(alpha,h)")
|
||||
: -fvm::laplacian(betav*taniAlpha(), h, "laplacian(alpha,h)")
|
||||
? -fvm::laplacian(betav*thermo.alpha(), h, "laplacian(alpha,h)")
|
||||
: -fvm::laplacian(betav*taniAlpha(), h, "laplacian(alpha,h)")
|
||||
)
|
||||
==
|
||||
fvOptions(rho, h)
|
||||
|
|
@ -24,4 +24,5 @@
|
|||
|
||||
thermo.correct();
|
||||
|
||||
Info<< "Min/max T:" << min(thermo.T()) << ' ' << max(thermo.T()) << endl;
|
||||
Info<< "Min/max T:" << min(thermo.T()).value() << ' '
|
||||
<< max(thermo.T()).value() << endl;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ if (finalIter)
|
|||
|
||||
thermo.correct();
|
||||
|
||||
Info<< "Min/max T:" << min(thermo.T()) << ' ' << max(thermo.T()) << endl;
|
||||
Info<< "Min/max T:" << min(thermo.T()).value() << ' '
|
||||
<< max(thermo.T()).value() << endl;
|
||||
|
||||
if (finalIter)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue