|
[Sponsors] |
dynamic mesh for only walls and top patch of a cylinder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 27, 2017, 05:22 |
dynamic mesh for only walls and top patch of a cylinder
|
#1 |
Member
Ashok
Join Date: Feb 2017
Posts: 31
Rep Power: 9 |
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 |
|
|
|
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 |