ENH: Updated sources for heatTransfer solvers

This commit is contained in:
andy
2012-12-10 10:59:17 +00:00
parent e86258bc4e
commit ad1246515a
10 changed files with 33 additions and 2 deletions

View File

@ -21,8 +21,12 @@
);
EEqn.relax();
sources.constrain(EEqn);
EEqn.solve();
sources.correct(he);
thermo.correct();
}

View File

@ -27,5 +27,7 @@
)*mesh.magSf()
)
);
sources.correct(U);
K = 0.5*magSqr(U);
}

View File

@ -21,6 +21,8 @@
EEqn.solve();
sources.correct(he);
thermo.correct();
radiation->correct();
}

View File

@ -26,4 +26,6 @@
)*mesh.magSf()
)
);
sources.correct(U);
}

View File

@ -21,6 +21,8 @@
EEqn.solve();
sources.correct(he);
thermo.correct();
rad.correct();

View File

@ -23,3 +23,5 @@
)*mesh.magSf()
)
);
sources.correct(U);

View File

@ -6,8 +6,14 @@
- fvm::laplacian(betav*alpha, h, "laplacian(alpha,h)")
+ sources(rho, h)
);
hEqn.relax();
sources.constrain(hEqn);
hEqn.solve();
sources.correct(h);
}
}

View File

@ -22,8 +22,13 @@
);
EEqn.relax();
sources.constrain(EEqn);
EEqn.solve(mesh.solver(he.select(finalIter)));
sources.correct(he);
thermo.correct();
rad.correct();

View File

@ -9,6 +9,8 @@
UEqn().relax();
sources.constrain(UEqn());
// Add porous resistance
pZones.addResistance(UEqn());
@ -27,5 +29,7 @@
),
mesh.solver(U.select(finalIter))
);
sources.correct(U);
K = 0.5*magSqr(U);
}

View File

@ -19,6 +19,8 @@ if (finalIter)
sources.constrain(hEqn());
hEqn().solve(mesh.solver(h.select(finalIter)));
sources.correct(h);
}
}