|
[Sponsors] |
November 3, 2015, 09:39 |
Transient table input for gravity
|
#1 |
Member
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15 |
Hello foamers!!
I'm trying to work on a slosh simulation and I need to define the motion of the tank as an "acceleration vs time" table. Is there a way to input a table for gravity or is there any other option? Thanks! Akshay |
|
November 3, 2015, 16:19 |
|
#2 |
New Member
Paul Handy
Join Date: Sep 2014
Location: Idaho, USA
Posts: 21
Rep Power: 11 |
Are you trying to plot the acceleration of the tank itself, or the fluid inside it?
|
|
November 4, 2015, 05:08 |
|
#3 |
Member
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 13 |
Hi Akshay
Some time ago I edit the interFoam solver to use variable gravity. Accelaeration is defined as a table and it depends on simulation time. Solvers was based on interFoam form OF2.3.0 and works fine for me. In attatchment you can find solver code and g dictionary |
|
November 6, 2015, 22:17 |
|
#4 |
Member
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15 |
hey Paul : i dont want to move the tank. ..just want to apply the g forces acting on the fluid.
@W.T : the solver seems to be exactly what I need! thanks much! I also noticed that it interpolates values based on the timestep...where is this handled in the code? |
|
November 7, 2015, 04:57 |
|
#5 |
Member
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 13 |
Loaded g table is an "Date Entry" object - it is part of OF library.
Other standard BC also use it to time dependent behavior eg. http://www.openfoam.org/version2.1.0...conditions.php |
|
December 15, 2015, 06:17 |
interDyMFOam
|
#6 |
Member
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15 |
hey W.T
I tried to implement the same(table input for gravity) for interDyMFoam and everything looks fine when I run it in serial. But in parallel, my pressure monitors shows wrong values (constant values - all probes). Any clue why this is happening? Akshay |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient Blade Row - Time Transformation - Transient Details | awesim | CFX | 17 | September 8, 2022 06:23 |
Transient simulations: how to tell its converged (I've read the FAQ & user guides!) | JuPa | CFX | 12 | March 27, 2020 18:24 |
Input File for transient cavitating flow | Badi | CFX | 13 | July 1, 2013 10:28 |
How to input transient pressure data as BC in pre? | User | CFX | 4 | February 6, 2006 02:15 |
Transient user input table | Bart | Siemens | 0 | January 10, 2005 02:27 |