|
[Sponsors] |
Deactivating boundary recalculation in fvMatrix::solve() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2022, 16:01 |
Deactivating boundary recalculation in fvMatrix::solve()
|
#1 |
New Member
Denis Maier
Join Date: Aug 2019
Posts: 17
Rep Power: 6 |
Hi all,
i'm having a problem with the way bc are handled in OF: I develop a solver that has two levels of iteration. I need the bc to be updated only inside the outer level. When initializing a fvMatrix the bc are automatically updated. this is not too much of an issue since i can initialize the matrix in the outer loop and add in the terms that get updated in the inner loop afterwards. During the initialization the updated_ flag is set to true, so the update doesnt happen again in the inner loop in the first iteration. However, during the call to fvMatrix::solve() the updated_ flag is set to false (by a call to fvPatch::evaluate()) so from the second inner iteration onwords the bc gets updated each time i add in the updated coeffs into the fvMatrix. Is there any way to handle the resetting of the updated_ flag manually in the solver code and deactivate the "automatic" resetting inside the solve-method? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 05:53 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 13:55 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 05:15 |
Low torque values on Screw Turbine | Shaun Waters | CFX | 34 | July 23, 2015 08:16 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 04:05 |