|
[Sponsors] | |||||
movingCone case with a rotation instead of a translation |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 20 ![]() |
Dear All,
I am facing a movingMesh problem with OpenFOAM. My case is very similar to the movingCone tutorial, but in my case I have a door which is opening (hence rotating) instead of translating. I can perfrom a `door translation' using my mesh, but that's not what I need. I guess that the files that I need to modify are the che pointMotionUx and the dynamicMeshDict. Here are the 2 files: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointScalarField;
object pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
wall-part-solid
{
type fixedValue;
value uniform 0;
}
inlet
{
type fixedValue;
value uniform 0;
}
intake
{
type fixedValue;
value uniform 0;
}
room_inlet
{
type fixedValue;
value uniform 0;
}
room_outlet
{
type fixedValue;
value uniform 0;
}
symmetry
{
type symmetryPlane;
}
door
{
type fixedValue;
value uniform 10;
}
}
// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicMotionSolverFvMesh;
motionSolverLibs ( "libfvMotionSolvers.so" );
solver velocityComponentLaplacian x;
diffusivity directional ( 1 200 0 );
// ************************************************************************* //
Thanks a lot, samuele |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
| Error reading new case | montag dp | FLUENT | 5 | September 15, 2011 07:00 |
| Wind driven rotation | Alistair | OpenFOAM | 15 | August 30, 2011 01:18 |
| Instable natural convection case | Peter88 | OpenFOAM | 5 | August 18, 2011 02:23 |
| Axisymmetric Case with No Physical Boundary for Rotation | kamkari | OpenFOAM | 0 | December 24, 2010 05:41 |