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

yPlus for multiphase

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By manoj_nav
  • 1 Post By JF_tx

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2015, 02:43
Default yPlus for multiphase
  #1
Member
 
Manoj
Join Date: Jun 2013
Posts: 38
Rep Power: 12
manoj_nav is on a distinguished road
Hi All
I am using openFoam 3.0 and trying to use the utility yPlus for calculating y+. But it doesn't seem to work for multiphase. It is giving following error,



--> FOAM FATAL IO ERROR:
keyword transportModel is undefined in dictionary "/home/manoj/trial/dtmbsmall3/constant/transportProperties"

file: /home/manoj/trial/dtmbsmall3/constant/transportProperties from line 18 to line 33.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 442.

FOAM exiting


Please help.

Regards,

Manoj
avila.vc likes this.
manoj_nav is offline   Reply With Quote

Old   March 21, 2016, 05:42
Default
  #2
Senior Member
 
rdbisme's Avatar
 
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 12
rdbisme is on a distinguished road
Hello, I'm also interested on that (but with twoPhaseEulerFoam).

I tried to copy transportProperties file from an interFoam tutorial but it seems redundant since the transport properties are already present in constant/thermoPhysicalProperties.*
rdbisme is offline   Reply With Quote

Old   May 25, 2016, 08:32
Default
  #3
New Member
 
Juan Fran
Join Date: Jan 2016
Posts: 4
Rep Power: 10
JF_tx is on a distinguished road
Hi!

I suppose that you already find a solution. If not, it is possible to add the transport properties of the target phase outside the phase definition to use yPlus, e.g.

phases (water air);

transportModel Newtonian; //Added for yPlus
nu [0 2 -1 0 0 0 0] 1e-06; //Added for yPlus
rho [1 -3 0 0 0 0 0] 1000; //Added for yPlus

water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
}

air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
}
mo_na likes this.
JF_tx is offline   Reply With Quote

Old   June 14, 2016, 09:59
Default
  #4
Senior Member
 
rdbisme's Avatar
 
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 12
rdbisme is on a distinguished road
Quote:
Originally Posted by JF_tx View Post
Hi!

I suppose that you already find a solution. If not, it is possible to add the transport properties of the target phase outside the phase definition to use yPlus, e.g.

phases (water air);

transportModel Newtonian; //Added for yPlus
nu [0 2 -1 0 0 0 0] 1e-06; //Added for yPlus
rho [1 -3 0 0 0 0 0] 1000; //Added for yPlus

water
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1e-06;
rho [1 -3 0 0 0 0 0] 1000;
}

air
{
transportModel Newtonian;
nu [0 2 -1 0 0 0 0] 1.48e-05;
rho [1 -3 0 0 0 0 0] 1;
}
Are you sure it works? Since it's still complaining about a transportProperties files... For what I understand the executable yPlus is not meant for multiphase directly...

I'm on OF3.0.1
rdbisme is offline   Reply With Quote

Old   June 14, 2016, 10:39
Default
  #5
New Member
 
Juan Fran
Join Date: Jan 2016
Posts: 4
Rep Power: 10
JF_tx is on a distinguished road
Hi!
I tested for interFoam under OF3.0.1,
best
JF_tx is offline   Reply With Quote

Old   June 14, 2016, 10:53
Default
  #6
Senior Member
 
rdbisme's Avatar
 
Ruben Di Battista
Join Date: May 2013
Location: Paris
Posts: 137
Rep Power: 12
rdbisme is on a distinguished road
Quote:
Originally Posted by JF_tx View Post
Hi!
I tested for interFoam under OF3.0.1,
best
Ok, I'm working on twoPhaseEulerFoam. That's why. Thanks for your help however
rdbisme is offline   Reply With Quote

Old   June 15, 2016, 03:02
Default
  #7
Member
 
carno
Join Date: Mar 2009
Posts: 70
Rep Power: 17
Carno is on a distinguished road
Make sure you have not missed a ; or }
Carno is offline   Reply With Quote

Reply


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
How can Modify yPlus function to be yPlus not yStar? immortality OpenFOAM Running, Solving & CFD 0 May 5, 2013 13:16
Solver Yplus of Automatic wall treatment justjhy CFX 2 May 4, 2013 07:19
which yplus (SST) sanchezz CFX 17 January 11, 2010 04:45
heat transfer coefficients with "bad" yplus Andrew Main CFD Forum 4 April 8, 1999 04:43


All times are GMT -4. The time now is 07:27.