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

Writing y

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2008, 12:35
Default "I realised what was wrong. In
  #21
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
"I realised what was wrong. In my boundary file, the type of my wall boundaries was set to "patch". When I changed them to "wall" everything works fine. Thanks for taking the time to help me. "

thank you for reporting that, I had the same problem with yPlusRAS.
louisgag is offline   Reply With Quote

Old   September 25, 2008, 06:53
Default Hi, I am unable to get y+ usi
  #22
Member
 
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17
vishal is on a distinguished road
Hi,
I am unable to get y+ using checkYPlus utility command
it throws me an error as command not found.

I am currently working on suse linur operating system.
Please help me in this matter.

Thanks
VIshal
__________________
Cheers,

Vishal Jambhekar...
"Simulate the way ahead......!!!"
vishal is offline   Reply With Quote

Old   September 25, 2008, 07:01
Default Hi, i have also downloaded
  #23
Member
 
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17
vishal is on a distinguished road
Hi,

i have also downloaded and kept the chechyPlusCompressible.C file and Make file
can any one please tell me where is the exact location to place it and do i have to compile the entire program again.

Thanks
Vishal
__________________
Cheers,

Vishal Jambhekar...
"Simulate the way ahead......!!!"
vishal is offline   Reply With Quote

Old   September 25, 2008, 10:11
Default Hi Vishal, If you are using
  #24
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi Vishal,

If you are using OF 1.5 the utilities to check yplus are yPlusLES and YplusRAS.

regards,

-Louis
louisgag is offline   Reply With Quote

Old   February 19, 2009, 05:43
Default Dear all!! I adapted the yP
  #25
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
Dear all!!

I adapted the yPLusRAS utility for a compressible case (yPLusRASCompressible) and it seems to work (at least I believe so ...). As I m currently working with a multi region solver (chtMultiRegionFoam) I need to adapt it further, so that yPlus is calculated/written only in the fluid region. I couldn t figure out yet how to realize that yPLusRASCompressible follows the structure of the time directories "timeName/fluidRegionName" (e.g. 51/topAir) to access the needed fields for the calculation of yPLaus in the fluidRegionName region. I would greatly appreciate any hint on that! Thx in advance,
Aram
mabinty is offline   Reply With Quote

Old   February 27, 2009, 04:55
Default Hi!! I managed to make yPLu
  #26
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
Hi!!

I managed to make yPLusRASCompressible to follow the structure of the time directories and the code compiles now. But when executing the utility
I get the error message shown below at the point where thermophysical properties are read:

Time = 1.001
Reading field p

Reading thermophysical properties

Selecting thermodynamics package hThermo>>>>

