It is supposed to create a CFD code from scratch, and beside the usual structure of a code in three parts 1) Pre-processing, 2) Main solver, 3) Post-processing, the issue is to write a general ARCHITECTURAL structure of the code in C++.

My question is: Do you know (and/or can suggest) any literature/book/paper regarding this? (or maybe an open code, where the general ARCHITECTURAL structure of the code in C++ is seen/available).

Thanks

PS: Surprisingly, I see NO answer to my original post above. The question implies a lot of issues. Maybe I should remind the readers that there are a lot of issues when dealing with a code, e.g. memory issues. If this is not tackled, the code can be very slow. There are many strategies and I wonder where I can find an overview of those strategies. For instance, one of the strategies is seen here: http://link.springer.com/chapter/10....540-69389-5_25