|
[Sponsors] |
dynamicFvMesh - tabulated motion of a solid body + mesh morphing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 9, 2017, 12:27 |
dynamicFvMesh - tabulated motion of a solid body + mesh morphing
|
#1 |
New Member
Hendrik
Join Date: Aug 2017
Posts: 2
Rep Power: 0 |
Dear all,
This is my first post - actually in a technical forum ever - so please be a bit forgiving in terms of format. Problem: In OpenFoam 3.0, using interDyMFoam I am trying to apply a tabulated motion (heave and pitch in a 2D simulation) to observe the wave radiation by a solid body. FYI: The motion of the body is known prior to the CFD simulation and for this simplified analysis assumed to be independent of the fluid phase. I assume that the problem can be handled without changing the mesh topology as motions are small and have a mean of 0 (the body stays close to a fix point in the domain and doesn't pitch more than say +- 20deg). Hence I am trying to make use of dynamicFvMesh. What I've tried so far: As a starting point I have transformed the floatingObject tutorial into a 2D case with no constrains in x and z direction. As expected, the result looks like image 1 in the attachment. So far, so good. Now, instead of generating fluid motion and solving the 6 DoF rigid body motion, I would like to prescribe the motion, ideally in tabulated form. The closest I have come to tabulated motion is when using the solidBodyMotionFvMesh with the solidBodyMotionFunction tabulated6DoFMotion. The result is rather useless for what I try to achieve as solidBodyMotionFvMesh doesn't perform any mesh morphing, see image 2 in the attachment. I guess I somehow need a combination of those two. I also looked at the movingCone tutorial. But the velocityComponentLaplacianCoeffs seems to be restricted to a unidirectional motion, so also not quite what I am after. In fact, I looked at most tutorials I could find containing a dynamicMeshDict, without having a breakthrough. Googling, I came across the displacementInterpolation motion solver and was wondering whether this could do the trick for me, but couldn't find any documentation on the required displacementInterpolationCoeffs So bottom line: I am stuck Questions:
Please don't hesitate to ask if the problem is not explained sufficiently. Thanks a lot in advance for your help! Best, Hendrik |
|
August 27, 2017, 03:40 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
As your motion is prescribed, i guess you can use laplacianVelocity or laplacianDisplacement motion, then add your velocity or displacement motion profile at boundary using groovyBC.
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
October 30, 2017, 06:32 |
|
#3 | |
New Member
Hendrik
Join Date: Aug 2017
Posts: 2
Rep Power: 0 |
Quote:
The laplacianDisplacement worked well for me and I could just define the tabulated displacement in boundaryField in pointDisplacement: Code:
floatingObject { type solidBodyMotionDisplacement; solidBodyMotionFunction tabulated6DoFMotion; tabulated6DoFMotionCoeffs { CofG (0 0 0); timeDataFileName "$FOAM_CASE/constant/tables/motionData.dat"; } } Now I was wondering if I could define say a circle around the floatingObject and prescribe 0 as pointDisplacement BC, so that the mesh does only deform inside this circle but not in the rest of the domain. This leaves me with the problem of how to define a patch where I prescribe a BC for only one of the fields, while the others (U, alpha.water, etc.) are calculated. Is this possible? I guess I will also try to dive into the sixDoFRigidBodyMotion code to get a better understanding of how they handle the mesh deformation. Thanks again for your help! It allowed me to produce some initial results! Best |
||
December 3, 2019, 03:05 |
|
#4 |
New Member
Daniel Duque
Join Date: Jan 2011
Location: ETSIN, Madrid
Posts: 28
Rep Power: 15 |
Hi,
I am currently working in something similar. I have also tried to modify the floatingObject tutorial in order to set a prescribed motion. However, even if the mesh does distort in a way that seems satisfying, the resulting fluid motion is not convincing at all. I am attaching the case, but the main issue is that the fluid velocity does not seem to "stick" to the moving box. As if there were no viscosity. Very noticeable in the free surface, which hardly moves at all, when one would expect some wave generation. This was tested in OF 7.0. I am currently also trying the overset method included in the OpenFoam-v18 and -v19 series. Last edited by dduque; December 3, 2019 at 03:06. Reason: attachment |
|
Tags |
dynamic mesh, solid body, tabulated motion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[Workbench] how to define fluid volume even if mesh is produced on solid body? | viralnagar5692 | ANSYS Meshing & Geometry | 1 | January 12, 2015 07:08 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |
Update of the variables after dynamic mesh motion. | gtg258f | OpenFOAM Programming & Development | 9 | January 18, 2014 11:08 |
Fixed mesh method for rigid body motion | philippose | OpenFOAM | 1 | January 12, 2009 05:57 |