Not Implemented
Trying to construct an genericFvPatchField on patch air_to_ceiling of
field h#0 Foam::error::printStack(Foam:stream&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::genericFvPatchField::genericFvPatchField(Foa m::fvPatch
const&, Foam::DimensionedField const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libfiniteVolume.so"
#3 Foam::fvPatchField::addpatchConstructorToTable >::New(Foam::fvPatch
const&, Foam::DimensionedField const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 Foam::fvPatchField::New(Foam::word const&, Foam::fvPatch const&,
Foam::DimensionedField const&) at
~/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude/newFvPatchField.C:70
#5
Foam::GeometricField::GeometricBoundaryField::Geom etricBoundaryField(Fo am::fvBoundaryMesh const&, Foam::DimensionedField const&, Foam::List const&) in "/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libbasicThermophysicalMode ls.so"
#6 Foam::GeometricField::GeometricField(Foam::IOobjec t const&,
Foam::fvMesh const&, Foam::dimensionSet const&, Foam::List const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libbasicThermophysicalMode ls.so"
#7 Foam::hThermo > > > >::hThermo(Foam::fvMesh const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libbasicThermophysicalMode ls.so"
#8 Foam::basicThermo::addfvMeshConstructorToTable > > > >
> >::New(Foam::fvMesh const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libbasicThermophysicalMode ls.so"
#9 Foam::basicThermo::New(Foam::fvMesh const&) in
"/home/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libbasicThermophysicalMode ls.so"
#10 main at
~/OpenFOAM/aa-1.5.x/applications/yPlusRASCompMultiRegion/yPlusRASCompMultiRegion .C:152
#11 __libc_start_main in "/lib/libc.so.6"
#12 _start in
"/home/aa/OpenFOAM/aa-1.5.x/applications/bin/linux64GccDPOpt/yPlusRASCompMultiRe gion"

>From function genericFvPatchField::genericFvPatchField(const fvPatch&
p, const DimensionedField& iF)
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at
line 45.

FOAM aborting

Aborted

It seems to be a problem with the patch-type of the fluid-solid interface introduced by splitMeshRegions (is this a simple patch or wall ..??). I dug a bit in genericFvPatchField.C and basicThermo.C/.H but couldn t figure out yet what's wrong. Could anybody give me a suggestion please!!

Thx in advance!
Aram
mabinty is offline   Reply With Quote

Old   March 10, 2009, 10:11
Default Dear all!! I was searching
  #27
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
Dear all!!

I was searching a bit in the forum and found an entry explaining the error message I received (http://www.cfd-online.com/OpenFOAM_D...ges/1/593.html). So it seems that the solid-fluid interface air_to_ceiling is a default or generic patch field, and hence does not know how to evaluate itself, but what in turn would be necessary to calculated an enthalpy field h (by basicThermo). Isn t it? Unfortunately I haven t found a solution to this problem yet but keep on digging. Appreciate any comments!!

Thx in advance,
Aram
mabinty is offline   Reply With Quote

Old   July 17, 2009, 04:40
Default
  #28
New Member
 
Sebastian Krick
Join Date: Mar 2009
Posts: 9
Rep Power: 17
sebastiank is on a distinguished road
Quote:
Originally Posted by mabinty View Post
Dear all!!

I adapted the yPLusRAS utility for a compressible case (yPLusRASCompressible) and it seems to work (at least I believe so ...). As I m currently working with a multi region solver (chtMultiRegionFoam) I need to adapt it further, so that yPlus is calculated/written only in the fluid region. I couldn t figure out yet how to realize that yPLusRASCompressible follows the structure of the time directories "timeName/fluidRegionName" (e.g. 51/topAir) to access the needed fields for the calculation of yPLaus in the fluidRegionName region. I would greatly appreciate any hint on that! Thx in advance,
Aram
Dear Mabinty,
I'am currently struggeling on adapting the yPlusRAS utility for a compressible case, in my case, rhoPorousSimpleFoam. How did you adapt yPlusRAS in order to get it to work with a compressible case ?

Regards,

Sebastian
sebastiank is offline   Reply With Quote

Old   July 19, 2009, 08:32
Default
  #29
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
Hi Sebastian!

You have to use a compressible RASModel:

# include "compressibleCreatePhi.H"
autoPtr<compressible::RASModel> RASModel
(
compressible::RASModel::New(rho, U, phi, thermo())
);

Study the code Bernhard posted in this thread some while ago (checkYplusCompressible).

All the best,
Aram
mabinty is offline   Reply With Quote

Old   June 1, 2010, 06:55
Default
  #30
Member
 
Francois Gallard
Join Date: Mar 2010
Location: Toulouse, France
Posts: 43
Rep Power: 16
fgal is on a distinguished road
Hi everybody,

I would like to compute Delta Y+ (first cell height scaled by intern zone scales) to know which boundary condition to set to k (zero gradient or uniform 0.0).
I am using a compressible LES solver, so I tried the yPlusLES utility but it needs nuSgs, so to be adapted for incompressible cases. How can I solve that problem ? Do I need to modify yPlusLES and divide muSgs by rho ?
thanks

Francois
fgal 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
New with writing UDF/Need help pls mac FLUENT 6 June 14, 2007 06:11
New to writing UDF Sandilya FLUENT 0 May 31, 2007 12:03
UFD writing help Nelly FLUENT 1 January 19, 2007 11:29
Writing geometry Dadou Siemens 0 March 15, 2004 11:34
error while writing bc Theju FLUENT 3 March 8, 2002 13:20


All times are GMT -4. The time now is 23:51.