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

No more dynSmagorinsky in v. 2.3.0 ?

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

Like Tree3Likes
  • 1 Post By wyldckat
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2014, 13:11
Default No more dynSmagorinsky in v. 2.3.0 ?
  #1
New Member
 
Join Date: Apr 2012
Posts: 4
Rep Power: 13
fbar is on a distinguished road
Hi everybody,
I am beginning on OpenFoam (using 2.1.0) and as I am trying to use dynamic smagorinsky model, I have an error message saying the following :

--> FOAM FATAL ERROR:
Unknown LESModel type dynSmagorinsky
Valid LESModel types:
15
(
DeardorffDiffStress
LRRDiffStress
Smagorinsky
SpalartAllmaras
SpalartAllmarasDDES
SpalartAllmarasIDDES
dynLagrangian
dynOneEqEddy
homogeneousDynOneEqEddy
homogeneousDynSmagorinsky
kOmegaSSTSAS
laminar
mixedSmagorinsky
oneEqEddy
spectEddyVisc
)

It seems many models that are supposed to be able available are missing.
Can someone help me with this ?

Thanks a lot !
fbar is offline   Reply With Quote

Old   March 6, 2014, 10:03
Default No more dynSmagorinsky in v. 2.3.0 ?
  #2
New Member
 
Join Date: Apr 2012
Posts: 4
Rep Power: 13
fbar is on a distinguished road
Hi, I am new to OpenFoam and I want to use it for LES. I have seen that in previous versions a dynamic Smagorinsky turbulence model was in library, but it seems it has disappeared in v.2.3.0.
Does someone know solmething about it ?
Thanks a lot !
fbar is offline   Reply With Quote

Old   March 6, 2014, 16:44
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 fbar,

I've merged your two threads on this topic, since they were related, although one referring to 2.1.0 and the other to 2.3.0.
The model was renamed back in OpenFOAM 1.7.x: https://github.com/OpenCFD/OpenFOAM-...890d543f61531d
Quoting the commit message:
Quote:
Renamed dynSmagorinsky to homogeneousDynSmagorinsky to avoid further confusion concerning the averaging used in this model.

Removed dynMixedSmagorinsky.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2014, 06:00
Default
  #4
New Member
 
Join Date: Apr 2012
Posts: 4
Rep Power: 13
fbar is on a distinguished road
Thanks a lot for your answer, I moved on homogeneousDynSmag but was not absolutely sure !
fbar is offline   Reply With Quote

Old   July 22, 2014, 13:36
Default
  #5
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 13
HakikiCanakkaleli is on a distinguished road
Hi,

== 1 ==
Is there any reason why 'dynMixedSmagorinsky' is removed from the recent versions?

Many thanks in advance.
HakikiCanakkaleli is offline   Reply With Quote

Old   July 26, 2014, 09:56
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Quote:
Originally Posted by HakikiCanakkaleli View Post
Is there any reason why 'dynMixedSmagorinsky' is removed from the recent versions?
Quick answer: From what I could see, it was renamed as well. Currently it's named "mixedSmagorinsky" and is located at "$FOAM_SRC/turbulenceModels/incompressible/LES/" in OpenFOAM 2.3.
vivek05 likes this.
wyldckat is offline   Reply With Quote

Old   July 26, 2014, 14:43
Default
  #7
Senior Member
 
Canakkale Dardanelspor
Join Date: Aug 2012
Posts: 135
Rep Power: 13
HakikiCanakkaleli is on a distinguished road
Hi,

== 1 ==
Many thanks for your answer.

== 2 ==
I personally do not agree with this conclusion as 'mixedSmagorinsky' is not a dynamic model; but, a linear combination of scale-similarity and Smagorinsky(ish) models. Also, 'mixedSmagorinsky' class is present from the get-go.
HakikiCanakkaleli is offline   Reply With Quote

Old   July 27, 2014, 08:51
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Hi HakikiCanakkaleli,
Quote:
Originally Posted by HakikiCanakkaleli View Post
I personally do not agree with this conclusion as 'mixedSmagorinsky' is not a dynamic model; but, a linear combination of scale-similarity and Smagorinsky(ish) models. Also, 'mixedSmagorinsky' class is present from the get-go.
I unfortunately only took a quick glance at the description in the header files, and assumed they were the same thing.

Mmm... the only difference in the header for the dyn version was this:
Quote:
This version implements filtering to evaluate the coefficients in the model.
Interesting... the only other major difference is essentially this:
Code:
-class mixedSmagorinsky
+class dynMixedSmagorinsky
 :
     public scaleSimilarity,
-    public Smagorinsky
+    public dynSmagorinsky
In other words, the class "dynMixedSmagorinsky" would derive from "dynSmagorinsky" instead of just "Smagorinsky".

As far as I can see, the class "homogeneousDynSmagorinsky" which was originally "dynSmagorinsky", is based on code that has been in FOAM at least since 1991, if the copyright notice on the header is correct (have a look into the commit I mentioned before). The class seems to have been renamed for clarity, because there seems to be more than one way to implement a dynamic version of this model.
If you search online for "dynSmagorinsky", you'll see that other people have had to make some changes to that class/model, for example: http://powerlab.fsb.hr/ped/kturbo/Op...UniRostock.pdf

This leads me to deduce/think that when they renamed the class and added some more details, it was likely because someone reported this as a bug... and I found said bug just now: http://www.openfoam.org/mantisbt/view.php?id=99 - the bug report is pretty detailed, but there is no reference to the mixed variant.
From what I can deduce, the issue is that "dynMixedSmagorinsky" would no longer make much sense as "homogeneousDynMixedSmagorinsky", since they did not have the time to do more tests and validations with it. Or because in light of the topics discussed on the report, this modelling strategy would no longer make much sense.

If you want to know more details on what really happened, try using the contact form at www.openfoam.com

Best regards,
Bruno
bmikuz and HakikiCanakkaleli like this.
__________________
wyldckat 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
How to use dynSmagorinsky model correctly ? panda60 OpenFOAM 121 July 14, 2016 14:09
Plane-Averaged dynSmagorinsky mdjames OpenFOAM 3 June 8, 2014 22:52
[snappyHexMesh] Holes in cylinder AMI snappy 2.3.0 pbachant OpenFOAM Meshing & Mesh Conversion 3 March 14, 2014 22:37
incompressible dynSmagorinsky model? jiejie OpenFOAM 1 July 22, 2010 02:50


All times are GMT -4. The time now is 14:13.