|
[Sponsors] |
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: 17 |
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, 16:37 |
Controlling motion of tank in tanksloshing problem
|
#2 |
New Member
lostin
Join Date: Jul 2009
Location: India
Posts: 12
Rep Power: 17 |
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: 17 |
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: 17 |
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: 18 |
Hello,
might anybody explain what effects each coefficient has? Cheers in advance! |
|
March 31, 2011, 14:22 |
|
#6 |
New Member
Dave West
Join Date: Mar 2011
Location: US
Posts: 12
Rep Power: 15 |
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, 22:46 |
|
#7 |
New Member
binu kumar
Join Date: Feb 2010
Posts: 5
Rep Power: 16 |
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, 17:24 |
|
#8 | |
Member
Neilson Whit
Join Date: Aug 2011
Posts: 74
Rep Power: 15 |
Quote:
dynamicFvMesh solidBodyMotionFvMesh; solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction oscillatingLinearMotion; oscillatingLinearMotionCoeffs { amplitude (0 0.1 0); omega 5; } } |
||
October 24, 2012, 00:07 |
reply
|
#9 | |
New Member
金恒
Join Date: Oct 2012
Posts: 17
Rep Power: 14 |
Quote:
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
Posts: 74
Rep Power: 15 |
I checked my results with some analytically and fluent. They fits well
|
|
November 8, 2012, 23:55 |
thx for u reply
|
#11 | |
New Member
金恒
Join Date: Oct 2012
Posts: 17
Rep Power: 14 |
Quote:
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, 22:34 |
pure translation of tank in interdymfoam, sloshingtank 2d
|
#12 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
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, 16:53 |
|
#13 |
Member
Muhammad Usman
Join Date: Feb 2014
Posts: 91
Rep Power: 0 |
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, 03:11 |
|
#14 | |
New Member
Mangazou
Join Date: Jan 2016
Posts: 2
Rep Power: 0 |
Quote:
I need some help, how do we set the frequency in Sloshing3DTank? |
||
May 2, 2016, 22:19 |
|
#15 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterDyMFoam dynamic refinement | ala | OpenFOAM Running, Solving & CFD | 12 | September 28, 2016 19:51 |
Bug in interDyMFoam 6DoF | hsieh | OpenFOAM Bugs | 4 | January 26, 2009 08:17 |
Restarting interDyMFoam | hsieh | OpenFOAM Bugs | 4 | January 25, 2009 16:19 |
Problems with interDyMFoam | qinnan | OpenFOAM Running, Solving & CFD | 0 | December 20, 2008 12:56 |
InterDyMFoam tutorial cases | hsieh | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 11:21 |