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

Y far from the wall

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By cosimobianchini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2006, 08:51
Default Hi all, i'm working on k-epsi
  #1
Member
 
cosimo bianchini
Join Date: Mar 2009
Location: Florence, Tuscany, Italy
Posts: 88
Rep Power: 17
cosimobianchini is on a distinguished road
Send a message via Skype™ to cosimobianchini
Hi all,
i'm working on k-epsilon LowRe turbulence model for compressible flow.
i was trying to implement the model proposed by Chien 1982, in which the damping function for mu depends on y+=y*u_tau/nu
where u_tau is the friction velocity, defined at the wall.

my question is:
do you have any suggestion on how to get y+ away from the wall?

thank you for your replies
cosimo
mgg likes this.
__________________
Cosimo Bianchini

Ergon Research s.r.l.
Via Panciatichi, 92
50127 Florence - ITALY
Tel: +39 055 0763716
Mob: +39 320 9460153
e-mail: cosimo.bianchini@ergonresearch.it
URL: www.ergonresearch.it
cosimobianchini is offline   Reply With Quote

Old   October 19, 2006, 14:17
Default Have a look at wallDist which
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Have a look at wallDist which is a volScalarField of the distance to the nearest wall. Additionally you could transport the flow properties at that same nearest wall (see wallDistData) and do your calculation.
mattijs is offline   Reply With Quote

Old   October 20, 2006, 05:24
Default Thank you really much Mattijs
  #3
Member
 
cosimo bianchini
Join Date: Mar 2009
Location: Florence, Tuscany, Italy
Posts: 88
Rep Power: 17
cosimobianchini is on a distinguished road
Send a message via Skype™ to cosimobianchini
Thank you really much Mattijs for answering.
Your suggestion was exactly what i was looking for.
I'll try to make it run for the Chien model and after that i was thinking about implementing a two layer turbulence model.
Since i'm a beginner in OF i was looking for some hints, do you maybe have some experience on this subject?
Thanks again for you help
cosimo
__________________
Cosimo Bianchini

Ergon Research s.r.l.
Via Panciatichi, 92
50127 Florence - ITALY
Tel: +39 055 0763716
Mob: +39 320 9460153
e-mail: cosimo.bianchini@ergonresearch.it
URL: www.ergonresearch.it
cosimobianchini is offline   Reply With Quote

Old   October 24, 2008, 09:36
Default Hi, I am trying to do the s
  #4
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi,

I am trying to do the same as cosimo using:

wallPointYPlus::yPlusCutOff = 500;
wallDistData<wallpointyplus> y(mesh, Yplus);
Info << y.data() << endl;

This does unfortunately not work:

#0 Foam::error::printStack(Foam:stream&) in "/home/gcae504/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/gcae504/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt in "/lib64/tls/libc.so.6"
#3 Foam::FaceCellWave<foam::wallpointyplus>::faceToCe ll() in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#4 Foam::FaceCellWave<foam::wallpointyplus>::iterate( int) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#5 Foam::FaceCellWave<foam::wallpointyplus>::FaceCell Wave(Foam::polyMesh const&, Foam::List<int> const&, Foam::List<foam::wallpointyplus> const&, Foam::UList<foam::wallpointyplus>&, Foam::UList<foam::wallpointyplus>&, int) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#6 Foam::MeshWave<foam::wallpointyplus>::MeshWave(Foa m::polyMesh const&, Foam::List<int> const&, Foam::List<foam::wallpointyplus> const&, int) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#7 Foam::patchDataWave<foam::wallpointyplus>::correct () in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#8 Foam::patchDataWave<foam::wallpointyplus>::patchDa taWave(Foam::polyMesh const&, Foam::HashSet<int,> > const&, Foam::List<foam::field<double>*> const&, bool) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#9 Foam::wallDistData<foam::wallpointyplus>::correct( ) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#10 Foam::wallDistData<foam::wallpointyplus>::wallDist Data(Foam::fvMesh const&, Foam::GeometricField<double,>&, bool) in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#11 main in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
#12 __libc_start_main in "/lib64/tls/libc.so.6"
#13 __gxx_personality_v0 in "/home/gcae504/OpenFOAM/gcae504-1.5/applications/bin/linux64GccDPOpt/computeYplu s"
Floating exception (core dumped)


Would be nice, if anyone has a suggestion!?

Fabian
braennstroem is offline   Reply With Quote

Reply

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
Heat transfer BC at wall- why need wall thickness? Julie FLUENT 7 February 3, 2012 21:41
Copy UDSI from wall to its wall shodow thiendinh FLUENT 0 December 15, 2008 05:16
match uds boundary condition in wall & wall-shadow pour FLUENT 0 May 20, 2008 08:56
LES with wall functions, wall boundary, Re 10000 subba CFX 4 July 10, 2007 05:04
wall & wall shadow net heat flux Barbaros FLUENT 1 August 5, 2006 02:00


All times are GMT -4. The time now is 19:32.