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

A new EARSM turbulence model implementation

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

Like Tree8Likes
  • 7 Post By elbertj
  • 1 Post By khedar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2016, 10:43
Default A new EARSM turbulence model implementation
  #1
New Member
 
elbert
Join Date: Mar 2009
Location: USA
Posts: 10
Rep Power: 15
elbertj is on a distinguished road
Hello Foamers,

I have implemented and verified a new turbulence model in OpenFOAM. The Baseline-EARSM model, is an explicit algebraic Reynolds stress model and provides better converges than other non-linear stress-strain turbulence models in OF.

The model is implemented for the incompressible solver, and can be extend for the compressible solver in a straight-forward manner (similar to other standard Turbulence models). The source code, verification report, an example case and reference papers can be downloaded here,
https://gitlab.com/ejp/BSL-EARSM

The reference for this turbulence model is,
Menter, F. R., A. V. Garbaruk, and Y. Egorov. "Explicit algebraic Reynolds stress models for anisotropic wall-bounded flows." In Progress in Flight Physics, vol. 3, pp. 89-104. EDP Sciences, 2012.

Elbert
elbertj is offline   Reply With Quote

Old   February 18, 2016, 11:21
Default
  #2
New Member
 
Rhys Hunter
Join Date: Jul 2012
Posts: 13
Rep Power: 12
prezza is on a distinguished road
Thanks Elbert for sharing your code.

It's indeed a much needed model. Just wondering if there's any reason it's implemented in OF 1.7?
prezza is offline   Reply With Quote

Old   August 15, 2016, 06:47
Default
  #3
New Member
 
anonymous
Join Date: Oct 2012
Posts: 1
Rep Power: 0
ruthless is on a distinguished road
Thanks for the code

Is someone using this model with a newer OpenFoam Version and could explain how to install it?

I get a lot of errors while using wmake libso for OF 2.30
Attached Files
File Type: txt errors_wmake_OF230.txt (12.2 KB, 10 views)
ruthless is offline   Reply With Quote

Old   February 1, 2017, 12:41
Default EARSM model for newer OF versions
  #4
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 8
khedar is on a distinguished road
I have converted the model developed by elbertj for OF 2.3.1 and 4.1.
Link is:

https://bitbucket.org/khedar/of-dev/src

If you face any problems regarding compiling or usage, feel free to ask in this thread, or raise an issue on the bitbucket repository.
purnp2 likes this.
khedar is offline   Reply With Quote

Old   June 27, 2017, 14:36
Post
  #5
New Member
 
Join Date: Jun 2017
Posts: 1
Rep Power: 0
Jess99 is on a distinguished road
Hi guys,

I'm new to OpenFoam and trying to solve the 'sqDuct'-case by using the BSL-EARSM model. Compiling went well (OF 2.3.1), but I'm not sure how to go on now. For example is the geometry already meshed (results in 'polyMesh'?) and what is the command to execute the solver?

I appreciate any help.
Jess99 is offline   Reply With Quote

Old   June 30, 2017, 18:09
Default
  #6
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 8
khedar is on a distinguished road
Solver is a custom solver written by the author of the Code..You can refer to the PDF File of his results at the bitbucket source Website. I have not Run the Case myself so cannot help you further
khedar is offline   Reply With Quote

Old   January 29, 2018, 06:39
Default BSL-EARSM for OF v5?
  #7
New Member
 
henriksl
Join Date: Jan 2018
Posts: 2
Rep Power: 0
henriksl is on a distinguished road
Hi guys,

Is the BSL-EARSM being developed also for OF v5 anytime soon? If not, is it large differences regarding the implementation in v5 versus v4.1 and would it be realistic for a beginner to implement it? (following the guides from Chalmers)

I appreciate any help.
henriksl is offline   Reply With Quote

Old   January 29, 2018, 07:09
Default
  #8
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 8
khedar is on a distinguished road
I think it should be no problem to use it in OF5. But I have not compiled or tested yet. Best thing is to try and then report the errors if any.

Best Regards.
khedar is offline   Reply With Quote

Old   February 6, 2018, 15:12
Default Problems with implementation in OPF5
  #9
New Member
 
henriksl
Join Date: Jan 2018
Posts: 2
Rep Power: 0
henriksl is on a distinguished road
Hi again,

So I tried to implement the OF4.1 version to OF5 and after following the instructions for implementation of a new model by Chalmers,
and altering lines 52-56 in bslearsm.C and lines 59-63 in bslearsm.H to

"
kOmegaSSTBase<eddyViscosity<RASModel<BasicTurbulen ceModel>>>

"

I get the errors given in the attached file. I see that "gamma" is defined in kOmegaSSTBase.C and kOmegaSSTBase.H, but I am unable to fix the problem.

Thanks for any help.
Attached Files
File Type: txt error.txt (1.7 KB, 16 views)
henriksl 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
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 21:21
Fluent :- turbulence Model prince_pahariaa FLUENT 9 May 20, 2016 04:41
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
How to decide to Turbulence model shipman OpenFOAM 2 August 18, 2013 04:00
k-w Turbulence model implementation suneesh Main CFD Forum 4 November 23, 2005 18:35


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