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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 17, 2017, 06:46
Post Dynamic mesh & point displacement (part of an object) HELP
  #1
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 19
Rep Power: 2
Abderahmane is on a distinguished road
Sponsored Links
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
Sponsored Links

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

Old   March 23, 2017, 09:15
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 8
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, 09:16
Default
  #4
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 8
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, 09:17
Default
  #5
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 8
Kojote is on a distinguished road
Hi

Is that what you needed?

Br

Christian
Kojote is offline   Reply With Quote

Old   March 23, 2017, 09:42
Default
  #6
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 19
Rep Power: 2
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, 09:44
Default
  #7
New Member
 
Join Date: Aug 2011
Posts: 29
Rep Power: 8
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, 09:57
Default
  #8
New Member
 
A.MAROUF
Join Date: Dec 2016
Posts: 19
Rep Power: 2
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, 03: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

Thread Tools
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 On
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 28 May 7, 2017 16:01
Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Native Meshers: snappyHexMesh and Others 50 March 7, 2016 03:35
Local mesh refinement definition in a DEFORMING dynamic mesh zone using Dynamic Mesh Emanuele88 FLUENT 0 February 9, 2016 12:39
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 05:14
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11

Sponsored Links


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