InterDyMFoam SDA SKA coefficients

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

 December 18, 2008, 10:56 Hello, I am studying the OF #1 Senior Member   Mark Couwenberg Join Date: Mar 2009 Location: Netherlands Posts: 130 Rep Power: 9 Hello, I am studying the OF 1.5 interDyMFoam tutorials. In the dynamicMeshDict the motion of the body is described by "solidBodyMotionFunction SDA;" I found that SDA stands for Ship Design Analysis and SKA for Sea Keeping Analysis. However, I have some questions regarding the various coefficients. As the tutorials intend to calculate the sloshing motion of a liquid in a tank, it is clear that you have to describe the motion of the solidBody (tank in this case). One important parameter is Tpn (natural period of the ship). But there is also a coefficient called "Tp", natural period of liquid. This surprises me because this sounds like you have to know the natural period of the sloshing liquid. In my understanding this is not an input but an output: one wants to calculate a natural period of a tank-liquid system. Some other parameters I have questions about: - There is min and max roll amplitude. Does this mean that the amplitudes of the solid body are varied between these 2 values? - What exactly happens with the model scale ratio lambda? - What is the purpose of dTp and dTi? Hope that someone can shed a light as this solver and bodymotion class seems very interesting for a lot of applications. Thanks in advance, Mark

 October 23, 2009, 15:37 Controlling motion of tank in tanksloshing problem #2 New Member   lostin Join Date: Jul 2009 Location: India Posts: 12 Rep Power: 9 I am trying to simulate tank sloshing problem in openfoam using interdyfoam solver and I am puzzled about the dynamicmeshdict file. I am not able to figure it out how we are giving the tank motion input? In my case I just need to do some horizontal displacement with a particular constant frequency (no rolling). Can you guide main in this regards? thanks in advance..

 October 28, 2009, 09:22 Solution #3 New Member   lostin Join Date: Jul 2009 Location: India Posts: 12 Rep Power: 9 There is one application in tanksloshing6Dof... named as genDof... I have changed the file according to the need and then compile it by wmake.. and run this by typing file name genDof ... it generates a file named gendof.dat... copy this to constant directory. It is working fi9... thanks markc for the help...

 December 15, 2009, 03:56 #4 New Member   Join Date: May 2009 Posts: 4 Rep Power: 9 I have same questions as markc ... hope someone can give the reference for so-called SDA. And to lostin, it seems you succeed with the gendof.dat file to generate the motions of interest, did you validate the results by comparison with some analytical method or experiments?

 February 12, 2011, 16:19 #5 Senior Member   Claus Meister Join Date: Aug 2009 Location: Wiesbaden, Germany Posts: 241 Rep Power: 10 Hello, might anybody explain what effects each coefficient has? Cheers in advance!

 March 31, 2011, 13:22 #6 New Member   Dave West Join Date: Mar 2011 Location: US Posts: 12 Rep Power: 7 I found this paper: http://www.tfd.chalmers.se/~hani/kur...reeSurface.pdf Which has some equations relating to the SDA constants, but it didn' make it very clear to me.

 April 22, 2011, 21:46 #7 New Member   binu kumar Join Date: Feb 2010 Posts: 5 Rep Power: 8 i have also tried this genDof , its working and .dat extension file is created. but i changed some data and save it . It showing error in dat file while rung the program. How i can use other dat or different format data input file, as i have input tank motion in .xls(excel) format Thanks in advnce

September 16, 2011, 16:24
#8
Member

Neilson Whit
Join Date: Aug 2011
Location: Japan
Posts: 57
Rep Power: 7
Quote:
 Originally Posted by lostin4ever I am trying to simulate tank sloshing problem in openfoam using interdyfoam solver and I am puzzled about the dynamicmeshdict file. I am not able to figure it out how we are giving the tank motion input? In my case I just need to do some horizontal displacement with a particular constant frequency (no rolling). Can you guide main in this regards? thanks in advance..
It is late answer but, you can use this for your problem dynamicMeshDict file. and run using interDyMFoam.

dynamicFvMesh solidBodyMotionFvMesh;

