|
[Sponsors] |
circular cylinder oscillating: don't know how to set the dynamicMeshDict file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2015, 09:32 |
circular cylinder oscillating: don't know how to set the dynamicMeshDict file
|
#1 |
New Member
Join Date: Feb 2014
Location: CHINA
Posts: 1
Rep Power: 0 |
hello,everyone:
I am a beginner for openfoam.Now I am studying circular cylinder oscillating in fluid at rest using pimpleDymFoam. And I want to ask something about the moving mesh problems.I don't know how to set the dynamicMeshDic file. FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // dynamicFvMesh staticFvMesh; dynamicFvMesh multiTopoBodyFvMesh; multiTopoBodyFvMeshCoeffs { body ( frontCyl { movingCells cyl1; layerFaces ( topLayerCyl1 botLayerCyl1 ); solidBodyMotionFunction linearOscillation; linearOscillationCoeffs { amplitude (0 0.01 0); period 4; } minThickness 0.0015; maxThickness 0.004; invertMask true; } /* backCyl { movingCells cyl2; layerFaces ( topLayerCyl2 botLayerCyl2 ); solidBodyMotionFunction linearOscillation; linearOscillationCoeffs { amplitude (0 -0.025 0); period 2; } minThickness 0.0015; maxThickness 0.004; invertMask true; }*/ ); } // ************************************************** *********************** // This is the file I copied in the movingcylinders tutorial. And I want to simulate one cylinder oscillating in fluid at rest.How did I revise this file? Thank you so much for your help! |
|
June 11, 2015, 02:19 |
|
#2 | |
New Member
Chu Yung Jeh
Join Date: Mar 2012
Posts: 7
Rep Power: 14 |
Quote:
Please refer to this thread http://www.cfd-online.com/Forums/ope...amic-mesh.html Thank you. |
||
June 18, 2015, 10:54 |
|
#3 |
Member
Join Date: Feb 2015
Posts: 39
Rep Power: 11 |
Hi John,
I am using a cylindrical shaped part of my mesh around an airfoil that is oscillating with 100Hz between -+5° (sliding mesh). Here is my file ... hence that I have two cylinders moving. However, the structure for a SolidBodyMotion should be more or less the same. Code:
dynamicFvMesh multiSolidBodyMotionFvMesh; multiSolidBodyMotionFvMeshCoeffs { movingZoneLeft { solidBodyMotionFunction oscillatingRotatingMotion; oscillatingRotatingMotionCoeffs { amplitude (0 5 0); omega 628.32; origin (0 .4 -.4); } } movingZoneRight //The name I gave it { solidBodyMotionFunction oscillatingRotatingMotion; oscillatingRotatingMotionCoeffs { amplitude (0 5 0); omega 628.32; origin (0 .4 .4); } } } Last edited by HenningW; July 8, 2015 at 11:31. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X | gschaider | OpenFOAM Installation | 136 | October 10, 2017 18:25 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |