|
[Sponsors] |
April 8, 2021, 06:54 |
cell volume-dependent permeability
|
#1 |
New Member
Imad
Join Date: Apr 2021
Posts: 2
Rep Power: 0 |
Hello everyone,
I have been trying to find a way to implement variable permeability in OpenFoam, but with no success. As I understand it, the fvOptions file contains Darcy coefficients that are constant during all the simulation. However, in my case the mesh is compressed over time therefore the permeability of each cell also changes over time. Help is much appreciated. If you need more explanation of my problem please let me know. Thank you in advance. |
|
April 18, 2021, 06:18 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
See how far you get with prototyping of solving with a coded fvOption to make your own version.
|
|
April 21, 2021, 10:02 |
|
#3 |
New Member
Imad
Join Date: Apr 2021
Posts: 2
Rep Power: 0 |
Dear Mark,
Thank you for your response. I managed to create a copy of the DarcyForchheimer class so that I can modify it according to what I want to implement. I successfully compiled and linked it to the interFoam solver I'm using by adding "mylibFiniteVolume.so" to the controlDict File. However, I still have a hard time understanding how some methods beloging to the DarcyForchheimer class are called at each time step. For example, the method "Foam:orosityModels::myDarcyForchheimer::correct " computes the contribution of the Darcy source term to the diagonal and off-diagonal matrices of U, therefore it should be called at each time step to do its job. My problem is: in which file is this method called at every time step? If I know the answer to this question, I think the rest should be quite straightforward: - create a method that updates the D coefficients based on a model of my choosing, - call it a each time step before Foam::..::correct. I hope my description of this hurdle is clear enough for some suggestions. Feel free to ask me for more information. Thank you again. Imad |
|
Tags |
darcy, permeability |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
Negative cell volume problem in-cylinder | ziani.lotfi | FLUENT | 0 | April 11, 2012 08:54 |