|
[Sponsors] |
May 10, 2019, 18:32 |
Creating a solver for porous media
|
#1 |
New Member
Ramaswamy Devakottai
Join Date: Feb 2019
Posts: 9
Rep Power: 7 |
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! |
|
May 12, 2019, 23:10 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
May 13, 2019, 04:00 |
|
#3 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
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
__________________
www.cypriensoulaine.com/openfoam |
|
May 13, 2019, 18:59 |
|
#4 |
New Member
Ramaswamy Devakottai
Join Date: Feb 2019
Posts: 9
Rep Power: 7 |
Hey all,
Thanks a lot. I will look at these links and learn. |
|
May 15, 2019, 22:23 |
|
#5 |
New Member
Ramaswamy Devakottai
Join Date: Feb 2019
Posts: 9
Rep Power: 7 |
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! |
|
Tags |
openfoam, porous media flow, programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating User Defined Solver Format for exporting Grids | JamesDoesCFD | GridPro | 1 | August 29, 2017 08:17 |
adding Porous media to lagrangian Solver | kalyan | OpenFOAM Programming & Development | 0 | September 19, 2014 08:41 |
creating a new solver | wschosta | OpenFOAM Programming & Development | 0 | May 17, 2011 15:40 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
Creating a new solver from chtMultiRegionFoam | David_010 | OpenFOAM Programming & Development | 0 | April 20, 2010 12:36 |