|
[Sponsors] |
How to initialize stratified temperature profile in a rectangular tank |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 11, 2015, 21:13 |
How to initialize stratified temperature profile in a rectangular tank
|
#1 |
New Member
Mrityunjay sahu
Join Date: Jan 2010
Location: Sydney,Australia
Posts: 11
Rep Power: 16 |
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. |
|
May 12, 2015, 07:49 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
Use a CEL expression or a 1D interpolation function to define the initial stratification profile as an initial condition.
|
|
June 11, 2015, 15:47 |
|
#3 |
New Member
munmun
Join Date: Jun 2015
Posts: 1
Rep Power: 0 |
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? |
|
June 11, 2015, 19:41 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
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.
|
|
June 11, 2015, 19:54 |
|
#5 |
New Member
Mrityunjay sahu
Join Date: Jan 2010
Location: Sydney,Australia
Posts: 11
Rep Power: 16 |
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/DOMAINefault 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 |
|
June 11, 2015, 21:09 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,788
Rep Power: 31 |
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 MyTempDist = MyTrefValue *(1 - (exp(MyDimlessDept)-exp(-Same))/(exp(Same)+exp(-Same)) |
|
June 18, 2015, 11:51 |
|
#7 | |
New Member
Mrityunjay sahu
Join Date: Jan 2010
Location: Sydney,Australia
Posts: 11
Rep Power: 16 |
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. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3d rectangular tank | asdnet36 | Structural Mechanics | 0 | January 25, 2014 13:24 |
Unsteady temperature profile | rachana | Fluent UDF and Scheme Programming | 2 | December 29, 2012 10:16 |
Fully developed temperature profile in OF !!! | Goutam | OpenFOAM Running, Solving & CFD | 0 | July 5, 2012 08:44 |
Temperature Profile through a fluid solid interface | Studentdrak | CFX | 4 | January 31, 2012 23:23 |
temperature profile on boundary | sivakumar | FLUENT | 5 | November 24, 2002 01:58 |