CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Combining solidbody motion+ deforming mesh in the new OpenFOAM v11

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2023, 23:37
Default Combining solidbody motion+ deforming mesh in the new OpenFOAM v11
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 420
Rep Power: 20
quarkz is on a distinguished road
Hi,

I need to combine solidbody motion+ deforming mesh in the new OpenFOAM v11. OpenFOAM ESI can already do it but I need to use AMI and it has some problems.

Hence, I would like to try the new OF v11 which has a new dynamicMesh and NCC capability.

Either one works well but when I combine them, the mesh gets distorted.

FYI, I'm simulating a 2D airfoil which plunges up/down (solid motion) and the flap rotates up/down (deformation). The dynamicMeshDict is:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

mover
{
    type            motionSolver;

    libs            ("libfvMeshMovers.so" "libfvMotionSolvers.so" "librigidBodyMeshMotion.so");
	
	motionSolver    motionSolverList;
	
	solvers
    {
        linear
        {
            motionSolver    solidBody;

            //select          all;
			cellZone	AirfoilZone;

            solidBodyMotionFunction  oscillatingLinearMotion;

            amplitude     (0 0.5 0);
            omega         6.24;

            //rpm           60;
        }
		
		flap_rotate
        {
            motionSolver    displacementLaplacian;

            //select          all;
			cellZone	AirfoilZone;			

            diffusivity  quadratic inverseDistance 1(flap_wall);
			
        }

        
    };
	
}
and the pointDisplacement file is:

Code:
FoamFile
{
    version     2.0;
    format      binary;
    class       pointVectorField;
    arch        "LSB;label=32;scalar=64";
    location    "0";
    object      pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 0 0 0 0 0];


internalField   uniform (0 0 0);

boundaryField
{
    airfoil_wall
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    flap_wall
    {
        type            angularOscillatingDisplacement;
        value           uniform ( 0 0 0 );
        axis            ( 0 0 1 );
        origin          ( 1.02 0 0.02 );
        angle0          0;
        amplitude       0.358;
        omega           6.28;
    }
    inlet
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    outlet
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    BaseAndTop
    {
        type            empty;
    }
}
I wonder if it is possible at all although it's mentioned that it's possible to combine them together.
quarkz is offline   Reply With Quote

Reply

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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Wankel rotor Deforming mesh and motion UDF_Help please Catthan FLUENT 1 August 3, 2011 09:04
Automatic Mesh Motion solver michele OpenFOAM Running, Solving & CFD 10 September 26, 2005 09:21


All times are GMT -4. The time now is 00:05.