solidBodyMotionFvMeshCoeffs
{
solidBodyMotionFunction oscillatingLinearMotion;
oscillatingLinearMotionCoeffs
{
amplitude (0 0.1 0);
omega 5;
}
}

October 23, 2012, 23:07
#9
New Member

Join Date: Oct 2012
Posts: 5
Rep Power: 5
Quote:
 Originally Posted by wolfindark It is late answer but, you can use this for your problem dynamicMeshDict file. and run using interDyMFoam. dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction oscillatingLinearMotion; oscillatingLinearMotionCoeffs { amplitude (0 0.1 0); omega 5; } }
hello wolfindark,
i have used the oscillatingLinearMotion,just run the model and simulate the y-direction movement.but when i check my output data with the other papar ,it is not match. did you check you result? the omega is radian frequency ?right?
my case is 0.18*1*1m^3 rectangle tank filled 0.5m water and my amplitude is 0.005m,omega is 3.45rad/s which calc with w=sqrt(g*pi/l*tanh(pi*h/l))
thank you~

 November 8, 2012, 22:16 #10 Member   Neilson Whit Join Date: Aug 2011 Location: Japan Posts: 57 Rep Power: 7 I checked my results with some analytically and fluent. They fits well

November 8, 2012, 23:55
#11
New Member

Join Date: Oct 2012
Posts: 5
Rep Power: 5
Quote:
 Originally Posted by wolfindark I checked my results with some analytically and fluent. They fits well

I am so happy to see your reply. I have found my fault. It is my frequency problem, and now it is very well. I have another question :
May I use the SDA to simulate the y-direction movement? just to change the roll and other movement to zero and just keep sway movement. Is that can work well? and did I need to change the dynamic function in SDA.C?

THANKS!

 September 4, 2013, 21:34 pure translation of tank in interdymfoam, sloshingtank 2d #12 Senior Member   musaddeque hossein Join Date: Mar 2009 Posts: 309 Rep Power: 10 Dear members: I would like to eliminate the roll and heave and leave only the sway, so that there is horizontal motion for the tank. However I would like to "hardcode" a simple sine formula into SDA.c to generate the horizontal translation only. Can anyone suggest how I can do this? i.e. find where the source code is and then modify the swayA formula to a simple sinusoidal formula. All the other coefficients will be set to zero. Thanks in advance. Musa

 June 20, 2015, 15:53 #13 Member   Muhammad Usman Join Date: Feb 2014 Posts: 91 Rep Power: 4 I need to find out values of rollA (Roll angle of tank) at every time step in interDyMFoam. i want to write then in a file but first thing is how to bring them in solver. please help. RollA is solved in SDA.C and SDA.H is included in InterDyMFoam.

April 19, 2016, 02:11
#14
New Member

Jackly Muriban
Join Date: Jan 2016
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by jinheng I am so happy to see your reply. I have found my fault. It is my frequency problem, and now it is very well. I have another question : May I use the SDA to simulate the y-direction movement? just to change the roll and other movement to zero and just keep sway movement. Is that can work well? and did I need to change the dynamic function in SDA.C? THANKS!

I need some help, how do we set the frequency in Sloshing3DTank?

 May 2, 2016, 21:19 #15 Senior Member   musaddeque hossein Join Date: Mar 2009 Posts: 309 Rep Power: 10 I think rather than hard code any frequency or sine formula into OpenFoam, write a external code with the sine formula of you choice and modify the interDyMFoam/ras/sloshingtank3D/constant/3Dof.dat file. The external code should format the data as it is shown in the .dat file. Once the file has been generated you can run openfoam.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ala OpenFOAM Running, Solving & CFD 11 July 19, 2016 03:59 hsieh OpenFOAM Bugs 4 January 26, 2009 08:17 hsieh OpenFOAM Bugs 4 January 25, 2009 16:19 qinnan OpenFOAM Running, Solving & CFD 0 December 20, 2008 12:56 hsieh OpenFOAM Running, Solving & CFD 0 November 14, 2008 11:21

All times are GMT -4. The time now is 16:35.