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

Transient table input for gravity

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

Like Tree2Likes
  • 2 Post By dybuk

Reply
 
LinkBack Thread Tools 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: 82
Rep Power: 8
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: 4
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
New Member
 
W.T
Join Date: Oct 2012
Posts: 19
Rep Power: 5
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, 14 views)
Akshay and afshinb 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: 82
Rep Power: 8
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
New Member
 
W.T
Join Date: Oct 2012
Posts: 19
Rep Power: 5
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: 82
Rep Power: 8
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transient Blade Row - Time Transformation - Transient Details awesim CFX 16 August 6, 2016 09:40
Input File for transient cavitating flow Badi CFX 13 July 1, 2013 09:28
Transient simulations: how to tell its converged (I've read the FAQ & user guides!) JuPa CFX 10 March 12, 2013 10:02
How to input transient pressure data as BC in pre? User CFX 4 February 6, 2006 02:15
Transient user input table Bart CD-adapco 0 January 10, 2005 02:27


All times are GMT -4. The time now is 22:26.