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

Simulating water movement up and down in a tank

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2018, 16:12
Default Simulating water movement up and down in a tank
  #1
New Member
 
Join Date: Sep 2018
Posts: 1
Rep Power: 0
walte is on a distinguished road
Hi all,

I am a new Fluent user and I am trying to simulate fluctuation water movement up and down, similar to that of a tank draining then refilling. The water movement is not cyclical and therefore cannot be simulated with a function. Is there a way to use dynamic mesh to add layers and remove layers over time with an array of water level numbers? If so how would I write this udf?

The second option would be to include an air layer above and change the pressure (at an inlet at the bottom that is already needed in my model) to shift the water level. If I do it this way I'm not sure how to add an energy source just to the water phase in the VOF model. On the graphic interface it only allows hooking an energy source to the mixture.

Any suggestions would be helpful!
walte is offline   Reply With Quote

Old   October 19, 2018, 14:38
Default
  #2
New Member
 
PrfromTexas's Avatar
 
Terry Lewis
Join Date: Oct 2018
Posts: 1
Rep Power: 0
PrfromTexas is on a distinguished road
Hello,


While you incorporate layer 0, you will "turn on" all of gathering layer 0's sublayers. On the off chance that you take a gander at the layer.visibleLayers cluster you should see esteems [0,2,3] for the obvious layers. The visibleLayers cluster should be set to: [3]. It would be ideal if you take note of that layer 0 is absent, despite the fact that it is obvious. There's a good guide on Dynamic Meshdiscrimination.

The way to making it work: setting perceivability for sublayers, just incorporate "leaf" layerids. The sole exemption to this, is obviously, in case you're turning "on" a gathering layer, in which case you need to incorporate the gathering id number in the exhibit.
PrfromTexas is offline   Reply With Quote

Reply

Tags
draining and refilling, dynamic mesh, interface movement, vof, water level


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



All times are GMT -4. The time now is 04:25.