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

dynamic mesh for only walls and top patch of a cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2017, 05:22
Default dynamic mesh for only walls and top patch of a cylinder
  #1
Member
 
Ashok
Join Date: Feb 2017
Posts: 31
Rep Power: 9
ashokmoravaneni is on a distinguished road
Good Morning,

I am failing to apply dynamic mesh to only few patches of a cylinder(only toppatch and side walls). Actually my model has a cylinder of 1.0m high and 0.126m dia. Using setfields initialized a fluid untill 0.5m of cylinder. It means the fluid rests on bottomwall and is upto half of cylinder.

Now i wanna move only the sidewalls and top patch of cylinder downwards keeping bottom wall on which fluid rests stable without movement with some veocity and measure pressures at bottom wall. How can i implement dynamic mesh only to top patch and cylinder walls. I have already done it top patch is moving but cylinderwalls are not moving down.

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

dynamicFvMesh dynamicMotionSolverFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solver velocityComponentLaplacian;

velocityComponentLaplacianCoeffs
{
patches (movingWall atmosphere);
component y;
diffusivity directional (0 -1 0);
}
.................................................. .................................................. ..............
.................................................. .................................................. ...............
FoamFile
{
version 2.0;
format ascii;
class pointScalarField;
object pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform 0;

boundaryField
{
movingWall
{
type uniformFixedValue;
uniformValue constant -0.667;
}

atmosphere
{
type uniformFixedValue;
uniformValue constant -0.667;
}
bottomWall
{
type uniformFixedValue;
uniformValue constant 0;
}

}
.................................................. .................................................. ..................
.................................................. .................................................. .................
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
movingWall
{
type movingWallVelocity;
value uniform (0 -0.667 0);
}

atmosphere
{
type movingWallVelocity;
value uniform (0 -0.667 0);
}

bottomWall
{
type fixedValue;
//gradient 0;
value uniform (0 0 0);
}

}
.................................................. ...........................................

Please offer me any useful tips which are highly appreciated.Thanks in advance
Attached Images
File Type: png movingCylinder.png (12.9 KB, 16 views)
ashokmoravaneni 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
FLow past cylinder. Mesh independency test beattacz FLUENT 6 April 26, 2020 16:44
[snappyHexMesh] Using snappyHexMesh to create a multi-region mesh for a whole building lramutti OpenFOAM Meshing & Mesh Conversion 19 July 23, 2019 19:39
[blockMesh] Mixer mesh - negative volume problem jadtwo OpenFOAM Meshing & Mesh Conversion 2 November 6, 2014 17:37
[blockMesh] Cylinder mesh help to fix it guilherme OpenFOAM Meshing & Mesh Conversion 2 December 6, 2010 11:44
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 10:29


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