CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Transient table input for gravity

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes
  • 4 Post By dybuk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2015, 09:39
Default Transient table input for gravity
  #1
Member
 
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15
Akshay is on a distinguished road
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
Akshay is offline   Reply With Quote

Old   November 3, 2015, 16:19
Default
  #2
New Member
 
Paul Handy
Join Date: Sep 2014
Location: Idaho, USA
Posts: 21
Rep Power: 11
phandy is on a distinguished road
Are you trying to plot the acceleration of the tank itself, or the fluid inside it?
phandy is offline   Reply With Quote

Old   November 4, 2015, 05:08
Default
  #3
Member
 
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 13
dybuk is on a distinguished road
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
Attached Files
File Type: zip interFoamVariableG.zip (9.7 KB, 151 views)
Akshay, afshinb, Q.E.D. and 1 others like this.
dybuk is offline   Reply With Quote

Old   November 6, 2015, 22:17
Default
  #4
Member
 
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15
Akshay is on a distinguished road
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?
Akshay is offline   Reply With Quote

Old   November 7, 2015, 04:57
Default
  #5
Member
 
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 13
dybuk is on a distinguished road
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
dybuk is offline   Reply With Quote

Old   December 15, 2015, 06:17
Default interDyMFOam
  #6
Member
 
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 15
Akshay is on a distinguished road
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
Akshay is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
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


All times are GMT -4. The time now is 06:59.