|
[Sponsors] |
September 4, 2024, 12:14 |
scalarTransportFoam OF11 and 12
|
#1 |
New Member
Join Date: Apr 2023
Posts: 12
Rep Power: 3 |
Hi,
I have been using for years, a home made solver implemented on the basis of scalarTransportFoam (OF8). Not very fancy, but it does what I need. Since the implementation of the modular solvers (OF11), scalarTransportFoam "has been superseded and replaced by the more general functions solver module executed by the foamRun application". Interestingly enough, potentialFoam is still there. I cannot compile scalarTransportFoam against OF11/12, because some of the headers are not included in the newer versions, and modification of the scalarTransport function to fit my needs does not seem trivial. Other than modifying potentialFoam for that purpose, what would be, in your opinion, the easiest way to replicate the scalarTransportFoam solver ? Thanks for your help |
|
September 4, 2024, 12:40 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 131
Rep Power: 9 |
v8 tutorial: https://github.com/OpenFOAM/OpenFOAM...Foam/pitzDaily
v12 tutorial: https://github.com/OpenFOAM/OpenFOAM...calarTransport |
|
September 4, 2024, 12:58 |
|
#3 |
New Member
Join Date: Apr 2023
Posts: 12
Rep Power: 3 |
Hi,
Thanks, for your reply. I was aware of the existence of these tutorials. I also know that you can simulate scalar transport with the function included in v12. My problem is: I extended v8 scalarTransportFoam to 10+ scalars, with source terms and many parameters (e.g. reaction constants, partition coefficients). This cannot be done by specification in system/functions. I would need to modify the scalarTransport function itself, which I think largely exceeds my abilities. The easiest would be to modify an already existing solver if there is still anything remotely similar (e.g. potentialFoam). I think the only solution is gonna be trial and error |
|
Tags |
modular solver, scalartransportfoam |
|
|