|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 334
Rep Power: 6 ![]() |
Dear All,
I have a channel flow. 3 walls (lateral and top) are fixed wall. On the contrary, I would like to make the bottom face moving, according to a certain law that I decide. Let's say that my bottom face has 10 cells, I would like to impose a vector with 100 (x 3) coordinates, each showing the displacement of that cell. Is it possible - in my pointDisplacement file - to have something like: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0.01";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
stationaryWalls
{
type fixedValue;
value uniform (0 0 0);
}
movingBlock
{
type pointDisplacement;
value {
(1 0 0)
(0.4 0 0)
(0.4 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.4 0 0)
(0.4 0 0)
(1 0 0)
}
}
}
Samuele Last edited by samiam1000; Yesterday at 16:23. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 121
Rep Power: 4 ![]() |
Do you want a dynamic mesh morphing ? I mean, does it has to move according to time or you simply want to move it outside of a solver ?
By the way, your file should be: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0.01";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
stationaryWalls
{
type fixedValue;
value uniform (0 0 0);
}
movingWall
{
type fixedValue;
value nonuniform List<vector>
10
(
(1 0 0)
(0.4 0 0)
(0.4 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.4 0 0)
(0.4 0 0)
(1 0 0)
)
;
}
}
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 334
Rep Power: 6 ![]() |
That's great!
Thank you very much! |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to set periodic boundary conditions | Ganesh | FLUENT | 12 | April 10, 2013 00:44 |
| Star CCM Overset Mesh Error (Rotating Turbine) | thezack | CD-adapco | 0 | March 7, 2013 12:42 |
| Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |
| Mesh motion with Translation & Rotation | Doginal | CFX | 0 | August 3, 2011 16:37 |
| 3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 6 | November 2, 2010 21:02 |