CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   A new EARSM turbulence model implementation (https://www.cfd-online.com/Forums/openfoam-programming-development/166050-new-earsm-turbulence-model-implementation.html)

elbertj February 1, 2016 09:43

A new EARSM turbulence model implementation
 
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

prezza February 18, 2016 10:21

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?

ruthless August 15, 2016 05:47

1 Attachment(s)
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

khedar February 1, 2017 11:41

EARSM model for newer OF versions
 
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.

Jess99 June 27, 2017 13:36

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.

khedar June 30, 2017 17:09

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

henriksl January 29, 2018 05:39

BSL-EARSM for OF v5?
 
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.

khedar January 29, 2018 06:09

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.

henriksl February 6, 2018 14:12

Problems with implementation in OPF5
 
1 Attachment(s)
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.


All times are GMT -4. The time now is 17:41.