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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2019, 06:50
Default Some questions about porosity in olaFlow
  #1
Member
 
Haoran Zhou
Join Date: Nov 2019
Posts: 49
Rep Power: 6
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:57
Adding porosity to UEqn.H in porousInterFoam jameswilson620 OpenFOAM Programming & Development 5 November 25, 2016 22:19
UDF of Variable Porosity typhoon1010 Fluent UDF and Scheme Programming 3 October 4, 2016 05:00
Porosity Variation with Time Baden Fluent UDF and Scheme Programming 50 July 25, 2016 06:07
Porosity field in Fluent wojciech FLUENT 1 September 20, 2010 11:19


All times are GMT -4. The time now is 09:54.