|
[Sponsors] |
May 17, 2013, 17:26 |
Moving mesh problem
|
#1 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Hello,
I have just gone through the OpenFOAM's movingCone tutorial. I can see that, as the object moves to the right side, mesh on the right side is contracting and the mesh on the left side of the object is expanding. Please see the pictures attached (movingCone_initial.png and movingCone_last.png) movingCone_initial.jpg movingCone_last.jpg After that, I tried to apply the same principles to a ship traveling through calm water making a 45 degree angle with the stream. I want to make the ship move 4 times the length of the ship, but my run crashes a little bit after the start. I think that is because the distortion of the mesh. Please see the pictures attached (ship_initial and ship_last) ship_initial.jpg ship_last.jpg Do you know if there is a way to overcome that distortion problem? (Like updating and recreating the mesh in each step) Thank you very much for your help in advance, Kilroy |
|
May 18, 2013, 03:22 |
|
#2 |
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 16 |
Basically you try to use a 2D example and run it in 3D... Well, it is always a mess. Moreover, the example you took uses a structured mesh while you use an unstructured mesh. If I understand well, you want to use the layer add/remove solver ?
For displacement into an unstructured mesh, I usually use the Laplacian solver. But this kind of technique is not very good for large dispalcements. dynamicMeshDict file: Code:
dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ("libfvMotionSolvers.so"); solver displacementLaplacian; displacementLaplacianCoeffs { diffusivity quadratic inverseDistance (wall); } |
|
May 20, 2013, 16:36 |
|
#3 |
Senior Member
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13 |
Frederic,
Thank you very much for your response. Dividing the computational domain into three parts is a very good idea, but I have no experience with that. Do you know any example or tutorial for OpenFOAM, that applies the principles that you have described above? Sincerely, Kilroy |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] How to set up a dynamic mesh for a piston moving through a tube of variable diameter? | karkar | OpenFOAM Meshing & Mesh Conversion | 0 | July 4, 2012 06:54 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |
Moving mesh problem | Jan Majer | Siemens | 2 | June 10, 2003 04:19 |