|
[Sponsors] |
Morph mesh given displacement of boundary points |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 5, 2011, 02:12 |
Morph mesh given displacement of boundary points
|
#1 |
Super Moderator
|
Hello
Is there anything in openfoam which allows me to morph the interior mesh, given the displacement of the boundary mesh nodes ? praveen |
|
November 5, 2011, 04:04 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Praveen,
Does this tutorial suit your requirements: "tutorials/mesh/moveDynamicMesh/simpleHarmonicMotion" Best regards, Bruno
__________________
|
|
November 5, 2011, 08:33 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Praveen,
Yes, it is possible to specify the displacement on the point level. This type of boundary condition can be put into two categories: 1. You know the motion by an algebraic equation, hence you loop over every boundary point and specify the displacement (Note: Some solvers use the boundary velocity, thus differentiate your algebraric equation with respect to time and evaluate it). Furthermore, if you are using tet-decomposition (available in 1.6-ext), you specify both the motion on the points and in the centers of the boundary faces. On the boundary, they are ordered as [<points> <face centers>]. 2. You move the mesh based on results from the state of your simulation. Typically you can compute the motion in the face centers, and then you perform an interpolation to the points on the boundary. Again, be aware when you are using displacement or velocity solvers for the mesh motion. With respect to the interpolation methods you can either look through the forum, or so-forth you have 1.6-ext installed, you can see an example of the implementation in the file "freeSurface.C" located somewhere in the "applications/solvers" directory. A final comment: If the boundary you are moving also has a very fine boundary layer resolution, then my experience is that laplaceFaceDecomposition (1.6-ext) is the most robust combined with a very stiff mesh diffusivity next to that boundary. The diffusivity is the term in the following Laplace equation for the velocity of the mesh motion: The diffusivity is specified in the dynamicMeshDict in <rootCase>/constant. Good luck and kind regards, Niels |
|
August 7, 2020, 13:04 |
|
#5 |
Senior Member
|
Is there a type of boundary condition such that I can set the boundary positions directly? I know the boundary coordinates at each time step. I can do that by calculating the displacement or motion velocity but it will be simpler if I can set the coordinates of the boundary points directly.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set boundary layer of a moving body in GAMBIT to a mesh zone for dynamic mesh | tomyangbath | FLUENT | 18 | October 12, 2016 07:57 |
[Technical] 2D foam mesh and internal points | virginie_e | OpenFOAM Meshing & Mesh Conversion | 3 | February 28, 2014 01:05 |
FSI - Specified Mesh Displacement | Vinzent | CFX | 2 | September 17, 2010 08:09 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |