|
[Sponsors] |
October 20, 2011, 18:06 |
Solver not "seeing" temperature change.
|
#1 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
---------_EDIT_---------- SOLVED: was relaxing in outerloop
Hi all, In an custom solver I need to add a value in the temperature.. I'm doing the equivalent of: Code:
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) { tmp<fvScalarMatrix> TEqn ( fvm::ddt(rho*cp, T) - fvm::laplacian(K, T) ); TEqn().solve(); } Info<< "TEMP: Min/max T: " << min(T).value() << " / " << max(T).value() << endl; } T += 6; Last edited by Canesin; October 20, 2011 at 19:12. Reason: SOLVED |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 10:52 |
An issue with temperature change in unsteady prob | Ashok kumar | FLUENT | 1 | January 13, 2009 05:34 |
change the temperature unit | cha s n | FLUENT | 1 | February 22, 2005 23:49 |
How to change line colors in solver? | Tony | CFX | 3 | December 15, 2004 12:35 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |