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

Dynamic Mesh: solidBody mesh movement + controlled cell deformation

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2020, 09:10
Default
  #41
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 401
Rep Power: 19
quarkz is on a distinguished road
Hi everyone, I read this interesting thread about having different motions with dynamicMesh.

For me, I am trying to simulate a wing with a rotating aileron (grid deformation) and doing a roll motion (entire grid rotates). Is this possible in OF?

I tried many ways and also tried to modify the relativeMotion tutorial. However, it just can't work. Moreover, I tried to use the solver solidBodyDisplacementLaplacian but OF complains that it can't find it. I wonder why.
quarkz is offline   Reply With Quote

Old   December 17, 2020, 01:19
Default interesting toppics
  #42
New Member
 
Steve Fu
Join Date: Dec 2020
Posts: 2
Rep Power: 0
Steve Fu is on a distinguished road
Hello Felix,
I also trying to do such a simulation case, the cylinder rotate and translate in the water domain by using tabulated6DoFMotion.
However, I failed many times.
Could you kindly share your case and ideas to me.
Thank you advanced.
Steve Fu is offline   Reply With Quote

Old   October 31, 2021, 07:16
Default
  #43
New Member
 
dzs
Join Date: Oct 2019
Posts: 5
Rep Power: 6
dntjudme is on a distinguished road
Quote:
Originally Posted by ConorMD View Post
Hi everyone,

I have a similar task where I am using solidBody mesh movement and cell deformation. This time though, my cell deformation is happening within the solidbody. I am using a displacementLaplacian to model deflections on a rotating foil in a flow.

The problem I am having is that the displacementLaplacian is somehow shrinking the cellZone I am rotating to the point that the simulation fails (see image). The sim fails at the same point in time, regardless of the timestep size.

When the displacementLaplacian is disabled, the sim runs fine. So it appears the definition of my solidBody movement is ok. It appears to be in issue when combining the two solvers together.

Can anyone help me with this?
Thanks!

My dynamicMeshDict:
Code:
dynamicFvMesh  dynamicMotionSolverFvMesh;
motionSolverLibs ("libfvMotionSolvers.so");
solvers
(




	Turbine
	{
		motionSolverLibs ("libfvMotionSolvers.so");
		solver solidBody;

		solidBodyCoeffs
		{
   		 	cellZone        rotorVolume;
    			solidBodyMotionFunction  rotatingMotion;
    			rotatingMotionCoeffs
    			{
     			 origin		(0 0 0);
      			 axis		(0 -1 0);
     		 	 omega       5.625;
   			}
		}
	}

	Foil
	{
		motionSolverLibs ("libfvMotionSolvers.so");
		solver displacementLaplacian;
		//cellzone morphZone;
		

		displacementLaplacianCoeffs 
		{

   		diffusivity quadratic inverseDistance (foil1);

		}
	}

);
Hi Conor,

May I ask what version you are using?
I'm using .org version OpenFOAM v7, and it seems the dynamicMeshDict you have is not working on v7 version.

Thanks
Zs
dntjudme is offline   Reply With Quote

Old   July 1, 2022, 07:32
Default Corner node displacement in overPimpleDyMFoam
  #44
Member
 
JunaidAhmad's Avatar
 
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16
JunaidAhmad is on a distinguished road
oversert domain edge node displacement.jpg


Hi,
Assalam O Aliqum,

I am running this freefall with inlet velocity simulation, and it run alright till it crash. I notice that in overset patch which is a cubic domain. the corners of this overset patch start displacing as you can see in fig above. the solid body whcih is wall is fine. Any solutions to this problem.


Stay Safe, Stay Happy
JunaidAhmad is offline   Reply With Quote

Old   July 1, 2022, 07:58
Default Corner node displacement in overPimpleDyMFoam
  #45
Member
 
JunaidAhmad's Avatar
 
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16
JunaidAhmad is on a distinguished road
Found the problem it was the inner and outer distance in dynamicMeshDict.
innerDistance 1e5; it was 0.3
outerDistance 1.1e5; it was 0.4






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

dynamicFvMesh dynamicOversetFvMesh;

motionSolverLibs (sixDoFRigidBodyMotion);

//cellZone oversetZone;

solver sixDoFRigidBodyMotion;

sixDoFRigidBodyMotionCoeffs
{

patches (solidBody);
innerDistance 1e5;
outerDistance 1.1e5;

centreOfMass (0.4 0.4 10.3);
//velocity (1 1 1);
g (0 0 -9.81);
// Cuboid dimensions
Lx 0.1;
Ly 0.1;
Lz 0.1;

// Density of the solid
rhoSolid 7800;
rho rhoInf;
rhoInf 1;

// Cuboid mass
mass #eval{ $rhoSolid*$Lx*$Ly*$Lz };

// Cuboid moment of inertia about the centre of mass
momentOfInertia #codeStream
{
codeInclude
#{
#include "diagTensor.H"
#};

code
#{
scalar sqrLx = sqr($Lx);
scalar sqrLy = sqr($Ly);
scalar sqrLz = sqr($Lz);
os <<
$mass
*diagTensor(sqrLy + sqrLz, sqrLx + sqrLz, sqrLx + sqrLy)/12.0;
#};
};

report on;
accelerationRelaxation 0.9;
accelerationDamping 0.9;

solver
{
type Newmark;
}

// constraints
//{

/*
fixedPoint
{
sixDoFRigidBodyMotionConstraint point;
centreOfRotation (0.5 0.45 0.1);
}
*/

//fixedLine
// {
// sixDoFRigidBodyMotionConstraint line;
// //centreOfRotation (0.5 0.45 0.1);
// direction (0 0 1);
// }

/*
fixedAxis
{
sixDoFRigidBodyMotionConstraint axis;
axis (0 1 0);
}
*/
// }
}

// ************************************************** *********************** //
JunaidAhmad is offline   Reply With Quote

Reply


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
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 15:15
simulation flapper movement with mesh deformation in CFX sakalido CFX 11 January 27, 2014 14:28
Update of the variables after dynamic mesh motion. gtg258f OpenFOAM Programming & Development 9 January 18, 2014 10:08
Dynamic Mesh for Movement of Piston vigii Fluent UDF and Scheme Programming 0 November 18, 2013 06:43
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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