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

How should I define a acceleration-terms.dat in FvOptions-tabulatedAccelerationSource

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By peyman.davvalo.khongar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2016, 05:17
Default How should I define a acceleration-terms.dat in FvOptions-tabulatedAccelerationSource
  #1
New Member
 
金恒
Join Date: Oct 2012
Posts: 17
Rep Power: 13
jinheng is on a distinguished road
hi everyone, I want to define a time-change acceleration in sloshing movement. And maybe Fvoptions is a good way. Similar with tanksloshing3D6dof case in interDyMFoam. I want to define a acceleration term in non-inertial reference frame in interFoam. But I can not read the acceleration-term.dat using Fvoptions due to the formate of file.
So my question is :
1、Is there anywhere tell the formate of tabulatedaccelerationsource.
2、otherthan fvoptions, is there any good method to achieve non-inertial reference frame in interFoam. (I have try to added a "acc" just in the Uequ ,but the alpha.water does not change with "acc")

thanks very much for any advises or help.
Usage
Example usage:
\verbatim
SBM
{
type tabulatedAccelerationSource;
active yes;

tabulatedAccelerationSourceCoeffs
{
timeDataFileName "constant/acceleration-terms.dat";
}
}
\endverbatim



And I have attempted this thread in CFD-ONLINE(Time varying velocity inlet boundary conditions using TableFile.H). I use the same format of the tablefile. But it still give me the same errors:
1、Expected a '(' while reading Tuple2, found on line 2 the label 0
2、wrong token type - expected Scalar, found on line 2 the punctuation token '('


heng Jin
OUC
jinheng is offline   Reply With Quote

Old   May 16, 2018, 06:14
Default
  #2
New Member
 
Dr. Peyman Davvalo Khongar
Join Date: Mar 2018
Location: Helsinki (Finland)
Posts: 16
Rep Power: 8
peyman.davvalo.khongar is on a distinguished road
Moi!

Check this:


https://github.com/OpenFOAM/OpenFOAM...5900ea5eb546af

Moikka,

Peyman
Luttappy likes this.

Last edited by peyman.davvalo.khongar; May 28, 2018 at 03:02.
peyman.davvalo.khongar is offline   Reply With Quote

Old   January 21, 2020, 12:20
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
For future ref: tabulatedAcceleration
HPE is offline   Reply With Quote

Reply


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
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 21:13
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 1 October 10, 2018 02:16
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
How to define angular acceleration Randre Fluent UDF and Scheme Programming 0 April 20, 2010 13:21
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 07:30.