About storing 'solve' data and changing data
Dear Foamers,
How does 'solve' store old values? What is the difference between A and B? It seems that Method 'A' does not work. Method A: --- changing the value of 'C' here----- solve ( fvm::ddt(C) + fvm::div(phi, C) - fvm::laplacian(kappaEff, C) == SourceC ); Method B:--- changing the value of 'C' here----- My best regards, Jian |
All GeometricFields have a member oldTime() with a copy of the data of the previous time instance.
|
Thanks. If I want to change 'C' by assignment after completing 'solve', then whether the GeometricFields of 'C' will be changed corresponding to the assignment.
Thanks, Jian |
What exactly are you trying to achieve? Why do you want to change C, and how?
|
All times are GMT -4. The time now is 20:17. |