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/)
-   -   variable CMU for kEpsilon model (https://www.cfd-online.com/Forums/openfoam-programming-development/191140-variable-cmu-kepsilon-model.html)

vcvedant August 1, 2017 10:42

variable CMU for kEpsilon model
 
Hello Foamers,

I want to change change C_\mu for kEpsilon model and define it as a local variable for the whole domain.
So, \nu_t = C_\mu \frac{k^2}{\varepsilon} would remain same but
C_\mu = f(x,y)

Currently it is defined as dimensionedScalar. I am thinking that first I should define it as volScalarField and then do the changes.
I would appreciate any help and guidance.

Thanks

fumiya August 5, 2017 23:22

Cmu is volScalarField in the realizableKE model.
I think it will be of reference to you.

Best regards,
Fumiya

vcvedant August 9, 2017 10:03

Thanks Fumiya for your response. I started with realizable k-espilon model as reference.
Yours blogs are really helpful to understand and work with OpenFOAM.

KingKraut March 8, 2022 04:35

did it work? :-)
 
Hi vcvedant,
although quite long ago, but did you manage to implement Cmu as a space-dependent field? I would like to do the same, however, did not yet manage to do as in the realizableKE-model.
Thanks a lot in advance and all the best


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