CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

How to set water level in basin solar still?

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By AtoHM
  • 1 Post By ghorrocks
  • 1 Post By Gert-Jan
  • 1 Post By Gert-Jan
  • 1 Post By Gert-Jan
  • 1 Post By Gert-Jan
  • 1 Post By Gert-Jan
  • 1 Post By Gert-Jan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2019, 11:20
Default How to set water level in basin solar still?
  #1
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Hi,


I am simulating basin solar still using CFX. But I don't know that how to set water level in CFX? The water level inside the basin is 4 cm (in direction of Y).


Thanks.
aja1345 is offline   Reply With Quote

Old   September 25, 2019, 12:47
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
Use a step function inside an expression to initialize the water phase volume fraction below a given spatial coordinate value:
myIniWaterLevel = step(<Offset> - Y Coordinate)
Within the global initialization you can use this expression to give the initial water volume fraction. Also initialize the correct pressure distribution (due to hydrostatic pressure under water).
Define the air volume fraction to be one everywhere else.


There is also a cfx tutorial on this, so you might find a template there.
aja1345 likes this.
AtoHM is offline   Reply With Quote

Old   September 25, 2019, 13:33
Default
  #3
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
Use a step function inside an expression to initialize the water phase volume fraction below a given spatial coordinate value:
myIniWaterLevel = step(<Offset> - Y Coordinate)
Within the global initialization you can use this expression to give the initial water volume fraction. Also initialize the correct pressure distribution (due to hydrostatic pressure under water).
Define the air volume fraction to be one everywhere else.


There is also a cfx tutorial on this, so you might find a template there.

Thanks. Could you please explain more about "step(<Offset> - Y Coordinate)"?


The water level is between 0 and 0.4 in direction of Y.



I have the following error:







aja1345 is offline   Reply With Quote

Old   September 25, 2019, 17:37
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
When you are using a CEL function you should look up the documentation (reference manual) so you know the syntax and what it does. You just need to get the syntax right. Also your error message says you need to fix the units - again refer to the documentation on why that is, it is all explained there.

Try myIniWaterLevel = step((y-0.4[m])/1[m])
aja1345 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 27, 2019, 07:14
Default
  #5
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
Use a step function inside an expression to initialize the water phase volume fraction below a given spatial coordinate value:
myIniWaterLevel = step(<Offset> - Y Coordinate)
Within the global initialization you can use this expression to give the initial water volume fraction. Also initialize the correct pressure distribution (due to hydrostatic pressure under water).
Define the air volume fraction to be one everywhere else.


There is also a cfx tutorial on this, so you might find a template there.

Which CFX tutorial?
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 07:49
Default
  #6
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Now I have following error(but still prior problem is investigating):







Why dose this happen? error mean that it should be define viscosity for glass and wood. But I don't see viscosity in their properties(material tab).


thanks.
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 08:04
Default
  #7
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Open the transport properties tab of glass and wood
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 08:08
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Quote:
Originally Posted by aja1345 View Post
Which CFX tutorial?

On the customer portal. If you are a registered user.....
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 08:52
Default
  #9
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Firstly I should say that this simulation is steady. About water level, I write expression as flows:

But water volume fraction is as follows. This value of water height is very small. Also, I increased value of waterH (initial water height) but the problem is not solved. How can I solve this problem?












Thanks.

Last edited by aja1345; September 28, 2019 at 07:01.
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 09:03
Default
  #10
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
You mentioned the liquid is 4 cm. So, looks ok. For someone who is not involved in your problem, this can be a completely valid outcome of the simulation. Since you are the only one involved, it is only you who can judge its validity.


So, if you need help, go to your supervisor or describe exactly what you are trying to do, what you expect, what inlet and outlets are, boundary conditions, etc. I have no idea and don't want to guess.
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 09:32
Default
  #11
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Also, show your grid.
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 10:28
Default
  #12
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
Also, show your grid.









Thanks.
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 10:33
Default
  #13
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Hi again




I want to allocate glass material to glass boundary (according to the following pic), but I can't do it. In fact, I don't find anything about material in the boundary. How can I solve this problem?












Thanks.
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 10:50
Default
  #14
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
You can only assign material properties to volumes, not to surfaces.
But why would you include glass? I really wonder:

What question are you trying to answer using CFD?

Do you have this point sharp?
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 12:01
Default
  #15
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
You can only assign material properties to volumes, not to surfaces.
But why would you include glass? I really wonder:

What question are you trying to answer using CFD?

Do you have this point sharp?

I want to develop a steady three-dimensional, two-phase model for evaporation and condensation processes in solar still by using (CFD) method to simulate the model.
aja1345 is offline   Reply With Quote

Old   September 27, 2019, 13:43
Default
  #16
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
What you describe is the piece of equipment.
But what question do you have about it?
Is there something wrong with it?
Or do you just perform a CFD calculation to be of the street?
Gert-Jan is offline   Reply With Quote

Old   September 27, 2019, 17:12
Default
  #17
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
What you describe is the piece of equipment.
But what question do you have about it?
Is there something wrong with it?
Or do you just perform a CFD calculation to be of the street?

This is a MSC Project and I should valid my work with a paper and then I want to develop this work and investigate different effective parameter on still performance, for example: depth of water(water hieght), glass boundary slip and ...therefore, firstly, I should valid my work.

I solved some problem in this case with help of you and CFD online, But Now I have just one problem and it is depth of water. In fact, I don't know that how can I change this depth with using expression.

Thanks.
aja1345 is offline   Reply With Quote

Old   September 28, 2019, 05:27
Default
  #18
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
How much is 0.08 [cm]?
aja1345 likes this.
Gert-Jan is offline   Reply With Quote

Old   September 28, 2019, 06:04
Default
  #19
Senior Member
 
Aja
Join Date: Nov 2013
Posts: 496
Rep Power: 14
aja1345 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
How much is 0.08 [cm]?

Thanks sir, you are right. Value of hieght was not correct
Thanks for your help.
aja1345 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass imbalance problem in multiphase water and steam CFX case Antech CFX 1 October 26, 2020 04:03
No liquid water exist in my Fuel Cell simulation fatchang FLUENT 19 October 15, 2018 14:27
For a single phase flow, is there any way to check water surface level? Tanjina FLUENT 0 February 23, 2014 22:56
How does one set an inital water level for a tank FreeFall79 CFX 1 November 19, 2013 17:53
height of water level in two-phase flows? Michael Bo CFX 2 August 23, 2004 01:50


All times are GMT -4. The time now is 12:48.