|
[Sponsors] |
October 10, 2019, 13:33 |
Exploding Water Surface (VOF)
|
#1 |
New Member
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 11 |
Hello there folks,
I've met my final enemy, my David to the great Goliath... but from the beginning: I'm doing a wading Simulation, meaning I have a car, going in and through a water trench. To do so, I use the overset mesh method, meaning, that the moving car is located in its own meshed region. That region is moved by the motion specification "Morpher" along a given path. Same is applied for the tires, which are also rotating. To the physics: The water is initialized by the VOF-model, namely a flat wave with a given water depth. There is no current velocity given, as the water trench is closed to all sides, more like a pond. I used both k-epsilon and k-omega turbulence models, 1st and 2nd order, with and without resolved boundary layer, wall function, no prism layers at all, all y+ treatment and so on.. basically any sensible combination of the given choices. Timestep is a reasonable 1e-3s and in different fine mesh approaches I used between 5 to 15 million cells in a 1:1 modell. But here it comes: after initializing and sucessfully running the simulation for some time something weird happens. Down the trench, far from any oversetmesh or boundary condition (appart from walls) the y+ values on the wall explodes at a (seemingly) random point. Veloty magnitudes reach skyrocketting levels, resiudals go through the roof and the water litterally shoots in all directions starting from said point. There is no change in mesh size, no velocity to deal with, no phase change, nothing. I guess (at this point, anything is just an assumption ) the turbulence modells, whichever I'm using, is struggling with the fact, that it is stillstanding water. Because of this I dont know exactly, how I should build the mesh near the walls. Using k-e and trying to be in the log layer or a resolved boundary layer with the k-w model, I have zero velocity at the wall because of the stagnant water, giving no sensible value for the first layer. If anyone has any tips, guesses or questions to be discussed, I'm happy to share details and learn about this. I'll try to upload some pictures tomorrow as well, it's kind of tricky though because of restrictions from my company.. Anyway, have a good one, and maybe we can solve this one (= BTW: it's actually like the JLR approach, looking like the following: Last edited by JackFischer; October 10, 2019 at 17:36. |
|
October 10, 2019, 19:01 |
|
#2 | ||||
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
Quote:
Quote:
Code:
($$Position[2] <= 0.1) ? 1.0 : 0.0 Quote:
Quote:
Did you try playing with URFs? - Like setting Velocity and Volume Fraction to 0.1:0.9? |
|||||
October 11, 2019, 02:49 |
|
#3 | ||||
New Member
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 11 |
Thanks for your insights!
Quote:
Quote:
Quote:
Quote:
|
|||||
October 11, 2019, 04:51 |
|
#4 | |||||
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
Quote:
1) does it diverge if you set just a Translation Motion? 2) UserGuide says: Quote:
Quote:
The idea, once again, is to smoothen the initial liquid-air interface. Can't guarantee that it will help - but it's a good practice anyway. Quote:
I meant more like maximum and average Courant number where motion of phases happens. Quote:
|
||||||
October 11, 2019, 05:29 |
|
#5 | ||||
New Member
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 11 |
Quote:
Quote:
Quote:
Quote:
|
|||||
October 11, 2019, 05:47 |
|
#6 | |||
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
Quote:
Code:
$$InitialVolumeFractionofLiquid ($$Position[2] <= 0.1) ? 1.0 : 0.0 Code:
$$InitialVolumeFractionofAir ($$Position[2] <= 0.1) ? 0.0 : 1.0 Quote:
Thus - it can be calculated in cells based on your velocity, mesh size and time step and show how "good" your time step is, since target CFL (Courant number) is adviced to be ≤ 1. Given mesh cells sizes and given velocity distribution (driven by physics and process) - one can estimate a target time step. Quote:
|
||||
October 11, 2019, 06:14 |
|
#7 | |
New Member
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 11 |
I really appreciate your help here!
Quote:
Quote:
|
||
Tags |
morphing, overset, vof |
|
|
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 05:03 |
How to track water surface height in a VOF channel flow | rjm1982 | FLUENT | 9 | May 24, 2018 04:58 |
initialize open channel flow with a know water surface profile | Ema40 | Fluent Multiphase | 4 | February 21, 2016 12:31 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
swimming pool water surface motion due to wind | J.Kim | FLUENT | 4 | May 5, 2006 11:08 |