CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Mesh Deformation in Axisymmetric Geometry with moveDynamicMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2025, 13:07
Default Mesh Deformation in Axisymmetric Geometry with moveDynamicMesh
  #1
New Member
 
Join Date: Nov 2024
Posts: 2
Rep Power: 0
Arif14 is on a distinguished road
Dear CFD community,

I am trying to implement what seems to be a simple setup. I have an axisymmetric geometry (a section of a cylinder, as shown in the attached image). Inside this geometry, I have a mixture of water and another liquid-like phase, and I am using interIsoFoam for my simulation.
I would like to introduce a pre-conditioned state representing an increase in the diameter of the geometry. My approach was to first run a simulation using the moveDynamicMesh solver, applying a displacement to the top wall to increase the diameter. Then, I intended to save the updated coordinates and field data (velocity, air/liquid ratio, etc.) and use them as the initial condition for a second simulation with my original setup.

However, I have encountered an issue: while the top wall moves as expected, the side mesh does not properly follow the displacement, resulting in a highly distorted mesh (as seen in the attached figure). I searched for similar cases in this forum and OpenFOAM tutorials but could not find a satisfactory example.

Below you will find my dynamicMeshDict and pointDisplacement files. I would greatly appreciate any help or advice regarding my approach!

Thank you so much!

Best regards,

Code:
dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ("libfvMotionSolvers.so");

solver displacementLaplacian;

diffusivity quadratic inverseDistance (topwall);
Code:
dimensions      [0 1 0 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    inlet
    {
        type fixedValue;
        $internalField;
    }
    outlet
    {
        type fixedValue;
        $internalField;
    }
    topwall
    {
        type uniformFixedValue;
        uniformValue constant (0 0.002 0);  // Moves up by 0.002m
    }
    back
    {
        type wedge;
    }
    front
    {
        type wedge;
    }
    defaultFaces
    {
        type empty;
    }
}


// ************************************************************************* //
Attached Images
File Type: jpg Displacement.jpg (73.9 KB, 3 views)
Arif14 is offline   Reply With Quote

Reply

Tags
axisymmetric, movedynamicmesh, pointdisplacement, pre-conditioning

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh stuck when snap is turned on yukuns OpenFOAM Meshing & Mesh Conversion 3 February 2, 2021 13:05
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[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
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09


All times are GMT -4. The time now is 14:08.