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

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

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

Reply
 
LinkBack Thread Tools 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: 10
Rep Power: 6
jinheng is on a distinguished road
Sponsored Links
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
Sponsored Links

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
SR_Rate UDF For a MEMs model timjm Fluent UDF and Scheme Programming 0 February 22, 2013 11:53
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 129 June 19, 2010 09:23
How to define angular acceleration Randre Fluent UDF and Scheme Programming 0 April 20, 2010 13:21
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 0 May 25, 2009 09:39
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24

Sponsored Links


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