|
[Sponsors] |
what is the difference between sloshingTank3D and sloshingTank3D3DoF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 9, 2015, 18:18 |
what is the difference between sloshingTank3D and sloshingTank3D3DoF?
|
#1 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Can anyone tell me what the difference between sloshingTank3D and sloshingTank3D3DoF is? Does the "3DoF" mean movement in the principal x,y and z directions? If that is the case, the what does sloshingTank3D do?
Thankyou Musa |
|
February 10, 2015, 11:30 |
|
#2 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Bruno:
I have question. To your knowledge, what is the difference between solshingTank3D and solshingTank3D3DoF? Both are in the interDyMFOAM solver. I cannot find documentation for either one. I would suspect that sloshingTank3D permits you to model a tank in 3 dimension, but has 2 degrees of freedom - much like sloshingTank2D. On the other hand, sloshingTank3D3DoF permits one to model a 3D tank and computes displacement along 3 principal axes. Is that a correct assumption? I look forward to your response. Thanks Musa |
|
February 10, 2015, 15:32 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Musaddeque,
I've moved your first post to here to the OpenFOAM forum and the second post from this thread: http://www.cfd-online.com/Forums/ope...ntroldict.html AFAIK, there is no detailed documentation about these tutorials. But they should be self-explanatory. You can easily compare the tutorial cases by running: Code:
cd $FOAM_TUTORIALS/multiphase/interDyMFoam/ras diff -Nur sloshingTank2D sloshingTank2D3DoF diff -Nur sloshingTank2D sloshingTank3D diff -Nur sloshingTank3D sloshingTank3D3DoF diff -Nur sloshingTank3D3DoF sloshingTank3D6DoF
As for the cases 3DoF vs 6DoF, the main difference between the two is the use of "SDA" vs "tabulated6DoFMotion". The curious detail is that the 6DoF used in the past the "SKA" which was replaced by "tabulated6DoFMotion" in OpenFOAM 2.0: http://www.openfoam.org/mantisbt/view.php?id=325 Best regards, Bruno
__________________
|
|
February 10, 2015, 15:40 |
|
#4 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
Musa |
||
February 10, 2015, 16:51 |
|
#5 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
I wrote this:
Quote:
Code:
diff -Nur sloshingTank3D/constant/dynamicMeshDict sloshingTank3D3DoF/constant/dynamicMeshDict --- sloshingTank3D/constant/dynamicMeshDict 2014-08-14 16:43:10.573409120 +0100 +++ sloshingTank3D3DoF/constant/dynamicMeshDict 2014-08-14 16:43:10.673409123 +0100 @@ -24,14 +24,14 @@ { CofG ( 0 0 0 ); lamda 50; - rollAmax 0.22654; - rollAmin 0.10472; - heaveA 3.79; - swayA 2.34; + rollAmax 0.2; + rollAmin 0.1; + heaveA 4; + swayA 2.4; Q 2; - Tp 13.93; - Tpn 11.93; - dTi 0.059; + Tp 14; + Tpn 12; + dTi 0.06; dTp -0.001; } } Code:
diff -Nur sloshingTank3D/system/controlDict sloshingTank3D3DoF/system/controlDict --- sloshingTank3D/system/controlDict 2014-08-14 16:43:10.565409119 +0100 +++ sloshingTank3D3DoF/system/controlDict 2014-08-14 16:43:10.665409123 +0100 @@ -25,7 +25,7 @@ endTime 40; -deltaT 0.05; +deltaT 0.01; writeControl adjustableRunTime; The sloshingTank3D is also a 3DoF case. I believe your difficulty here is that you have not yet studied what SDA is exactly: https://github.com/OpenFOAM/OpenFOAM...ions/SDA/SDA.H Quote:
The 6DoF is a general implementation that allows for any degrees of freedom, including restraining 5 of those degrees if necessary! |
|||
February 10, 2015, 17:28 |
|
#6 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Bruno:
Thanks again for your response. I did study SDA as well as the SKA codes that seems to be a part of the 3D3dof and 6d6dof cases. Out of curiosity I put the equations in a spreadsheet to see what the SDA actually does. However, I am not going to use SDA, but give discrete displacement to the tank in 3D which I have done with success in the 2D case, in the form of back and forth horizontal motion, where the total motion will be at the most 10 cm. I ran both the cases, but could not tell whether both these cases sloshingtank3d and sloshingtank3dof would support 3 degrees of freedom or not. I cannot tell. From your response it appears that 3d would be good for translation in one direction, whereas 3d3dof would be suitable for translation in three direction. Translation being defined in my case as pure horizontal motion without any rotation about any of the axes. I hope that makes sense. ------------- Also, may I suggest that the sloshing tank cases in 2d and 3d be eliminated in favor of the 6dof one, since one can turn of the motion or axes one does not need. Even 2d is solving a restricted 3d case. Just a suggestion. Last edited by wyldckat; February 11, 2015 at 16:04. Reason: remove oversized quote and merged posts that were a few minutes apart |
|
February 11, 2015, 16:14 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Please do keep in mind that just because it's a bit confusing for you and because these cases might seem redundant, it's actually an extremely important lesson that is taught with these 4 very similar cases! It shows that the smallest detail can result in having to make several adjustments in the right places, in order to still achieve correct results! |
||
February 11, 2015, 16:52 |
|
#8 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
|
||
February 14, 2015, 12:10 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Well... I don't agree with your point of view on this, although I do understand the need to keep things simple... problem is that "keeping things simple" is not always the best approach.
Anyway, if you feel strong about this, feel free to report this on the official bug tracker for OpenFOAM: http://www.openfoam.org/bugs/ - the people on the official development team are the ones who have power to get that changed. I'm only a user part of the community that uses OpenFOAM technology. |
|
February 14, 2015, 21:18 |
|
#10 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
|
||
February 22, 2015, 13:22 |
difference between sloshingtand2d and 3d
|
#11 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
As I compare sloshingtank2d and 3d, I noted that in the blockMeshDict, in sloshingtank2d, the front and back patches are described as empty. In the 3d, it is not. is this what differentiates between the 2d and 3d?. If that is the case, can I edit the blockMeshDict in 2d so that the front and back are not empty and run it as a 3d case?
|
|
February 22, 2015, 13:27 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: OpenFOAM User Guide, sub-section "2.1.1.1 Mesh generation": http://www.openfoam.org/docs/user/cavity.php
|
|
February 22, 2015, 13:51 |
|
#13 |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
I thought so!. So essentially, all these variations 2d,3d, 3dof,3d6dof, are one and the same with necessary adjustments to turn of DOF's that are not needed.
|
|
February 23, 2015, 08:58 |
wall vs patch
|
#14 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
Thankyou. |
||
February 23, 2015, 15:54 |
sloshingTank2D does not give meaningful results
|
#15 | |
Senior Member
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18 |
Quote:
================================================== == Iteration number 12 Time Count 0.2400 Acceleration -0.9961646 Story Force (kg) Inertia Force (kg) Adjusted Force (kg): -0.39846584E+01 -0.62075402E+04 -0.62115249E+04 Transformed force vector is as follows 0.30908440E+04 -0.30405180E+03 DOF Structure displacement (m), velocity (m/sec), acceleration (m/sec^2) 2 -.90003217E+000 -.29679854E+002 -.61926779E+003 OpenFoam analysis start time(seconds), end time(seconds), starting displacement(m), end displacement(m) 0.24000000E+000 0.26000000E+000 0.44445424E+000 -.90003217E+000 Inertia force from TLD0.95264404E+005kg OpenFoamstart_displacement 0.44445423667291778 OpenFoamend_displacement -0.90003216825813903 ================================================== == The image of the tank flying of into space is attached. Can anyone help? Is some setting possibly wrong somewhere? |
||
February 28, 2015, 15:10 |
|
#16 | |||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings musahossein,
Quote:
Quote:
This to say that you're probably trying to do something that you do not have yet the skills to do, because you're jumping directly into the final simulation you want to do. If you were using "commercial" CFD software, you probably would have already solved this problem. Since you're using OpenFOAM... well, you're jumping to a pool for which you don't know the depth, therefore you should first go to the pool and check/measure how deep it is. In other words: http://openfoamwiki.net/index.php/Tu...#State_of_Mind Quote:
Quote:
Quote:
In addition: OpenFOAM can answer small questions very easily. Here on the forum the same does not apply, i.e. people don't have enough time to answer everyone. Good luck! Best regards, Bruno
__________________
|
||||||
December 21, 2015, 09:53 |
seakeeping
|
#17 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
After the research of the resistance of the windship. I want to study the seakeeping motions of the ship . With witch tutorial is the beste way to start?
|
|
January 1, 2016, 07:51 |
hull in sloshing tank
|
#19 |
Member
Ron de Vos
Join Date: Jun 2015
Posts: 30
Rep Power: 11 |
I want to ask how I get a hull (stl) in a sloshing tank?
Ron |
|
January 1, 2016, 08:05 |
|
#20 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Please check the following tutorials for ideas:
|
|
|
|