CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Porosity (http://www.cfd-online.com/Forums/openfoam-solving/57779-porosity.html)

gabriel_stokes April 11, 2008 08:59

Hey, I have been browsing a
 
Hey,

I have been browsing around this forum to try to find out how to run a simulation on a simple domain with a porous zone in OF.

In Fluent I can define a porous zone with ease, but I was wondering if anyone would be so kind, to explain how I proceed with OpenFoam.

I guess I need to move from my current favourite: simpleFoam, to a dedicated solver, right? Secondly, it seems that I need to setup the porosity parameters in a file, 'porousZones', which I should create in the constant/-directory, right? But, well - I need a straight-forward cookbook example, if possible.

Thanks, and best regards
Mads

plmauk April 14, 2008 17:12

Hi, 1.You can`t solve a porou
 
Hi,
1.You can`t solve a porous case with simpleFoam. You should use something like rhoImplicitPorousSimpleFoam.
2.You need cellSets and cellZones to define the geometrie of the porous zone inside of your mesh.
3.You really need to create file "porousZones" and place it to the constant directory. Deciding is, that you set coefficients d and f (Darcy`law)
and vectors e1 and e2.

gabriel_stokes April 15, 2008 06:58

Hi, Thanks a lot for your k
 
Hi,

Thanks a lot for your kind answer.

1. It is just that in the tutorials (for rhoImplicitPorousSimpleFoam), it seems that some compilation is needed, is that so?
2. I guess fluent3DToFoam can generate the cellSets and the cellZones files, right?
3. Then I just need to define the zones I want to be porous in the porousZones files, correct?

And then run rhoImplicitPorousSimpleFoam as it was simpleFoam...?

/Mads

plmauk April 15, 2008 11:54

Hi, 1.I don't think, the comp
 
Hi,
1.I don't think, the compilation is needed, try to run tutorial examples from the rhoImplicitPorousSimpleFoam - directory. If it works, it don't have to be compiled.
2.fluent3DToFoam generates cellZones and faceZones, but no sets were generated. If you have a cellZone on the right place after convertion, you should just name it, as the porousZoneDict was named.
3.The answer is allready given

regards
Paul.

gabriel_stokes April 29, 2008 08:43

Okay, thanks. The rhoImplic
 
Okay, thanks.

The rhoImplicitPorousSimpleFoam appears to be a compressible solver.

What if I want to run incompressible?

/Mads

plmauk May 5, 2008 07:40

You need a new solver in this
 
You need a new solver in this case.
Try to combine simpleFoam and rhoPorousSimpleFoam.
If you are not able to do that, I can send you my own solver called porousSimpleFoam.

heilskov7 September 16, 2008 09:42

Hi, I have the same problem
 
Hi,

I have the same problem as Mads Reck outlined - I like to do an incompressible computation including porous cells. Thus if it is possible it would be a great help if i was able to get the solver 'porousSimpleFoam' you mentioned to Mads.

Thanks, and best regards
Nicolai

mkraposhin September 17, 2008 06:01

please, write to my e-mail (mk
 
please, write to my e-mail (mkraposhin@inbox.ru) and i will send you solver

ayoros November 4, 2008 12:20

Hi, Is there any porousSimp
 
Hi,

Is there any porousSimpleFoam solver available for OpenFOAM 1.5 ?

I'm really struggling with combining simpleFoam and rhoPorousSimpleFoam.

Thanks,
Fabien

mahendra November 17, 2008 04:37

Hi Paul, I am using OpenFoa
 
Hi Paul,

I am using OpenFoam 1.5 and I am unable to find a porousSimpleFoam solver for incompressible porous cases there?

Can you send me the solver if you have one?

My email mahendra.wankhede@gmail.com

Regards,
Mahendra.

mkraposhin March 13, 2009 15:29

Link to porousSimpleFoam solve
 
Link to porousSimpleFoam solver for OpenFOAM 1.4.1

http://www.os-cfd.narod.ru/small_fil...SimpleFoam.tgz

mkraposhin March 13, 2009 15:31

Link to porousSimpleFoam solve
 
Link to porousSimpleFoam solver for OpenFOAM 1.4.1

http://www.os-cfd.narod.ru/small_fil...SimpleFoam.tgz

vinz March 16, 2009 08:51

porousSimpleFoam for OpenFOAM 1.5
 
Hi everyone,

Here is the incompressible porous solver I derived for OpenFOAM 1.5 :
http://www.rtech-engineering.com/Ope...SimpleFoam.zip

I tested it with both implicit and explicit test cases and apparently it works fine.
Hope this helps.

Vincent

evrikon October 9, 2009 04:05

Quote:

Originally Posted by vinz (Post 209609)
Hi everyone,

Here is the incompressible porous solver I derived for OpenFOAM 1.5 :
http://www.rtech-engineering.com/Ope...SimpleFoam.zip

I tested it with both implicit and explicit test cases and apparently it works fine.
Hope this helps.

Vincent


Hi Vincent,

I wrote incompressible solver too. I compared your solver with my formulation and recognized the only difference is in the pEqn.H, line 1:

I have copied in my version from simpleFoam solver the following line

//p.boundaryField().updateCoeffs();

Do you know some reason why it should be not included in the cold porous simple solver?

Regards, Oleksiy

beretti_a February 1, 2010 05:49

PorousSimpleFoam for OpenFOAM 1.6
 
Hello foamers,

I tried the incompressible porous solver you posted here below but I get some problems while builiding it with OpenFOAM 1.6. I think this may be a problem related to the OpenFOAM version.

Has anybody else had the some problem? Does anybody know how to fix it?
Has anybody derived an incompressible porous solver for OpenFOAM 1.6?

Thanks in advance and best regards,
Andrea

stawrogin February 1, 2010 05:54

Hi Andrea,

if you use the git and OpenFOAM 1.6.x you will find a porousSimpleFOAM for incompressible media provided by OpenCFD.

Best regards

Stawrogin

beretti_a February 3, 2010 09:03

Porous media OpenFOAM-1.6.x
 
Very thanks Stawrogin for your hint.

Best regards
Andrea


All times are GMT -4. The time now is 00:08.