RASmodel laminar vs. simulationType laminar
Hi,
I'm using the buoyantBoussinesqSimpleFoam in OF 2.3.1 to solve the classical vertically heated square enclosure with laminar flow (Ra=10^3 ). My first question is: What is the differennce between setting simulationType laminar in the turbulenceProperties dictionary and RASmodel laminar in RASProperties dictionary? Actually, I notice that the turbulenceProperties is not necessary when you set RASmodel laminar in RASProperties. However, the opposite is not true. Another question is: If the turbulence model is off, why do I still need to set all the turbulent properties in the /0 folder? Tkz. |
Hi,
Here is how buoyantBoussinesqSimpleFoam creates turbulence model: Code:
... Code:
autoPtr<RASModel> RASModel::New Code:
autoPtr<incompressible::turbulenceModel> turbulence Code:
autoPtr<turbulenceModel> turbulenceModel::New |
Ok, thank you for the answer.
I'm still in the superficial user level so... this is what I got: this is a carachteristic of the way the buoyantBoussinesqSimpleFoam creates the turbulence model (previously set as RASmodel (?)). In others applications, turbulencePropertires might be read first and then we need to set simulationType in turbulenceProperties. Once laminar was choosed, we shouldn't need any <tubulenceModel>Properties dictionary. Ok? |
Yes, that is correct.
And answering your original question, there's no physical difference between "simulationType laminar" and "RASModel laminar". Both return zero volume fields for nut, k, epsilon, and omega. Difference is in the way classes are instantiated. |
All times are GMT -4. The time now is 02:46. |