|
[Sponsors] |
September 26, 2018, 03:24 |
|
#21 | |
New Member
Christian Jähnel
Join Date: Nov 2016
Posts: 11
Rep Power: 9 |
Quote:
Thank you for that hint. I did a simulation with interfoam and now get the following error after executing "execFlowFunctionObjects -time 1.5 | tee log.desField": Code:
Create time Create mesh for time = 1.5 Time = 1.5 Reading phi Reading U Reading p No finite volume options present --> FOAM Warning : --> FOAM FATAL IO ERROR: keyword transportModel is undefined in dictionary "/lustre/scratch2/s2665038/FFW2.5_n24_350l/constant/transportProperties" file: /lustre/scratch2/s2665038/FFW2.5_n24_350l/constant/transportProperties from line 18 to line 66. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. End Code:
phases (water air); water { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; rho rho [ 1 -3 0 0 0 0 0 ] 1000; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; m m [ 0 0 1 0 0 0 0 ] 1; n n [ 0 0 0 0 0 0 0 ] 0; } BirdCarreauCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; k k [ 0 0 1 0 0 0 0 ] 99.6; n n [ 0 0 0 0 0 0 0 ] 0.1003; } } air { transportModel Newtonian; nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05; rho rho [ 1 -3 0 0 0 0 0 ] 1; CrossPowerLawCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; m m [ 0 0 1 0 0 0 0 ] 1; n n [ 0 0 0 0 0 0 0 ] 0; } BirdCarreauCoeffs { nu0 nu0 [ 0 2 -1 0 0 0 0 ] 0.0142515; nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; k k [ 0 0 1 0 0 0 0 ] 99.6; n n [ 0 0 0 0 0 0 0 ] 0.1003; } } sigma sigma [ 1 0 -2 0 0 0 0 ] 0.07; Thanks a lot! |
||
September 26, 2018, 16:51 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick question @ch_jaehnel: Which OpenFOAM version are you using?
__________________
|
|
September 28, 2018, 06:35 |
|
#23 |
New Member
Christian Jähnel
Join Date: Nov 2016
Posts: 11
Rep Power: 9 |
||
December 4, 2018, 02:58 |
|
#24 | |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
Quote:
Is there any way to make this code work for the k-Omega SST DES model? I got this error when I used it for k-Omega SST DES : "No DES turbulence model found in database" |
||
December 4, 2018, 16:41 |
|
#25 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answers:
@ch_jaehnel: Sorry for the very late reply: Quote:
With OpenFOAM 5, use the "-postProcess" option with the solver, which will load in the necessary properties and fields. See the User Guide for more details. ---------- @saiguruprasad: Quote:
__________________
|
|||
December 4, 2018, 22:19 |
|
#26 | |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
I am sorry for not being verbose about the problem before.
I am trying to simulate Couette flow at Re_w=8600 using k- SST DES model in OF-5.x. I used perturbUChannel to set up the initial conditions for the flow to sustain turbulence. Running a LES simulation, the instantaneous and mean velocity should be different. But I was not able to achieve this using k- SST DES. I wanted to use DESModelRegions to check how much of the area was being solved using LES and RANS. I downloaded the code and compiled it without errors. I added the folowing line to my controlDict: Code:
functions { desField { type DESModelRegions; functionObjectLibs ("libDESModelRegions.so"); writeControl writeTime; } } Quote:
|
||
December 5, 2018, 22:39 |
|
#28 |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
Code:
simulationType LES; LES { LESModel kOmegaSSTDES; turbulence on; printCoeffs on; delta cubeRootVol; printCoeffs on; turbulence on; cubeRootVolCoeffs { deltaCoeff 1; } PrandtlCoeffs { delta cubeRootVol; cubeRootVolCoeffs { deltaCoeff 1; } smoothCoeffs { delta cubeRootVol; cubeRootVolCoeffs { deltaCoeff 1; } maxDeltaRatio 1.1; } Cdelta 0.158; } vanDriestCoeffs { delta cubeRootVol; cubeRootVolCoeffs { deltaCoeff 1; } smoothCoeffs { delta cubeRootVol; cubeRootVolCoeffs { deltaCoeff 1; } maxDeltaRatio 1.1; } Aplus 26; Cdelta 0.158; } smoothCoeffs { delta cubeRootVol; cubeRootVolCoeffs { deltaCoeff 1; } maxDeltaRatio 1.1; } } |
|
December 6, 2018, 12:38 |
|
#29 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer @saiguruprasad: Many thanks for all of the details, because I'm not very familiar with DES and how it's implemented.
After taking a better look, I roughly remembered things and then noticed what I wrote back when I created the repository and I quote: https://github.com/wyldckat/DESModel...#how-to-use-it Quote:
In more detail, with the SpalartAllmarasDES models, the calculation of the model regions field is calculated as indicated here: https://cpp.openfoam.org/v5/SpalartA...ce.html#l00379 But the problem is that it's not clear how it should be calculated for "kOmegaSSTDES", not even back in OpenFOAM 2.3. If you do some research on the topic and figure out how it should be calculated, we can then work on implementing that calculation. |
||
February 21, 2019, 10:44 |
DESModelRegions Usage
|
#30 | |
Member
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 9 |
Quote:
Firstly thanks a lot for providing this utility for OF 5. I want to test this function in a tutorial case pitzDaily using SpalartAllmarasDES model. But the results show that Code:
DESModelRegions desField write: No DES turbulence model found in database I attached my case here. Could you help me to test it? Thanks! |
||
February 24, 2019, 18:10 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Many thanks for the feedback and test case! I had made a mistake in how the model is constructed for compressible flow. If you downloaded the ZIP file, then please do another download and build again, because I have committed the bug fix just now. If you downloaded using Git, then go into the folder where you've placed the "DESModelRegions" source code and run: Code:
git pull wmake
__________________
|
|
February 24, 2019, 18:31 |
|
#32 |
Member
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 9 |
Thanks a lot!
It works fine now. |
|
April 19, 2019, 19:12 |
Implementation for kwSST-DES
|
#33 | |
New Member
Carlos G. Ramirez R.
Join Date: Oct 2014
Posts: 3
Rep Power: 11 |
Quote:
Thanks again for this contribution, Carlos |
||
April 21, 2019, 06:17 |
|
#34 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer:
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 10:05 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
Is function object forceCeofficient compatible with interDyMFoam? | Philer | OpenFOAM Running, Solving & CFD | 0 | March 10, 2010 10:30 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |