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

B in the tutorials pisoFoam (LES) cases

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By luuhoangthien

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2013, 10:04
Default B in the tutorials pisoFoam (LES) cases
  #1
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Dear Foamers,

I am practicing pisoFom solver for the pitzDaily LES case. I notice 'B' is in the time 0 file. But in later time output files, there is no 'B'. I reviewed the 'creatFields.H' file in the pisoFoam solver, but I did not find a declaration for 'B'.

Does anyone know where can I find the declaration of 'B'? And what does 'B' mean?

My best regards,
Jian
zxj160 is offline   Reply With Quote

Old   March 7, 2013, 11:50
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Which LES model are you using?

The tutorial case you refer to uses the oneEqEddy model. If you open oneEqEddy.H (see src folder), you'll see the definition of B (although not used in the code as far as I see).
Bernhard is offline   Reply With Quote

Old   March 7, 2013, 13:39
Default
  #3
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Yes, I used the oneEqEddy model. In the GenSGSStress.C file in the file of '/apps/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/LES/GenSGSStress', I find

B_
(
IOobject
(
"B",
runTime_.timeName(),
mesh_,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh_
),

B should be 'AUTO_WRITE' during the running time. But when I run the tutorial case, B is only in the time 0 file. Later, it is gone.
zxj160 is offline   Reply With Quote

Old   March 7, 2013, 13:41
Default
  #4
New Member
 
Akbar Mohammadi Ahmar
Join Date: Oct 2012
Location: Tehran , Iran
Posts: 4
Rep Power: 14
akbarMohammadiAhmar is on a distinguished road
Hi Jian Zhong
B in LES models is Stress tensor similar R in RANS models in OpenFoam.
Have you B in 0 Folder?
I think B is in creditfield and you must see that in creditfield B is defined or no?
akbarMohammadiAhmar is offline   Reply With Quote

Old   March 7, 2013, 17:55
Default
  #5
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Quote:
Originally Posted by akbarMohammadiAhmar View Post
Hi Jian Zhong
B in LES models is Stress tensor similar R in RANS models in OpenFoam.
Have you B in 0 Folder?
I think B is in creditfield and you must see that in creditfield B is defined or no?
I test that if I delete B in time 0, pisoFoam (LES, oneEqEddy model) can still run well for the tutorial pitzDaily case.
zxj160 is offline   Reply With Quote

Old   March 7, 2013, 18:45
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Those "B" files were removed in OpenFOAM 2.1.x in August 2012: https://github.com/OpenFOAM/OpenFOAM...a52c14701a61d2
This was done around 2 months after 2.1.1 was released.

Best regards,
Bruno
Tobi likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 28, 2013, 21:51
Default
  #7
New Member
 
ThienMa
Join Date: Sep 2013
Posts: 8
Rep Power: 13
luuhoangthien is on a distinguished road
Dear zxj160,

You can modified solver to get R in RANS or B in LES.

view source code Utility R in OpenFOAM to get idea and get B in LES

Thien
wyldckat likes this.
luuhoangthien is offline   Reply With Quote

Reply

Tags
creatfields, les model, pisofoam


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
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx Jaro OpenFOAM Running, Solving & CFD 8 March 16, 2016 08:27
Beginning to work in LES - Suggestions needed atmcfd Main CFD Forum 5 July 20, 2012 23:16
Differences between a laminar code and a les one ben Main CFD Forum 9 February 17, 2005 00:40
LES - standard test cases? Mario Main CFD Forum 2 October 14, 2004 03:48
LES on two phase flow Li Yang Main CFD Forum 0 May 12, 2004 09:10


All times are GMT -4. The time now is 18:57.