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

Dynamic mesh & point displacement (part of an object) HELP

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2017, 05:46
Post Dynamic mesh & point displacement (part of an object) HELP
  #1
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 22
Rep Power: 9
Abderahmane is on a distinguished road
Hello everyone, i hope you are OK and in a very good healthy.

Well, i have a question :
i use dynamic mesh & point displacement files to move an object, the idea is that i want to move some part of this object (only a partition of it) how can i do it ?


any answer or response is welcom
Abderahmane is offline   Reply With Quote

Old   March 17, 2017, 08:57
Default
  #2
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 22
Rep Power: 9
Abderahmane is on a distinguished road
does somebody knows how ? please !!
Abderahmane is offline   Reply With Quote

Old   March 23, 2017, 08:15
Default
  #3
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
Kojote is on a distinguished road
For pointDisplacment

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
"(.*)"
{
type fixedValue;
value uniform (0 0 0);
}
"(wall|inlet)"
{
type oscillatingFixedValue;
refValue (0 0 0);
amplitude (0 0.0015 0);
frequency 2;
}
}

// ************************************************** *********************** //
Kojote is offline   Reply With Quote

Old   March 23, 2017, 08:16
Default
  #4
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
Kojote is on a distinguished road
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
solver displacementLaplacian;
diffusivity uniform;
displacementLaplacianCoeffs
{


diffusivity uniform;

//diffusivity directional (1 1e-6 1);

//diffusivity motionDirectional (1 1e-6 1);

// diffusivity file motionDiffusivity;

//diffusivity inverseDistance 1(floatingObjectBottom);

}
}
// ************************************************** *********************** //
Kojote is offline   Reply With Quote

Old   March 23, 2017, 08:17
Default
  #5
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
Kojote is on a distinguished road
Hi

Is that what you needed?

Br

Christian
Kojote is offline   Reply With Quote

Old   March 23, 2017, 08:42
Default
  #6
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 22
Rep Power: 9
Abderahmane is on a distinguished road
Hello,

Thank you for your answer,


if i understand your files, your 'inlet' BC has a motion with a specified amplitude & frequency that's it ?


Well, my problem was not about moving an object. let's take for example a wing or an airfoil and i want to move only the trailing edge like 10 % of the chords in the trailing edge.

The airfoil is fixed but the trailing edge is vibrating did you get my point ?


thanks
Abderahmane is offline   Reply With Quote

Old   March 23, 2017, 08:44
Default
  #7
Member
 
Join Date: Aug 2011
Posts: 37
Rep Power: 14
Kojote is on a distinguished road
Hi,

then do a partition " trailing edge" of what you wanna move and move it only.

Br

Christian
Kojote is offline   Reply With Quote

Old   March 23, 2017, 08:57
Default
  #8
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 22
Rep Power: 9
Abderahmane is on a distinguished road
i had this idea, when i make the mesh i split the geometry, but imagine that when the geometry is splitted it may occur a discontinuity or both of the geomtries ( trailing edge and airfoil ) will be separated no ?
Abderahmane is offline   Reply With Quote

Old   March 24, 2017, 02:27
Default
  #9
New Member
 
Do Quoc Vu
Join Date: Jun 2016
Posts: 2
Rep Power: 0
vkid185 is on a distinguished road
Quote:
Originally Posted by Abderahmane View Post
i had this idea, when i make the mesh i split the geometry, but imagine that when the geometry is splitted it may occur a discontinuity or both of the geomtries ( trailing edge and airfoil ) will be separated no ?
Hi Marouf,

i'm working with a floating ship with rotating propeller and i think your problem is quite similar as in my case.

I also think that splitting the geometry into wing-part and trailingEdge-part is a right way of approaching. I suggest you should try define these 2 parts as a single body in the dynamicMeshDict, after that define informations about the moving of only the trailing edge in point Displacement.
Because my simulation is still crashed after running for several timesteps so this is just my though and i'm not sure if it works with your case.
vkid185 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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
Local mesh refinement definition in a DEFORMING dynamic mesh zone using Dynamic Mesh Emanuele88 FLUENT 0 February 9, 2016 11:39
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 05:14
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 17:21.