How to initialize stratified temperature profile in a rectangular tank
Hi,
I am working on destratification process in a tank.Air bubble plume is used to destratify. My tank dimension is 1.44X1.44X1.12. I want to study this process by using k-e turbulence model. However, I wanted to initialize the domain with stratified non linear temperature profile through out the domain. Kindly advise me the procedure to initialize it. Thank you in advance. |
Use a CEL expression or a 1D interpolation function to define the initial stratification profile as an initial condition.
|
I am trying it for rectangular domain as well. I have tried to put it as CEL function. But it is showing dimension unmatched?
Could you suggest me an example? |
CEL requires the units to be correct for it to be a valid expression. You obviously have not got the units correct. Post the CEL expression and we will have a look at it.
|
The expression I want to put in is Temperature (T) = T*(1-tanh(2*(z-h)/h)
here h = depth of tank z = varying depth tanh(x) = exp(x)-exp(-x)/exp(x)+exp(-x) I am getting following error Bad expression value 'temperature' detected in parameter 'Buoyancy Reference Temperature' in object '/FLOW:Flow Analysis 1/DOMAIN:Default Domain/DOMAIN MODELS/BUOYANCY MODEL'. CEL error: The dimensions of the argument to function 'exp' are inconsistent with expected dimensions. Argument dimensions resolve to 'm'; expected '<dimensionless>'. Kindly help |
Could you please your CEL section as it stands in the software ?
If tanh(x) defined anywhere, or built-in ? or you simplified the expression for us. I think you meant as follows DimlessDepth = (z - h ) / h Code:
DimlessDepth =2*(z - h ) / h |
Quote:
However, I could not get your question on "Could you please your CEL section as it stands in the software ?". Yes I simplified tanh(x). It is not built in function. However my query is im DimlessDepth "h" is variable and it changes. Shoud I use step function or any other function to define it? Kindly guide me. Thank you in advance. |
All times are GMT -4. The time now is 12:09. |