Creating a solver for porous media
Hi all,
I am relatively new to openFoam. I have run a small number of simulations with openfoam before, with only minor changes to the fvSchemes and fvSolution files. I am faced with the task of creating a solver to simulate flow in porous media; and I have decided upon the governing equations and boundary conditions. It would be great if someone pointed me in the right direction to start - I would like to learn on:
Thanks a lot in advance! |
There are various solvers, methods to model flow through porous media (see e.g. https://github.com/OpenFOAM/OpenFOAM...rousSimpleFoam) -- a search through the forum/google should provide ample information.
Caelan |
You will find a full tutorial to program a solver for porous media over there (from page 86) including basics of openfoam programming.
Cheers, Cyprien |
Hey all,
Thanks a lot. I will look at these links and learn. |
Hey Cyprien,
I had went through your presentation on OpenFOAM programming. I am facing a little bit difficulty in understanding the 'semi-discretization' of the NS equations for the icoFoam solver. My project requires a steady state simulation, so I understand that I would need to use a SIMPLE loop to solve for pressure. Would I need to do 'semi-discretization' there too? Where can I read about this? Thank you so much and sorry for the trouble. Cheers! |
All times are GMT -4. The time now is 08:50. |