|
[Sponsors] |
May 16, 2013, 08:12 |
yPlusLES: compressible flow
|
#1 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi All ,
I am new to openFOAM. I just finished a compressible LES with OpenFOAM. When I want to use yPlusLES to calculate the y+ in my case, I got the messege to provide nuSGS. I think this quantity is only for incompressible flows. Could anyone know how to calculate the y+ in compressible flows? Thank you so much! |
|
May 18, 2013, 14:41 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
I managed to remember two details:
Bruno
__________________
|
|
May 18, 2013, 15:16 |
|
#3 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you wyldckat!
I am using OF211, but this problem has been fixed in OF210 maybe. Quote:
|
||
May 18, 2013, 15:41 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
Quote:
As for yPlusLES application itself, it has not yet been fixed to use compressible, not even in OpenFOAM 2.2.x, which is the very latest bug fix version of OpenFOAM. Best regards, Bruno
__________________
|
||
May 18, 2013, 18:51 |
|
#5 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Thank you wyldckat.
If I would like to calculate yPlus for compressible LES using OF211, how can I do it? Could you please give me some hints? thanks. Quote:
|
||
May 19, 2013, 07:49 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
I've made a note to look into this next week. In the mean time, have a look into the source code of the "yPlusLES" application in your own OpenFOAM version. You can find it by running this command: Code:
find $FOAM_UTILITIES -name yPlusLES As to modifying an OpenFOAM application, check this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam Best regards, Bruno
__________________
|
|
May 26, 2013, 19:32 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
Done! I've created the "yPlusLESWCompressible" utility for OpenFOAM 2.2.x and then back-ported to 2.1.x. Simply follow the instructions given here https://github.com/wyldckat/yPlusLES...swcompressible Hopefully everything will work as intended. At least the tests I've made seemed to indicate that everything was OK. Best regards, Bruno
__________________
|
|
September 18, 2013, 15:33 |
Can not get some post processing
|
#8 |
New Member
Join Date: Jan 2013
Location: Lisboa-Funchal
Posts: 23
Rep Power: 13 |
Good afternoon,
I tried to get the y+ or the wall shear stress, in order to put some probes for some tests, but unsuccessfully. The simulation I did, was compressible LES, and the OpenFOAM version I am using is the 2.0.1 (maybe where the problem is). I tried to compute y+ with the command yPlusLES but it gave me this error: Code:
--> FOAM FATAL IO ERROR: cannot find file file: /home/guilha/Desktop/cavidade_les/cavidade_128kx24_les_smagorinsky_galego_96-32_processadores/constant/transportProperties at line 0. Is it possible to get what I need, without running the simulation again ? And if so, will I need the function object ? (Doing an upgrade in my version will be complicated.)
__________________
Se Urso Vires Foge Tocando Gaita Para Hamburgo |
|
September 21, 2013, 16:04 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings guilha,
Try following the latest instructions given here: https://github.com/wyldckat/yPlusLES...ble/tree/of210 Best regards, Bruno
__________________
|
|
December 16, 2013, 16:35 |
|
#10 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi Bruno,
Thank you very much for your help. When I compiled it using wmake yPlusLESWCompressible, I got the following information: make: *** No rule to make target `yPlusLESWCompressible'. Stop. Do I need to add something in the Make folder? Thank you very much. Quote:
|
||
December 16, 2013, 20:28 |
|
#11 |
Senior Member
|
||
December 27, 2013, 01:05 |
|
#12 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi wyldckat,
Sorry to bother you. Could you please give me some suggestions about how to compile the yPlusLESWCompressible package? When I compiled it I had the problem I mentioned in the last thread. I am not very familiar with C++ compilation. Thank you and happy new year! Quote:
|
||
December 27, 2013, 15:08 |
|
#13 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@owayz: I had no idea someone else had already provided a compressible y+ for LES! @openfoammaofnepo: Quote:
Bruno |
||
December 27, 2013, 15:40 |
|
#14 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi,
1, The install procedure is from the following: https://github.com/wyldckat/yPlusLES...swcompressible I put the install package in the folder: /users/openfoammaofnepo/OpenFOAM/openfoammaofnepo-2.1.1/utilities/yPlusLESWCompressible-of21x/yPlusLESWCompressible 2, The OF version is 2.1.1 3, the Linux version is Distributor ID: ScientificSL Description: Scientific Linux SL release 5.5 (Boron) Release: 5.5 4, The complete output info is (after inputting the command wmake yPlusLESWCompressible) make: *** No rule to make target `yPlusLESWCompressible'. Stop. Thank you very much. Quote:
|
||
December 27, 2013, 15:54 |
|
#15 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
Quote:
Whoops... and I forgot to write the command for unzipping it That explains why you didn't perfectly follow the instructions Sorry about that. OK, the exact instructions should be: Code:
wget "https://github.com/wyldckat/yPlusLESWCompressible/archive/of21x.zip" -O yPlusLESWCompressible.zip unzip yPlusLESWCompressible.zip cd yPlusLESWCompressible-of21x wmake yPlusLESWCompressible You have two possible solutions:
Bruno
__________________
|
||
December 27, 2013, 17:46 |
|
#16 | |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi wyldckat, successfully installed. Thanks.
Quote:
|
||
December 29, 2013, 00:55 |
|
#17 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Hi wyldckat,
When we run wmake in the folder yPlusLESWCompressible-of21x/yPlusLESWCompressible, which file or executable is run for this command? Thank you very much. |
|
December 29, 2013, 08:27 |
|
#18 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
Quote:
Best regards, Bruno
__________________
|
||
January 8, 2014, 12:08 |
|
#19 |
Senior Member
Join Date: Jan 2013
Posts: 372
Rep Power: 14 |
Dear Bruno,
When I run yPlusLESWCompressible -compressible, I found that there is an error information about my thermodynamics option: Code:
Selecting thermodynamics package hsPsiMixtureThermo<singleStepReactingMixture<gasThermoPhysics>> --> FOAM FATAL ERROR: Unknown basicThermo type hsPsiMixtureThermo<singleStepReactingMixture<gasThermoPhysics>> Valid basicThermo types are: 26 ( ePsiThermo<pureMixture<constTransport<specieThermo<eConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<eConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<incompressible>>>>> hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>> hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hRhoThermo<pureMixture<icoPoly3ThermoPhysics>> hRhoThermo<pureMixture<icoPoly8ThermoPhysics>> hRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>> hRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<isobaricPerfectGas>>>>> hRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hsPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hsPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hsPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hsRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>> hsRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<isobaricPerfectGas>>>>> hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<isobaricPerfectGas>>>>> hsRhoThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> ) Last edited by wyldckat; January 12, 2014 at 13:35. Reason: Added [CODE][/CODE] |
|
January 12, 2014, 13:40 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi openfoammaofnepo,
I need more specific information on how you have configured the "thermodynamicProperties" file and how you load your customized thermodynamics library. Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressible flow, no data at the outlet | mireis | FLUENT | 6 | September 3, 2015 03:10 |
Natural Convection using Compressible Flow (chtMultiRegionFOAM) | msarkar | OpenFOAM | 2 | September 7, 2010 01:13 |
help with compressible flow BC's (need subsonic flow) | meangreen | Main CFD Forum | 5 | July 24, 2010 14:16 |
Compressible Fluid Flow in COMSOL Multiphysics | BBG | COMSOL | 1 | November 19, 2008 15:05 |
Solving unsteady compressible low speed flow | atit | Main CFD Forum | 8 | July 31, 2000 14:19 |