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

yPlusRAS

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By juliuslein

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2009, 05:57
Unhappy yPlusRAS
  #1
New Member
 
varun
Join Date: Jul 2009
Location: Braunschweig, Germany
Posts: 28
Rep Power: 17
vw.cfd is on a distinguished road
Hi,

I am simulating a 2 phase cavitating flow problem and would like to check the yplus value of my grid. But, when i execute the standard yPlusRAS option available in OpenFAOM v1.5 i receive an error message:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Time = 0
Reading field U
Reading/calculating face flux field phi


keyword transportModel is undefined in dictionary "/usr2/daten/enallap/ansa/ventil.simple.dlay/constant/transportProperties"
file: /usr2/daten/enallap/ansa/ventil.simple.dlay/constant/transportProperties from line 17 to line 65.
From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.
FOAM exiting

i am attaching my transportPropertiesdict file for reference.

Please help
ThnX!!!
Attached Files
File Type: txt transportProperties.txt (2.3 KB, 66 views)
vw.cfd is offline   Reply With Quote

Old   September 4, 2009, 09:17
Default
  #2
Member
 
Christof Benz
Join Date: Mar 2009
Posts: 52
Rep Power: 17
chbenz is on a distinguished road
hi,

i think yPlusRAS is only valid for singlephase flow. this means that your transportProperties-dict is not appropriate for this app.
maybe you could try to define another dict.

Christof
chbenz is offline   Reply With Quote

Old   April 1, 2010, 06:14
Default yPlusInterRas
  #3
New Member
 
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17
juliuslein is on a distinguished road
Hello together,

I'm not sure if you are still interested but when I had the same problem with 2-phase-flow I modified the yPlusRas tool for OF-1.5. Now it only checks the liquid phase but normally that's the interesting one in your cavitation case.
If you want I can upload it here. But it's no big thing, it just reads the values from another sub-dictionary....

Regards, Julius
juliuslein is offline   Reply With Quote

Old   May 4, 2010, 08:07
Default yPlusRAS
  #4
New Member
 
Dan, Mai-Chi and Marion
Join Date: Mar 2010
Posts: 9
Rep Power: 16
Hydro1004 is on a distinguished road
Hi Julius,

Can you please upload your modified yPlusRAS tool that you created?

Cheers,
Mai-Chi
Hydro1004 is offline   Reply With Quote

Old   May 4, 2010, 10:56
Default yPlusInterRas
  #5
New Member
 
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17
juliuslein is on a distinguished road
Hello Mai-Chi,

here is the little tool. But please take care since it only uses the first phase mentioned in the transportProperties file.

Hope the tool helps you a bit,

Regards, Julius
Attached Files
File Type: zip yPlusInterRAS.zip (4.0 KB, 140 views)
Chalwwz likes this.
juliuslein is offline   Reply With Quote

Old   May 23, 2010, 01:22
Default
  #6
New Member
 
Dan, Mai-Chi and Marion
Join Date: Mar 2010
Posts: 9
Rep Power: 16
Hydro1004 is on a distinguished road
thanks for the post julius, it was really helpful. do you by any chance know how to compute forces in two phase flow?

mai-chi
Hydro1004 is offline   Reply With Quote

Old   May 25, 2010, 09:36
Default
  #7
New Member
 
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17
juliuslein is on a distinguished road
Hi Mai-Chi,

just look into Mark Couwenbergs solver "shipFoam" he presented in the forum some time ago.

http://www.cfd-online.com/Forums/ope...e-gravity.html

there you find the necessary files with the integrations over the surfaces and everything. For example in the first revision of "shipFoam" there is the "hullforces.H" which calculates the forces.
For 2-phase flow no explicit gamma (alpha1) term is necessary because the density is already implemented in the pressure term.

Regards, Julius
juliuslein is offline   Reply With Quote

Old   September 30, 2010, 07:18
Default
  #8
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
Good day to everyone,

Could anyone please take a look how to modify the tool for use with OpenFOAM 1.7? I tried to tackle it on my own, but no success. I'm not sure where to go from there.

Any help is highly appreciated.

Have a great day everyone!
K
paka is offline   Reply With Quote

Reply

Tags
yplus


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
y+ (yPlus) in OpenFOAM raagh77 OpenFOAM Running, Solving & CFD 16 September 10, 2015 04:15
YPlusRAS and interFoam dkingsley OpenFOAM Bugs 4 April 28, 2010 10:08
yPlusRAS with rhoTurbFoam fightingfalcon23 OpenFOAM Post-Processing 2 October 19, 2009 08:43
yPlusRAS + chtMultiRegionFoam mabinty OpenFOAM Running, Solving & CFD 7 July 2, 2009 08:51
Writing yPlusRAS Values velan OpenFOAM Running, Solving & CFD 0 December 30, 2008 07:09


All times are GMT -4. The time now is 17:20.