CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Some questions about porosity in olaFlow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2019, 07:50
Default Some questions about porosity in olaFlow
  #1
Member
 
Haoran Zhou
Join Date: Nov 2019
Posts: 51
Rep Power: 7
Stan Zhou is on a distinguished road
Hello all,

I'm learning OpenFOAM by using the solver olaFlow. However, I'm quite confused with the porosityDict and the porosityIndex in setFields.

In the tutorial of breakwater, there are 4 materials in porosityDict. I think the clear region means water, and the other 3 columns of parameters means 3 kinds of materials using in this tutorial(core, secondary Layer and primary Layer).

In setFields, the volScalarFieldValue porosityIndex 1, porosityIndex 2 and porosityIndex 3 are given. At first, I think the porosityIndex 1 to 3 that I set in setFields should follow the sequence in porosityDict. However, when I gave a porosityIndex 5 (while there were only three materials except water in porosityDict), it still appeared in paraView.

Therefore, I wonder what is exactly used in our calculation, the coefficients in porosityDict or the porosityIndex in setFields? By the way, is there an one-to-one correspondence between the materials I set in porosityDict and the porosityIndex in setFields?

Best regards,
Stan
Stan Zhou is offline   Reply With Quote

Reply

Tags
olaflow, openfoam, porositydict, porosityinidex


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
Question about porous term and porosity value in OpenFOAM sazabi2001 OpenFOAM Running, Solving & CFD 12 May 17, 2020 21:57
Adding porosity to UEqn.H in porousInterFoam jameswilson620 OpenFOAM Programming & Development 5 November 25, 2016 23:19
UDF of Variable Porosity typhoon1010 Fluent UDF and Scheme Programming 3 October 4, 2016 06:00
Porosity Variation with Time Baden Fluent UDF and Scheme Programming 50 July 25, 2016 07:07
Porosity field in Fluent wojciech FLUENT 1 September 20, 2010 12:19


All times are GMT -4. The time now is 15:04.