CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Adding porous zones to compressible multiphase solvers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2011, 05:20
Default Adding porous zones to compressible multiphase solvers
  #1
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Dear all,

I am new to OpenFoam. I wish to add porous zones support to compressibleInterDyMFoam. By checking code of (interFoam, porousInterFoam, interDyMFoam, compressibleInterFoam & compressibleInterDyMFoam), it seems that I just have to include both the porousZones.H and createPorousZones.H headers to add porous zones support to the compressibleInterFoam or compressibleInterDyMFoam. Is this enough? Or should there be any other issues that I should attend to?

Best regards,
Hisham El Safti
Hisham is offline   Reply With Quote

Old   June 1, 2011, 03:22
Default
  #2
New Member
 
Cecily
Join Date: Jun 2011
Location: Germany
Posts: 10
Rep Power: 14
Black-Pearl is on a distinguished road
I have such a question, too. I wish to add a porous zone support to MRFSimpleFoam. Is it possible?

Have you check your calculation?
Black-Pearl is offline   Reply With Quote

Old   June 1, 2011, 03:42
Default
  #3
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
I have not done it yet, but I plan to. When I do, I'll post the results. Of course it would be better if I would know if more work is to be anticipated than just including headers!
Hisham is offline   Reply With Quote

Old   June 7, 2011, 08:17
Default
  #4
New Member
 
Cecily
Join Date: Jun 2011
Location: Germany
Posts: 10
Rep Power: 14
Black-Pearl is on a distinguished road
Do you know how to combine two solvers together?
Black-Pearl is offline   Reply With Quote

Old   August 23, 2011, 03:25
Default
  #5
New Member
 
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15
run_cfd is on a distinguished road
Quote:
Originally Posted by Hisham View Post
I have not done it yet, but I plan to. When I do, I'll post the results. Of course it would be better if I would know if more work is to be anticipated than just including headers!


Hi Hisham,

Did you succeeded in combining the two solvers? If yes, then could you share your brief method in doing so.

Thanks,

Manoj
run_cfd is offline   Reply With Quote

Old   August 25, 2011, 09:27
Default
  #6
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Hello Manjo

I did not have time to do that just yet.

But I'm quite sure, now, that it is that straight forward (I think )

I may try to do it soon. I just got involved in other stuff
Hisham is offline   Reply With Quote

Old   March 17, 2014, 09:20
Default
  #7
Member
 
Fran
Join Date: Sep 2009
Location: Buenos Aires
Posts: 37
Rep Power: 16
lfbarcelo is on a distinguished road
I know this is an old post but answering may help others.

Quote:
it seems that I just have to include both the porousZones.H and createPorousZones.H headers to add porous zones support to the compressibleInterFoam or compressibleInterDyMFoam. Is this enough?
You should also add the corresponding term to the momentum equation (UEqn). "pZones.ddt(rho, U)" on the left side.

This works on versions up to 2.1.
I think that 2.2 has a different way of treating porousZones.
lfbarcelo is offline   Reply With Quote

Old   November 27, 2015, 02:55
Default
  #8
New Member
 
Join Date: Mar 2013
Posts: 9
Rep Power: 13
brocco is on a distinguished road
hi marcelo, i tried with your suggestion but without succes unfortunately! I've tried to add in the Ueq both the term you suggested and, in a second time the term "pZones.addResistance(UEqn);" after Urelax (as is done in interporousfoam and in rhoPorousetc).
Have you other suggestions?actually the problem seems to fall in the create fields. I receive an error :
--> FOAM FATAL ERROR:
LHS and RHS of + have different dimensions
dimensions : [1 -3 0 0 0 0 0] + [0 0 0 0 0 0 0]

when the line:
volScalarField rho1("rho1", eos1->rho(p, T));

is reached.
I know that the post is very old but....
brocco is offline   Reply With Quote

Old   November 27, 2015, 05:14
Default
  #9
New Member
 
Join Date: Mar 2013
Posts: 9
Rep Power: 13
brocco is on a distinguished road
Obviously....if someone else had good experiences with porous zones via fvOptions in more recent versions of compressibleInterFoam or twoPhaseEulerFoam is welcome!

thnx in advance to evrbdy
brocco is offline   Reply With Quote

Reply

Tags
compressibleinterdymfoam, dynamic mesh, multiphase, porous


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiphase Porous Media Flow - Convergence Issues VT_Bromley FLUENT 7 May 14, 2020 16:34
Multiphase flow & porous media Hisham OpenFOAM 3 April 10, 2011 07:04
Compressible flow through porous media? JoFFe CFX 2 November 1, 2010 04:50
Help:What's wrong with my porous zones setting!!? jjw FLUENT 2 August 26, 2005 05:16
Inputs for porous zones in FLUENT Roel van Os Main CFD Forum 1 September 1, 1998 12:41


All times are GMT -4. The time now is 02:41.