|
[Sponsors] |
validating methodology to solve rolling of half filled tank problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 23, 2016, 03:00 |
validating methodology to solve rolling of half filled tank problem
|
#1 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
Hi...
I am working on a problem which involves a half filled tank and which is under rolling motion. I had set a VOF model for 2 phases ( Water and air). For applying rolling motion I wrote a udf as follows: ************************************************** *************** #include "udf.h" #include "dynamesh_tools.h" DEFINE_ZONE_MOTION (oscillation, omega, axis, origin, velocity, time, dtime) { *omega=(0.3323*cos(3.81*time)); //here 3.81 is frequency of rotation return; } ************************************************** ************** After that this i interpreted this udf in ansys fluent Then I choosed for cell zone condition on fluent window and surface body under zone selection box. then to this "surface body" zone i ticked on mesh motion and hooked the above udf. but the results are not satisfactory... PLEASE TELL ME WHETHER MY APPROACH IS RIGHT? OR IF WRONG THE HOW CAN I GIVE ROLLING MOTION TO TANK.. I AM A NEW USER SO HAVING A BIT OF KNOWLEDGE. Thanks in advance edit : I am verifying the result with pressure measurement at a point and comparing with available literature. For measuring pressure I had used 'point' under 'surface' |
|
November 23, 2016, 03:07 |
|
#2 |
Member
KirMaks
Join Date: Aug 2016
Posts: 34
Rep Power: 10 |
Hallo,
just an idea, why just not to change the direction of the gravity vector, it should be much easier than moving mesh? There is also VOF UDF tutorial in FLUENT about splashing tank where the acceleration changes in time. Regards, Maksim. |
|
November 24, 2016, 05:06 |
|
#3 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
hi kirmaks ... can you please elaborate . I am not getting what you want to say.
|
|
November 24, 2016, 05:12 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
It's a matter of perspective: instead of moving the entire tank/mesh, you could instead change the direction of gravity. Have a read of this post on applying a gravity force to the momentum source terms: http://www.cfd-online.com/Forums/flu...tml#post356732
Note: you'll need to apply similar source terms in the x and y directions with sine and cosine functions to mimic the rolling motion. |
|
December 6, 2016, 06:13 |
|
#5 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
Hi 'e' I tried to figure out what you mean but I could not. Can this momentum source method be used for sloshing under roll motion of tank?
I am new member and know a bit of fluent. Thanks for your reply. |
|
December 6, 2016, 06:18 |
|
#6 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
Hi 'e' rather I made a udf as follow:
.................................................. .. #include "udf.h" #include "dynamesh_tools.h" DEFINE_ZONE_MOTION (oscillation, omega, axis, origin, velocity, time, dtime) { *omega=(5*3.14/180*3.81*cos(3.81*time)); return; } .................................................. ........................ and in fluent I interpreted it. Then I hooked it to frame motion menu under cell boundary condition. I want to know whether my approach is correct ? Thanks in advance.... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How FVM will solve shock problem? | michael | Main CFD Forum | 4 | June 13, 2007 10:07 |
Can CFX solve problem with structured mesh? | Peted | CFX | 2 | June 1, 2004 00:45 |
Can FLUENT solve this type of problem? | Whitaker | FLUENT | 3 | October 23, 2000 04:01 |
extremely simple problem... can you solve it properly? | Mikhail | Main CFD Forum | 40 | September 9, 1999 10:11 |
Tank problem using CFD | meda | Main CFD Forum | 3 | July 1, 1999 22:44 |